LaunchTemplatePlacementRequest¶
Structure Class¶
LaunchTemplatePlacementRequest
dataclass
¶
Bases: _SerdeShape
Describes the placement of an instance.
Attributes¶
affinity
class-attribute
instance-attribute
¶
affinity: str | None = ...
The affinity setting for an instance on a Dedicated Host.
availability_zone
class-attribute
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
class-attribute
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
class-attribute
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
class-attribute
instance-attribute
¶
group_name: str | None = ...
The name of the placement group for the instance.
host_id
class-attribute
instance-attribute
¶
host_id: str | None = ...
The ID of the Dedicated Host for the instance.
host_resource_group_arn
class-attribute
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
class-attribute
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.