You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::EC2::Types::FleetSpotCapacityRebalanceRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::EC2::Types::FleetSpotCapacityRebalanceRequest
- Defined in:
- (unknown)
Overview
When passing FleetSpotCapacityRebalanceRequest as input to an Aws::Client method, you can use a vanilla Hash:
{
replacement_strategy: "launch", # accepts launch
}
The Spot Instance replacement strategy to use when Amazon EC2 emits a signal that your Spot Instance is at an elevated risk of being interrupted. For more information, see Capacity rebalancing in the Amazon Elastic Compute Cloud User Guide.
Returned by:
Instance Attribute Summary collapse
-
#replacement_strategy ⇒ String
The replacement strategy to use.
Instance Attribute Details
#replacement_strategy ⇒ String
The replacement strategy to use. Only available for fleets of type
maintain
.
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
. You must specify a value, otherwise you
get an error.
Possible values:
- launch