Skip to content

PlacementGroup

Source code in docs_src/capo_ec2/types/placement_group.py
class PlacementGroup(TypedDict, closed=True):
    group_name: NotRequired["capo_ec2.types.string.String"]
    """<p>The name of the placement group.</p>"""
    state: NotRequired["capo_ec2.types.placement_group_state.PlacementGroupState"]
    """<p>The state of the placement group.</p>"""
    strategy: NotRequired["capo_ec2.types.placement_strategy.PlacementStrategy"]
    """<p>The placement strategy.</p>"""
    partition_count: NotRequired["capo_ec2.types.integer.Integer"]
    """<p>The number of partitions. Valid only if <b>strategy</b> is set to <code>partition</code>.</p>"""
    group_id: NotRequired["capo_ec2.types.string.String"]
    """<p>The ID of the placement group.</p>"""
    tags: NotRequired["capo_ec2.types.tag_list.TagList"]
    """<p>Any tags applied to the placement group.</p>"""
    group_arn: NotRequired["capo_ec2.types.string.String"]
    """<p>The Amazon Resource Name (ARN) of the placement group.</p>"""
    spread_level: NotRequired["capo_ec2.types.spread_level.SpreadLevel"]
    """<p>The spread level for the placement group. <i>Only</i> Outpost placement groups can be spread across hosts.</p>"""
    linked_group_id: NotRequired["capo_ec2.types.placement_group_id.PlacementGroupId"]
    """<p>Reserved for future use.</p>"""
    operator: NotRequired["capo_ec2.types.operator_response.OperatorResponse"]
    """<p>The service provider that manages the Placement Group.</p>"""
    parent_group_id: NotRequired["capo_ec2.types.placement_group_id.PlacementGroupId"]
    """<p>The ID of the parent placement group.</p>"""

group_arn instance-attribute

group_arn: NotRequired[String]

The Amazon Resource Name (ARN) of the placement group.

group_id instance-attribute

group_id: NotRequired[String]

The ID of the placement group.

group_name instance-attribute

group_name: NotRequired[String]

The name of the placement group.

linked_group_id instance-attribute

linked_group_id: NotRequired[PlacementGroupId]

Reserved for future use.

operator instance-attribute

operator: NotRequired[OperatorResponse]

The service provider that manages the Placement Group.

parent_group_id instance-attribute

parent_group_id: NotRequired[PlacementGroupId]

The ID of the parent placement group.

partition_count instance-attribute

partition_count: NotRequired[Integer]

The number of partitions. Valid only if strategy is set to partition.

spread_level instance-attribute

spread_level: NotRequired[SpreadLevel]

The spread level for the placement group. Only Outpost placement groups can be spread across hosts.

state instance-attribute

state: NotRequired[PlacementGroupState]

The state of the placement group.

strategy instance-attribute

strategy: NotRequired[PlacementStrategy]

The placement strategy.

tags instance-attribute

tags: NotRequired[TagList]

Any tags applied to the placement group.