interface HibernationOptionsProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.EC2.CfnInstance.HibernationOptionsProperty |
Java | software.amazon.awscdk.services.ec2.CfnInstance.HibernationOptionsProperty |
Python | aws_cdk.aws_ec2.CfnInstance.HibernationOptionsProperty |
TypeScript | @aws-cdk/aws-ec2 » CfnInstance » HibernationOptionsProperty |
Specifies the hibernation options for the instance.
HibernationOptions is a property of the AWS::EC2::Instance resource.
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.CfnInstance.HibernationOptionsProperty = {
configured: false,
};
Properties
| Name | Type | Description |
|---|---|---|
| configured? | boolean | IResolvable | If you set this parameter to true , your instance is enabled for hibernation. |
configured?
Type:
boolean | IResolvable
(optional)
If you set this parameter to true , your instance is enabled for hibernation.
Default: false

.NET
Java
Python
TypeScript