interface HibernationOptionsProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.EC2.Mixins.CfnLaunchTemplatePropsMixin.HibernationOptionsProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsec2/mixins#CfnLaunchTemplatePropsMixin_HibernationOptionsProperty |
Java | software.amazon.awscdk.mixins.preview.services.ec2.mixins.CfnLaunchTemplatePropsMixin.HibernationOptionsProperty |
Python | aws_cdk.mixins_preview.aws_ec2.mixins.CfnLaunchTemplatePropsMixin.HibernationOptionsProperty |
TypeScript | @aws-cdk/mixins-preview » aws_ec2 » mixins » CfnLaunchTemplatePropsMixin » 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 { mixins as ec2_mixins } from '@aws-cdk/mixins-preview/aws-ec2';
const hibernationOptionsProperty: ec2_mixins.CfnLaunchTemplatePropsMixin.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

.NET
Go
Java
Python
TypeScript