Uses of Enum
software.amazon.awscdk.services.ec2.InstanceInitiatedShutdownBehavior
-
Uses of InstanceInitiatedShutdownBehavior in software.amazon.awscdk.services.ec2
Modifier and TypeMethodDescriptionLaunchTemplateProps.getInstanceInitiatedShutdownBehavior()
Indicates whether an instance stops or terminates when you initiate shutdown from the instance (using the operating system command for system shutdown).LaunchTemplateProps.Jsii$Proxy.getInstanceInitiatedShutdownBehavior()
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 TypeMethodDescriptionLaunchTemplate.Builder.instanceInitiatedShutdownBehavior
(InstanceInitiatedShutdownBehavior instanceInitiatedShutdownBehavior) Indicates whether an instance stops or terminates when you initiate shutdown from the instance (using the operating system command for system shutdown).LaunchTemplateProps.Builder.instanceInitiatedShutdownBehavior
(InstanceInitiatedShutdownBehavior instanceInitiatedShutdownBehavior) Sets the value ofLaunchTemplateProps.getInstanceInitiatedShutdownBehavior()