| Package | Description |
|---|---|
| software.amazon.awscdk.services.ec2 |
Amazon EC2 Construct Library
|
| Modifier and Type | Method and Description |
|---|---|
default InstanceInitiatedShutdownBehavior |
LaunchTemplateProps.getInstanceInitiatedShutdownBehavior()
(experimental) Indicates whether an instance stops or terminates when you initiate shutdown from the instance (using the operating system command for system shutdown).
|
InstanceInitiatedShutdownBehavior |
LaunchTemplateProps.Jsii$Proxy.getInstanceInitiatedShutdownBehavior() |
static InstanceInitiatedShutdownBehavior |
InstanceInitiatedShutdownBehavior.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static InstanceInitiatedShutdownBehavior[] |
InstanceInitiatedShutdownBehavior.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
LaunchTemplateProps.Builder |
LaunchTemplateProps.Builder.instanceInitiatedShutdownBehavior(InstanceInitiatedShutdownBehavior instanceInitiatedShutdownBehavior)
Sets the value of
LaunchTemplateProps.getInstanceInitiatedShutdownBehavior() |
LaunchTemplate.Builder |
LaunchTemplate.Builder.instanceInitiatedShutdownBehavior(InstanceInitiatedShutdownBehavior instanceInitiatedShutdownBehavior)
(experimental) Indicates whether an instance stops or terminates when you initiate shutdown from the instance (using the operating system command for system shutdown).
|
| Constructor and Description |
|---|
Jsii$Proxy(List<? extends BlockDevice> blockDevices,
CpuCredits cpuCredits,
Boolean detailedMonitoring,
Boolean disableApiTermination,
Boolean ebsOptimized,
Boolean hibernationConfigured,
InstanceInitiatedShutdownBehavior instanceInitiatedShutdownBehavior,
InstanceType instanceType,
String keyName,
String launchTemplateName,
IMachineImage machineImage,
Boolean nitroEnclaveEnabled,
IRole role,
ISecurityGroup securityGroup,
LaunchTemplateSpotOptions spotOptions,
UserData userData)
Constructor that initializes the object based on literal property values passed by the
LaunchTemplateProps.Builder. |
Copyright © 2021. All rights reserved.