@Stability(value=Stable)
public static interface CfnLaunchTemplate.HibernationOptionsProperty
extends software.amazon.jsii.JsiiSerializable
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 software.amazon.awscdk.services.ec2.*;
HibernationOptionsProperty hibernationOptionsProperty = HibernationOptionsProperty.builder()
.configured(false)
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnLaunchTemplate.HibernationOptionsProperty.Builder
A builder for
CfnLaunchTemplate.HibernationOptionsProperty |
static class |
CfnLaunchTemplate.HibernationOptionsProperty.Jsii$Proxy
An implementation for
CfnLaunchTemplate.HibernationOptionsProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnLaunchTemplate.HibernationOptionsProperty.Builder |
builder() |
default Object |
getConfigured()
If you set this parameter to `true` , the instance is enabled for hibernation.
|
@Stability(value=Stable) @Nullable default Object getConfigured()
Default: false
@Stability(value=Stable) static CfnLaunchTemplate.HibernationOptionsProperty.Builder builder()
Copyright © 2022. All rights reserved.