This is the new Amazon CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the Amazon CloudFormation User Guide.
AWS::EC2::SpotFleet SpotPlacement
Describes Spot Instance placement.
Syntax
To declare this entity in your Amazon CloudFormation template, use the following syntax:
JSON
{ "AvailabilityZone" :String, "AvailabilityZoneId" :String, "GroupName" :String, "Tenancy" :String}
YAML
AvailabilityZone:StringAvailabilityZoneId:StringGroupName:StringTenancy:String
Properties
AvailabilityZone-
The Availability Zone.
To specify multiple Availability Zones, separate them using commas; for example, "us-west-2a, us-west-2b".
Required: No
Type: String
Update requires: Replacement
AvailabilityZoneId-
The ID of the Availability Zone. For example,
use2-az1.[Spot Fleet only] To specify multiple Availability Zones, separate them using commas; for example, "
use2-az1,use2-bz1".Either
AvailabilityZoneorAvailabilityZoneIdmust be specified in the request, but not both.Required: No
Type: String
Update requires: Replacement
GroupName-
The name of the placement group.
Required: No
Type: String
Update requires: Replacement
Tenancy-
The tenancy of the instance (if the instance is running in a VPC). An instance with a tenancy of
dedicatedruns on single-tenant hardware. Thehosttenancy is not supported for Spot Instances.Required: No
Type: String
Allowed values:
dedicated | default | hostUpdate requires: Replacement