Class SpotInstanceInterruption
Provides the options for the types of interruption for spot instances.
Inheritance
System.Object
SpotInstanceInterruption
Namespace: Amazon.CDK.AWS.EC2
Assembly: Amazon.CDK.AWS.EC2.dll
Syntax (csharp)
public sealed class SpotInstanceInterruption : Enum
Syntax (vb)
Public NotInheritable Class SpotInstanceInterruption
Inherits
Enum
Synopsis
Fields
HIBERNATE | The instance will hibernate when interrupted. |
STOP | The instance will stop when interrupted. |
TERMINATE | The instance will be terminated when interrupted. |
value__ |
Fields
HIBERNATE
The instance will hibernate when interrupted.
public const SpotInstanceInterruption HIBERNATE
Field Value
Type | Description |
---|---|
SpotInstanceInterruption |
STOP
The instance will stop when interrupted.
public const SpotInstanceInterruption STOP
Field Value
Type | Description |
---|---|
SpotInstanceInterruption |
TERMINATE
The instance will be terminated when interrupted.
public const SpotInstanceInterruption TERMINATE
Field Value
Type | Description |
---|---|
SpotInstanceInterruption |
value__
public int value__
Field Value
Type | Description |
---|---|
System.Int32 |