public static interface CfnLaunchTemplate.HibernationOptionsProperty
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();
Modifier and Type | Interface and Description |
---|---|
static class |
CfnLaunchTemplate.HibernationOptionsProperty.Builder
A builder for
CfnLaunchTemplate.HibernationOptionsProperty |
static class |
CfnLaunchTemplate.HibernationOptionsProperty.Jsii$Proxy
An implementation for
CfnLaunchTemplate.HibernationOptionsProperty |
Modifier and Type | Method and Description |
---|---|
static CfnLaunchTemplate.HibernationOptionsProperty.Builder |
builder() |
default java.lang.Object |
getConfigured()
If you set this parameter to `true` , the instance is enabled for hibernation.
|
default java.lang.Object getConfigured()
Default: false
static CfnLaunchTemplate.HibernationOptionsProperty.Builder builder()