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::EnableAddOnRequest

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

Overview

Note:

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

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

Instance Attribute Summary collapse

Instance Attribute Details

#add_on_requestTypes::AddOnRequest

An array of strings representing the add-on to enable or modify.

Returns:

#resource_nameString

The name of the source resource for which to enable or modify the add-on.

Returns:

  • (String)

    The name of the source resource for which to enable or modify the add-on.