SpotInstanceInterruption

class aws_cdk.aws_ec2.SpotInstanceInterruption(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)

Bases: Enum

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

Attributes

HIBERNATE

The instance will hibernate when interrupted.

STOP

The instance will stop when interrupted.

TERMINATE

The instance will be terminated when interrupted.