enum InstanceInitiatedShutdownBehavior
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.EC2.InstanceInitiatedShutdownBehavior |
Java | software.amazon.awscdk.services.ec2.InstanceInitiatedShutdownBehavior |
Python | aws_cdk.aws_ec2.InstanceInitiatedShutdownBehavior |
TypeScript (source) | @aws-cdk/aws-ec2 » InstanceInitiatedShutdownBehavior |
Provides the options for specifying the instance initiated shutdown behavior.
Members
| Name | Description |
|---|---|
| STOP | The instance will stop when it initiates a shutdown. |
| TERMINATE | The instance will be terminated when it initiates a shutdown. |
STOP
The instance will stop when it initiates a shutdown.
TERMINATE
The instance will be terminated when it initiates a shutdown.

.NET
Java
Python
TypeScript (