timeoutAction property
The action to take when TargetSpotCapacity
has not been
fulfilled when the TimeoutDurationMinutes
has expired; that is,
when all Spot Instances could not be provisioned within the Spot
provisioning timeout. Valid values are TERMINATE_CLUSTER
and
SWITCH_TO_ON_DEMAND
. SWITCH_TO_ON_DEMAND specifies that if no
Spot Instances are available, On-Demand Instances should be provisioned to
fulfill any remaining Spot capacity.
Implementation
final SpotProvisioningTimeoutAction timeoutAction;