Select your cookie preferences

We use essential cookies and similar tools that are necessary to provide our site and services. We use performance cookies to collect anonymous statistics, so we can understand how customers use our site and make improvements. Essential cookies cannot be deactivated, but you can choose “Customize” or “Decline” to decline performance cookies.

If you agree, AWS and approved third parties will also use cookies to provide useful site features, remember your preferences, and display relevant content, including relevant advertising. To accept or decline all non-essential cookies, choose “Accept” or “Decline.” To make more detailed choices, choose “Customize.”

LaunchTemplatePlacement - Amazon Elastic Compute Cloud

LaunchTemplatePlacement

Describes the placement of an instance.

Contents

affinity

The affinity setting for the instance on the Dedicated Host.

Type: String

Required: No

availabilityZone

The Availability Zone of the instance.

Type: String

Required: No

groupId

The Group ID of the placement group. You must specify the Placement Group Group ID to launch an instance in a shared placement group.

Type: String

Required: No

groupName

The name of the placement group for the instance.

Type: String

Required: No

hostId

The ID of the Dedicated Host for the instance.

Type: String

Required: No

hostResourceGroupArn

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

Type: String

Required: No

partitionNumber

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

Type: Integer

Required: No

spreadDomain

Reserved for future use.

Type: String

Required: No

tenancy

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

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:

PrivacySite termsCookie preferences
© 2025, Amazon Web Services, Inc. or its affiliates. All rights reserved.