aws-cdk-lib.aws_ec2.CfnInstance.HibernationOptionsProperty

interface HibernationOptionsProperty

LanguageType name
.NETAmazon.CDK.AWS.EC2.CfnInstance.HibernationOptionsProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsec2#CfnInstance_HibernationOptionsProperty
Javasoftware.amazon.awscdk.services.ec2.CfnInstance.HibernationOptionsProperty
Pythonaws_cdk.aws_ec2.CfnInstance.HibernationOptionsProperty
TypeScript aws-cdk-lib » 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 { aws_ec2 as ec2 } from 'aws-cdk-lib';
const hibernationOptionsProperty: ec2.CfnInstance.HibernationOptionsProperty = {
  configured: false,
};

Properties

NameTypeDescription
configured?boolean | IResolvableSet to true to enable your instance for hibernation.

configured?

Type: boolean | IResolvable (optional)

Set to true to enable your instance for hibernation.

Default: false