View a markdown version of this page

AWS::EC2::EC2Fleet 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::EC2Fleet Placement

Describes the placement of an instance.

Syntax

To declare this entity in your 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 CreateFleet or ImportInstance.

Required: No

Type: String

Update requires: Replacement

AvailabilityZone

The Availability Zone of the instance.

On input, you can specify AvailabilityZone or AvailabilityZoneId, but not both. If you specify neither one, Amazon EC2 automatically selects an Availability Zone for you.

This parameter is not supported for CreateFleet.

Required: No

Type: String

Update requires: Replacement

GroupName

The name of the placement group that the instance is in.

On input, you can specify GroupId or GroupName, but not both.

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 CreateFleet or ImportInstance.

Required: No

Type: String

Update requires: Replacement

HostResourceGroupArn

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

On input, if you specify this parameter, either omit the Tenancy parameter or set it to host.

This parameter is not supported for CreateFleet.

Required: No

Type: String

Update requires: Replacement

PartitionNumber

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.

Required: No

Type: Integer

Update requires: Replacement

SpreadDomain

Reserved for future use.

Required: No

Type: String

Update requires: Replacement

Tenancy

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.

Required: No

Type: String

Allowed values: default | dedicated | host

Update requires: Replacement

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 によって変換されたページ (->オリジナル) /