Skip to content

InstanceResizePolicy

Source code in docs_src/capo_emr/types/instance_resize_policy.py
class InstanceResizePolicy(TypedDict, closed=True):
    instances_to_terminate: NotRequired[
        "capo_emr.types.ec2_instance_ids_list.EC2InstanceIdsList"
    ]
    """<p>Specific list of instances to be terminated when shrinking an instance group.</p>"""
    instances_to_protect: NotRequired[
        "capo_emr.types.ec2_instance_ids_list.EC2InstanceIdsList"
    ]
    """<p>Specific list of instances to be protected when shrinking an instance group.</p>"""
    instance_termination_timeout: NotRequired["capo_emr.types.integer.Integer"]
    """<p>Decommissioning timeout override for the specific list of instances to be terminated.</p>"""

instance_termination_timeout instance-attribute

instance_termination_timeout: NotRequired[Integer]

Decommissioning timeout override for the specific list of instances to be terminated.

instances_to_protect instance-attribute

instances_to_protect: NotRequired[EC2InstanceIdsList]

Specific list of instances to be protected when shrinking an instance group.

instances_to_terminate instance-attribute

instances_to_terminate: NotRequired[EC2InstanceIdsList]

Specific list of instances to be terminated when shrinking an instance group.