Builder

class Builder

Properties

Link copied to clipboard

The strategy that determines how to allocate the target Spot Instance capacity across the Spot Instance pools specified by the EC2 Fleet launch configuration. For more information, see Allocation strategies for Spot Instances in the Amazon EC2 User Guide.

Link copied to clipboard

The behavior when a Spot Instance is interrupted.

Link copied to clipboard

The number of Spot pools across which to allocate your target Spot capacity. Supported only when Spot AllocationStrategy is set to lowest-price. EC2 Fleet selects the cheapest Spot pools and evenly allocates your target Spot capacity across the number of Spot pools that you specify.

Link copied to clipboard

The strategies for managing your Spot Instances that are at an elevated risk of being interrupted.

Link copied to clipboard

The maximum amount per hour for Spot Instances that you're willing to pay. We do not recommend using this parameter because it can lead to increased interruptions. If you do not specify this parameter, you will pay the current Spot price.

Link copied to clipboard

The minimum target capacity for Spot Instances in the fleet. If this minimum capacity isn't reached, no instances are launched.

Link copied to clipboard

Indicates that the fleet launches all Spot Instances into a single Availability Zone.

Link copied to clipboard

Indicates that the fleet uses a single instance type to launch all Spot Instances in the fleet.