Skip to content

LaunchTemplatePlacementRequest

Source code in docs_src/capo_ec2/types/launch_template_placement_request.py
class LaunchTemplatePlacementRequest(TypedDict, closed=True):
    availability_zone: NotRequired["capo_ec2.types.string.String"]
    """<p>The Availability Zone for the instance.</p> <p>Either <code>AvailabilityZone</code> or <code>AvailabilityZoneId</code> can be specified, but not both</p>"""
    availability_zone_id: NotRequired[
        "capo_ec2.types.availability_zone_id.AvailabilityZoneId"
    ]
    """<p>The ID of the Availability Zone for the instance.</p> <p>Either <code>AvailabilityZone</code> or <code>AvailabilityZoneId</code> can be specified, but not both</p>"""
    affinity: NotRequired["capo_ec2.types.string.String"]
    """<p>The affinity setting for an instance on a Dedicated Host.</p>"""
    group_name: NotRequired["capo_ec2.types.placement_group_name.PlacementGroupName"]
    """<p>The name of the placement group for the instance.</p>"""
    host_id: NotRequired["capo_ec2.types.dedicated_host_id.DedicatedHostId"]
    """<p>The ID of the Dedicated Host for the instance.</p>"""
    tenancy: NotRequired["capo_ec2.types.tenancy.Tenancy"]
    """<p>The tenancy of the instance. An instance with a tenancy of dedicated runs on single-tenant hardware.</p>"""
    spread_domain: NotRequired["capo_ec2.types.string.String"]
    """<p>Reserved for future use.</p>"""
    host_resource_group_arn: NotRequired["capo_ec2.types.string.String"]
    """<p>The ARN of the host resource group in which to launch the instances. If you specify a host resource group ARN, omit the <b>Tenancy</b> parameter or set it to <code>host</code>.</p>"""
    partition_number: NotRequired["capo_ec2.types.integer.Integer"]
    """<p>The number of the partition the instance should launch in. Valid only if the placement group strategy is set to <code>partition</code>.</p>"""
    group_id: NotRequired["capo_ec2.types.placement_group_id.PlacementGroupId"]
    """<p>The Group Id of a placement group. You must specify the Placement Group <b>Group Id</b> to launch an instance in a shared placement group.</p>"""

affinity instance-attribute

affinity: NotRequired[String]

The affinity setting for an instance on a Dedicated Host.

availability_zone instance-attribute

availability_zone: NotRequired[String]

The Availability Zone for the instance.

Either AvailabilityZone or AvailabilityZoneId can be specified, but not both

availability_zone_id instance-attribute

availability_zone_id: NotRequired[AvailabilityZoneId]

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: NotRequired[PlacementGroupId]

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: NotRequired[PlacementGroupName]

The name of the placement group for the instance.

host_id instance-attribute

host_id: NotRequired[DedicatedHostId]

The ID of the Dedicated Host for the instance.

host_resource_group_arn instance-attribute

host_resource_group_arn: NotRequired[String]

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: NotRequired[Integer]

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: NotRequired[String]

Reserved for future use.

tenancy instance-attribute

tenancy: NotRequired[Tenancy]

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