Amazon EC2 EC2Fleet FleetLaunchTemplateOverridesRequest
The
FleetLaunchTemplateOverridesRequest property type specifies overrides for a
launch template for an EC2 Fleet.
FleetLaunchTemplateOverridesRequest is a property of the FleetLaunchTemplateConfigRequest property type.
Syntax
To declare this entity in your AWS CloudFormation template, use the following syntax:
JSON
{ "AvailabilityZone" :String, "InstanceType" :String, "MaxPrice" :String, "Priority" :Double, "SubnetId" :String, "WeightedCapacity" :Double}
YAML
AvailabilityZone:StringInstanceType:StringMaxPrice:StringPriority:DoubleSubnetId:StringWeightedCapacity:Double
Properties
AvailabilityZone-
The Availability Zone in which to launch the instances.
Required: No
Type: String
Update requires: No interruption
InstanceType-
The instance type.
Required: No
Type: String
Update requires: No interruption
MaxPrice-
The maximum price per unit hour that you are willing to pay for a Spot Instance.
Required: No
Type: String
Update requires: No interruption
Priority-
The priority for the launch template override. If AllocationStrategy is set to prioritized, EC2 Fleet uses priority to determine which launch template override to use first in fulfilling On-Demand capacity. The highest priority is launched first. Valid values are whole numbers starting at
0. The lower the number, the higher the priority. If no number is set, the launch template override has the lowest priority.Required: No
Type: Double
Update requires: No interruption
SubnetId-
The ID of the subnet in which to launch the instances.
Required: No
Type: String
Update requires: No interruption
WeightedCapacity-
The number of units provided by the specified instance type.
Required: No
Type: Double
Update requires: No interruption
See Also
-
FleetLaunchTemplateOverridesRequest in the Amazon EC2 API Reference
