Show / Hide Table of Contents

Interface CfnInstance.IHibernationOptionsProperty

Specifies the hibernation options for the instance.

Namespace: Amazon.CDK.AWS.EC2
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface CfnInstance.IHibernationOptionsProperty
Syntax (vb)
Public Interface CfnInstance.IHibernationOptionsProperty
Remarks

HibernationOptions is a property of the AWS::EC2::Instance resource.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-instance-hibernationoptions.html

ExampleMetadata: fixture=_generated

Examples
// The code below shows an example of how to instantiate this type.
             // The values are placeholders you should change.
             using Amazon.CDK.AWS.EC2;

             var hibernationOptionsProperty = new HibernationOptionsProperty {
                 Configured = false
             };

Synopsis

Properties

Configured

Set to true to enable your instance for hibernation.

Properties

Configured

Set to true to enable your instance for hibernation.

object? Configured { get; }
Property Value

object

Remarks

For Spot Instances, if you set Configured to true , either omit the InstanceInterruptionBehavior parameter (for SpotMarketOptions ), or set it to hibernate . When Configured is true:

    Default: false

    Default: - false

    See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-instance-hibernationoptions.html#cfn-ec2-instance-hibernationoptions-configured

    Type union: either bool or IResolvable

    Back to top Generated by DocFX