Interface CfnLaunchTemplate.HibernationOptionsProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnLaunchTemplate.HibernationOptionsProperty.Jsii$Proxy
- Enclosing class:
CfnLaunchTemplate
@Stability(Stable)
public static interface CfnLaunchTemplate.HibernationOptionsProperty
extends software.amazon.jsii.JsiiSerializable
Specifies 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 Instance in the Amazon EC2 User Guide .
HibernationOptions is a property of AWS::EC2::LaunchTemplate LaunchTemplateData .
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.ec2.*;
HibernationOptionsProperty hibernationOptionsProperty = HibernationOptionsProperty.builder()
.configured(false)
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnLaunchTemplate.HibernationOptionsPropertystatic final classAn implementation forCfnLaunchTemplate.HibernationOptionsProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getConfigured
If you set this parameter totrue, the instance is enabled for hibernation.Default:
falseReturns union: either
BooleanorIResolvable- See Also:
-
builder
-