AWS::EC2::EC2Fleet Placement - AWS CloudFormation

AWS::EC2::EC2Fleet Placement

Describes the placement of an instance.

Syntax

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

JSON

{ "Affinity" : String, "AvailabilityZone" : String, "GroupName" : String, "HostId" : String, "HostResourceGroupArn" : String, "PartitionNumber" : Integer, "SpreadDomain" : String, "Tenancy" : String }

YAML

Affinity: String AvailabilityZone: String GroupName: String HostId: String HostResourceGroupArn: String PartitionNumber: Integer SpreadDomain: String Tenancy: String

Properties

Affinity

The affinity setting for the instance on the Dedicated Host. This parameter is not supported for the ImportInstance command.

This parameter is not supported by CreateFleet.

Required: No

Type: String

Update requires: Replacement

AvailabilityZone

The Availability Zone of the instance.

If not specified, an Availability Zone will be automatically chosen for you based on the load balancing criteria for the Region.

This parameter is not supported by CreateFleet.

Required: No

Type: String

Update requires: Replacement

GroupName

The name of the placement group the instance is in.

Required: No

Type: String

Update requires: Replacement

HostId

The ID of the Dedicated Host on which the instance resides. This parameter is not supported for the ImportInstance command.

This parameter is not supported by CreateFleet.

Required: No

Type: String

Update requires: Replacement

HostResourceGroupArn

The ARN of the host resource group in which to launch the instances. If you specify a host resource group ARN, omit the Tenancy parameter or set it to host.

This parameter is not supported by CreateFleet.

Required: No

Type: String

Update requires: Replacement

PartitionNumber

The number of the partition the instance is in. Valid only if the placement group strategy is set to partition.

This parameter is not supported by CreateFleet.

Required: No

Type: Integer

Update requires: Replacement

SpreadDomain

Reserved for future use.

This parameter is not supported by CreateFleet.

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 the ImportInstance command.

This parameter is not supported by CreateFleet.

T3 instances that use the unlimited CPU credit option do not support host tenancy.

Required: No

Type: String

Allowed values: dedicated | default | host

Update requires: Replacement