Placement - Amazon Elastic Compute Cloud

Placement

Describes the placement of an instance.

Contents

Affinity (request), affinity (response)

The affinity setting for the instance on the Dedicated Host.

This parameter is not supported for CreateFleet or ImportInstance.

Type: String

Required: No

AvailabilityZone (request), availabilityZone (response)

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 for CreateFleet.

Type: String

Required: No

GroupId (request), groupId (response)

The ID of the placement group that the instance is in. If you specify GroupId, you can't specify GroupName.

Type: String

Required: No

GroupName (request), groupName (response)

The name of the placement group that the instance is in. If you specify GroupName, you can't specify GroupId.

Type: String

Required: No

HostId (request), hostId (response)

The ID of the Dedicated Host on which the instance resides.

This parameter is not supported for CreateFleet or ImportInstance.

Type: String

Required: No

HostResourceGroupArn (request), hostResourceGroupArn (response)

The ARN of the host resource group in which to launch the instances.

If you specify this parameter, either omit the Tenancy parameter or set it to host.

This parameter is not supported for CreateFleet.

Type: String

Required: No

PartitionNumber (request), partitionNumber (response)

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

This parameter is not supported for CreateFleet.

Type: Integer

Required: No

SpreadDomain (request), spreadDomain (response)

Reserved for future use.

Type: String

Required: No

Tenancy (request), tenancy (response)

The tenancy of the instance. An instance with a tenancy of dedicated runs on single-tenant hardware.

This parameter is not supported for CreateFleet. The host tenancy is not supported for ImportInstance or for T3 instances that are configured for the unlimited CPU credit option.

Type: String

Valid Values: default | dedicated | host

Required: No

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: