AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::Lightsail::Types::AddOnRequest

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing AddOnRequest as input to an Aws::Client method, you can use a vanilla Hash:

{
  add_on_type: "AutoSnapshot", # required, accepts AutoSnapshot
  auto_snapshot_add_on_request: {
    snapshot_time_of_day: "TimeOfDay",
  },
}

Describes a request to enable, modify, or disable an add-on for an Amazon Lightsail resource.

An additional cost may be associated with enabling add-ons. For more information, see the Lightsail pricing page.

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#add_on_typeString

The add-on type.

Possible values:

  • AutoSnapshot

Returns:

  • (String)

    The add-on type.

#auto_snapshot_add_on_requestTypes::AutoSnapshotAddOnRequest

An object that represents additional parameters when enabling or modifying the automatic snapshot add-on.

Returns: