View a markdown version of this page

AWS::EC2::LaunchTemplate Placement - AWS CloudFormation

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::LaunchTemplate Placement

Specifies the placement of an instance.

Placement is a property of AWS::EC2::LaunchTemplate LaunchTemplateData.

Syntax

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

JSON

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

YAML

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

Properties

Affinity

The affinity setting for an instance on a Dedicated Host.

Required: No

Type: String

Update requires: No interruption

AvailabilityZone

The Availability Zone for the instance.

Either AvailabilityZone or AvailabilityZoneId can be specified, but not both

Required: No

Type: String

Update requires: No interruption

GroupId

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

Required: No

Type: String

Update requires: No interruption

GroupName

The name of the placement group for the instance.

Required: No

Type: String

Update requires: No interruption

HostId

The ID of the Dedicated Host for the instance.

Required: No

Type: String

Update requires: No interruption

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.

Required: No

Type: String

Update requires: No interruption

PartitionNumber

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

Required: No

Type: Integer

Update requires: No interruption

SpreadDomain

Reserved for future use.

Required: No

Type: String

Update requires: No interruption

Tenancy

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

Required: No

Type: String

Allowed values: default | dedicated | host

Update requires: No interruption

See also

Warning Javascript is disabled or is unavailable in your browser.

To use the Amazon Web Services Documentation, Javascript must be enabled. Please refer to your browser's Help pages for instructions.

Did this page help you? - Yes

Thanks for letting us know we're doing a good job!

If you've got a moment, please tell us what we did right so we can do more of it.

Did this page help you? - No

Thanks for letting us know this page needs work. We're sorry we let you down.

If you've got a moment, please tell us how we can make the documentation better.

AltStyle によって変換されたページ (->オリジナル) /