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

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 AddOnRequest data as a 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.

Instance Attribute Summary collapse

Instance Attribute Details

#add_on_typeString

The add-on type.

Returns:

  • (String)


134
135
136
137
138
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 134

class AddOnRequest < Struct.new(
  :add_on_type,
  :auto_snapshot_add_on_request)
  include Aws::Structure
end

#auto_snapshot_add_on_requestTypes::AutoSnapshotAddOnRequest

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



134
135
136
137
138
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 134

class AddOnRequest < Struct.new(
  :add_on_type,
  :auto_snapshot_add_on_request)
  include Aws::Structure
end