Skip to content

EC2  >  Dictionaries  >  LaunchTemplatePlacementRequestDict

LaunchTemplatePlacementRequestDict

Dictionary Type

LaunchTemplatePlacementRequestDict

Bases: TypedDict

Dictionary form of LaunchTemplatePlacementRequest.

Attributes

affinity instance-attribute
affinity: str | None

The affinity setting for an instance on a Dedicated Host.

availability_zone instance-attribute
availability_zone: str | None

The Availability Zone for the instance.

Either AvailabilityZone or AvailabilityZoneId can be specified, but not both

availability_zone_id instance-attribute
availability_zone_id: str | None

The ID of the Availability Zone for the instance.

Either AvailabilityZone or AvailabilityZoneId can be specified, but not both

group_id instance-attribute
group_id: str | None

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

group_name instance-attribute
group_name: str | None

The name of the placement group for the instance.

host_id instance-attribute
host_id: str | None

The ID of the Dedicated Host for the instance.

host_resource_group_arn instance-attribute
host_resource_group_arn: str | None

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.

partition_number instance-attribute
partition_number: int | None

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

spread_domain instance-attribute
spread_domain: str | None

Reserved for future use.

tenancy instance-attribute
tenancy: str | None

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