FleetSpotCapacityRebalance - Amazon Elastic Compute Cloud

FleetSpotCapacityRebalance

The strategy to use when Amazon EC2 emits a signal that your Spot Instance is at an elevated risk of being interrupted.

Contents

replacementStrategy

To allow EC2 Fleet to launch a replacement Spot Instance when an instance rebalance notification is emitted for an existing Spot Instance in the fleet, specify launch. Only available for fleets of type maintain.

Note

When a replacement instance is launched, the instance marked for rebalance is not automatically terminated. You can terminate it, or you can leave it running. You are charged for both instances while they are running.

Type: String

Valid Values: launch

Required: No

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: