Class: Aws::Lightsail::Types::InstanceAttributeUpdates

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

Overview

Describes the attributes to update on a Lightsail instance when it starts.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#bundle_id ⇒ String

The ID of the bundle to update the instance to.

Specify one of the following values for the bundle ID:

  • auto – Updates an instance that runs on a previous-generation bundle to the newer-generation equivalent of that bundle. For example, specify auto to update an instance that runs on small_2_0 to small_3_0.

  • Newer-generation bundle ID – Updates an instance that runs on a previous-generation bundle to the specified bundle. For example, specify small_3_0 to update an instance that runs on small_2_0 to small_3_0.

  • Original bundle ID – Updates an instance to the previous-generation bundle that it ran on before an earlier update. For example, specify small_2_0 to return an instance that runs on small_3_0 to small_2_0.

The instance must be in the stopped state to update its bundle.

There is no additional cost to update an instance to a newer-generation bundle.

Returns:

  • (String)


10537
10538
10539
10540
10541
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 10537

class InstanceAttributeUpdates < Struct.new(
  :bundle_id)
  SENSITIVE = []
  include Aws::Structure
end