Menu
AWS CloudFormation
User Guide (API Version 2010-05-15)

Amazon Elastic Compute Cloud SpotFleet LaunchTemplateOverrides

LaunchTemplateOverrides is a property of the Amazon EC2 SpotFleet SpotFleetRequestConfigData property that describes overrides for a launch template.

Syntax

JSON

{ "AvailabilityZone" : String, "InstanceType" : String, "SpotPrice" : String, "SubnetId" : String, "WeightedCapacity" : Boolean }

YAML

AvailabilityZone: String InstanceType: String SpotPrice: String SubnetId: String WeightedCapacity: Boolean

Properties

AvailabilityZone

The Availability Zone in which to launch the instances.

Required: No

Type: String

Update requires: No interruption

InstanceType

The instance type.

For a complete list of valid values, see InstanceType in LaunchTemplateOverrides in the Amazon EC2 API Reference.

Required: No

Type: String

Update requires: No interruption

SpotPrice

The maximum price per unit hour that you are willing to pay for a Spot Instance.

Required: No

Type: String

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

On this page: