InstanceInitiatedShutdownBehavior

class aws_cdk.aws_ec2.InstanceInitiatedShutdownBehavior(value)

Bases: enum.Enum

Provides the options for specifying the instance initiated shutdown behavior.

See

https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/terminating-instances.html#Using_ChangingInstanceInitiatedShutdownBehavior

Attributes

STOP

The instance will stop when it initiates a shutdown.

TERMINATE

The instance will be terminated when it initiates a shutdown.