/AWS1/CL_EC2HIBERNATIONOPTSREQ¶
Indicates whether your instance is configured for hibernation. This parameter is valid only if the instance meets the hibernation prerequisites. For more information, see Hibernate your Amazon EC2 instance in the Amazon EC2 User Guide.
CONSTRUCTOR¶
IMPORTING¶
Optional arguments:¶
iv_configured TYPE /AWS1/EC2BOOLEAN /AWS1/EC2BOOLEAN¶
Set to
trueto enable your instance for hibernation.For Spot Instances, if you set
Configuredtotrue, either omit theInstanceInterruptionBehaviorparameter (forSpotMarketOptions), or set it tohibernate. WhenConfiguredis true:
If you omit
InstanceInterruptionBehavior, it defaults tohibernate.If you set
InstanceInterruptionBehaviorto a value other thanhibernate, you'll get an error.Default:
false
Queryable Attributes¶
Configured¶
Set to
trueto enable your instance for hibernation.For Spot Instances, if you set
Configuredtotrue, either omit theInstanceInterruptionBehaviorparameter (forSpotMarketOptions), or set it tohibernate. WhenConfiguredis true:
If you omit
InstanceInterruptionBehavior, it defaults tohibernate.If you set
InstanceInterruptionBehaviorto a value other thanhibernate, you'll get an error.Default:
false
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_CONFIGURED() |
Getter for CONFIGURED, with configurable default |
ASK_CONFIGURED() |
Getter for CONFIGURED w/ exceptions if field has no value |
HAS_CONFIGURED() |
Determine if CONFIGURED has a value |