interface HibernationOptionsProperty
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.EC2.CfnLaunchTemplate.HibernationOptionsProperty |
![]() | software.amazon.awscdk.services.ec2.CfnLaunchTemplate.HibernationOptionsProperty |
![]() | aws_cdk.aws_ec2.CfnLaunchTemplate.HibernationOptionsProperty |
![]() | @aws-cdk/aws-ec2 » CfnLaunchTemplate » HibernationOptionsProperty |
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 * as ec2 from '@aws-cdk/aws-ec2';
const hibernationOptionsProperty: ec2.CfnLaunchTemplate.HibernationOptionsProperty = {
configured: false,
};
Properties
Name | Type | Description |
---|---|---|
configured? | boolean | IResolvable | If you set this parameter to true , the instance is enabled for hibernation. |
configured?
Type:
boolean |
IResolvable
(optional)
If you set this parameter to true
, the instance is enabled for hibernation.
Default: false