Skip to content

PlacementGroupConfig

Source code in docs_src/capo_emr/types/placement_group_config.py
class PlacementGroupConfig(TypedDict, closed=True):
    instance_role: NotRequired["capo_emr.types.instance_role_type.InstanceRoleType"]
    """<p>Role of the instance in the cluster.</p> <p>Starting with Amazon EMR release 5.23.0, the only supported instance role is <code>MASTER</code>.</p>"""
    placement_strategy: NotRequired[
        "capo_emr.types.placement_group_strategy.PlacementGroupStrategy"
    ]
    """<p>Amazon EC2 Placement Group strategy associated with instance role.</p> <p>Starting with Amazon EMR release 5.23.0, the only supported placement strategy is <code>SPREAD</code> for the <code>MASTER</code> instance role.</p>"""

instance_role instance-attribute

instance_role: NotRequired[InstanceRoleType]

Role of the instance in the cluster.

Starting with Amazon EMR release 5.23.0, the only supported instance role is MASTER.

placement_strategy instance-attribute

placement_strategy: NotRequired[PlacementGroupStrategy]

Amazon EC2 Placement Group strategy associated with instance role.

Starting with Amazon EMR release 5.23.0, the only supported placement strategy is SPREAD for the MASTER instance role.