Skip to content

LaunchTemplatePlacement

Source code in docs_src/capo_ec2/types/launch_template_placement.py
class LaunchTemplatePlacement(TypedDict, closed=True):
    availability_zone: NotRequired["capo_ec2.types.string.String"]
    """<p>The Availability Zone of the instance.</p>"""
    availability_zone_id: NotRequired[
        "capo_ec2.types.availability_zone_id.AvailabilityZoneId"
    ]
    """<p>The ID of the Availability Zone of the instance.</p>"""
    affinity: NotRequired["capo_ec2.types.string.String"]
    """<p>The affinity setting for the instance on the Dedicated Host.</p>"""
    group_name: NotRequired["capo_ec2.types.string.String"]
    """<p>The name of the placement group for the instance.</p>"""
    host_id: NotRequired["capo_ec2.types.string.String"]
    """<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 <code>dedicated</code> 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. </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 the 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 the instance on the Dedicated Host.

availability_zone instance-attribute

availability_zone: NotRequired[String]

The Availability Zone of the instance.

availability_zone_id instance-attribute

availability_zone_id: NotRequired[AvailabilityZoneId]

The ID of the Availability Zone of the instance.

group_id instance-attribute

group_id: NotRequired[PlacementGroupId]

The Group ID of the 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[String]

The name of the placement group for the instance.

host_id instance-attribute

host_id: NotRequired[String]

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.

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.