Class: Aws::Lightsail::Types::EnableAddOnRequest

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb

Overview

Note:

When making an API call, you may pass EnableAddOnRequest data as a 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",
    },
  },
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#add_on_requestTypes::AddOnRequest

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

Returns:



4862
4863
4864
4865
4866
4867
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 4862

class EnableAddOnRequest < Struct.new(
  :resource_name,
  :add_on_request)
  SENSITIVE = []
  include Aws::Structure
end

#resource_nameString

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

Returns:

  • (String)


4862
4863
4864
4865
4866
4867
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 4862

class EnableAddOnRequest < Struct.new(
  :resource_name,
  :add_on_request)
  SENSITIVE = []
  include Aws::Structure
end