InstanceAttributeUpdates
Describes the attributes to update on a Lightsail instance when it starts.
Contents
- bundleId
-
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, specifyautoto update an instance that runs onsmall_2_0tosmall_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_0to update an instance that runs onsmall_2_0tosmall_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_0to return an instance that runs onsmall_3_0tosmall_2_0.
Note
The instance must be in the
stoppedstate to update its bundle.There is no additional cost to update an instance to a newer-generation bundle.
Type: String
Pattern:
.*\S.*Required: No
-
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: