enum SpotInstanceInterruption
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.EC2.SpotInstanceInterruption |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsec2#SpotInstanceInterruption |
Java | software.amazon.awscdk.services.ec2.SpotInstanceInterruption |
Python | aws_cdk.aws_ec2.SpotInstanceInterruption |
TypeScript (source) | aws-cdk-lib » aws_ec2 » SpotInstanceInterruption |
Provides the options for the types of interruption for spot instances.
Members
| Name | Description |
|---|---|
| STOP | The instance will stop when interrupted. |
| TERMINATE | The instance will be terminated when interrupted. |
| HIBERNATE | The 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.

.NET
Go
Java
Python
TypeScript (