HibernationOptionsRequest
¶
Used by
-
AsyncEC2Client Operationsrun_instances -
EC2Client Operationsrun_instances
Source code in docs_src/capo_ec2/types/hibernation_options_request.py
configured
instance-attribute
¶
configured: NotRequired[Boolean]
Set to true to enable your instance for hibernation.
For Spot Instances, if you set Configured to true, either omit the InstanceInterruptionBehavior parameter (for SpotMarketOptions ), or set it to hibernate. When Configured is true:
-
If you omit
InstanceInterruptionBehavior, it defaults tohibernate. -
If you set
InstanceInterruptionBehaviorto a value other thanhibernate, you'll get an error.
Default: false