Amazon EC2 EC2Fleet OnDemandOptionsRequest
The
OnDemandOptionsRequest property type specifies the allocation strategy of
On-Demand Instances in an EC2 Fleet.
OnDemandOptionsRequest is a property of the AWS::EC2::EC2Fleet resource.
Syntax
To declare this entity in your AWS CloudFormation template, use the following syntax:
JSON
{ "AllocationStrategy" :String}
YAML
AllocationStrategy:String
Properties
AllocationStrategy-
The order of the launch template overrides to use in fulfilling On-Demand capacity. If you specify
lowest-price, EC2 Fleet uses price to determine the order, launching the lowest price first. If you specifyprioritized, EC2 Fleet uses the priority that you assigned to each launch template override, launching the highest priority first. If you do not specify a value, EC2 Fleet defaults tolowest-price.Required: No
Type: String
Update requires: No interruption
See Also
-
OnDemandOptionsRequest in the Amazon EC2 API Reference
