AWS::EC2::SpotFleet SpotPlacement - AWS CloudFormation
Services or capabilities described in AWS documentation might vary by Region. To see the differences applicable to the AWS European Sovereign Cloud Region, see the AWS European Sovereign Cloud User Guide.

This is the new CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the AWS CloudFormation User Guide.

AWS::EC2::SpotFleet SpotPlacement

Describes Spot Instance placement.

Syntax

To declare this entity in your CloudFormation template, use the following syntax:

JSON

{ "AvailabilityZone" : String, "AvailabilityZoneId" : String, "GroupName" : String, "Tenancy" : String }

YAML

AvailabilityZone: String AvailabilityZoneId: String GroupName: String Tenancy: 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 AvailabilityZone or AvailabilityZoneId must 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 dedicated runs on single-tenant hardware. The host tenancy is not supported for Spot Instances.

Required: No

Type: String

Allowed values: dedicated | default | host

Update requires: Replacement