aws-cdk-lib.aws_ec2.SpotInstanceInterruption

enum SpotInstanceInterruption

LanguageType name
.NETAmazon.CDK.AWS.EC2.SpotInstanceInterruption
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsec2#SpotInstanceInterruption
Javasoftware.amazon.awscdk.services.ec2.SpotInstanceInterruption
Pythonaws_cdk.aws_ec2.SpotInstanceInterruption
TypeScript (source)aws-cdk-lib » aws_ec2 » SpotInstanceInterruption

Provides the options for the types of interruption for spot instances.

Members

NameDescription
STOPThe instance will stop when interrupted.
TERMINATEThe instance will be terminated when interrupted.
HIBERNATEThe instance will hibernate when interrupted.

STOP

The instance will stop when interrupted.


TERMINATE

The instance will be terminated when interrupted.


HIBERNATE

The instance will hibernate when interrupted.