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

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

Overview

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.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#add_on_typeString

The add-on type.

Returns:

  • (String)


428
429
430
431
432
433
434
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 428

class AddOnRequest < Struct.new(
  :add_on_type,
  :auto_snapshot_add_on_request,
  :stop_instance_on_idle_request)
  SENSITIVE = []
  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.



428
429
430
431
432
433
434
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 428

class AddOnRequest < Struct.new(
  :add_on_type,
  :auto_snapshot_add_on_request,
  :stop_instance_on_idle_request)
  SENSITIVE = []
  include Aws::Structure
end

#stop_instance_on_idle_requestTypes::StopInstanceOnIdleRequest

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

This object only applies to Lightsail for Research resources.



428
429
430
431
432
433
434
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 428

class AddOnRequest < Struct.new(
  :add_on_type,
  :auto_snapshot_add_on_request,
  :stop_instance_on_idle_request)
  SENSITIVE = []
  include Aws::Structure
end