Class CfnLaunchTemplate.HibernationOptionsProperty
Specifies whether your instance is configured for hibernation.
Inheritance
System.Object
CfnLaunchTemplate.HibernationOptionsProperty
Namespace: Amazon.CDK.AWS.EC2
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class HibernationOptionsProperty : Object, CfnLaunchTemplate.IHibernationOptionsProperty
Syntax (vb)
Public Class HibernationOptionsProperty
Inherits Object
Implements CfnLaunchTemplate.IHibernationOptionsProperty
Remarks
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 .
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
Constructors
HibernationOptionsProperty() |
Properties
Configured | If you set this parameter to |
Constructors
HibernationOptionsProperty()
public HibernationOptionsProperty()
Properties
Configured
If you set this parameter to true
, the instance is enabled for hibernation.
public object Configured { get; set; }
Property Value
System.Object