Skip to content

InstanceGroupModifyConfig

Source code in docs_src/capo_emr/types/instance_group_modify_config.py
class InstanceGroupModifyConfig(TypedDict, closed=True):
    instance_group_id: NotRequired[
        "capo_emr.types.xml_string_max_len256.XmlStringMaxLen256"
    ]
    """<p>Unique ID of the instance group to modify.</p>"""
    instance_count: NotRequired["capo_emr.types.integer.Integer"]
    """<p>Target size for the instance group.</p>"""
    ec2_instance_ids_to_terminate: NotRequired[
        "capo_emr.types.ec2_instance_ids_to_terminate_list.EC2InstanceIdsToTerminateList"
    ]
    """<p>The Amazon EC2 InstanceIds to terminate. After you terminate the instances, the instance group will not return to its original requested size.</p>"""
    shrink_policy: NotRequired["capo_emr.types.shrink_policy.ShrinkPolicy"]
    """<p>Policy for customizing shrink operations.</p>"""
    reconfiguration_type: NotRequired[
        "capo_emr.types.reconfiguration_type.ReconfigurationType"
    ]
    """<p>Type of reconfiguration requested. Valid values are MERGE and OVERWRITE.</p>"""
    configurations: NotRequired["capo_emr.types.configuration_list.ConfigurationList"]
    """<p>A list of new or modified configurations to apply for an instance group.</p>"""

configurations instance-attribute

configurations: NotRequired[ConfigurationList]

A list of new or modified configurations to apply for an instance group.

ec2_instance_ids_to_terminate instance-attribute

ec2_instance_ids_to_terminate: NotRequired[EC2InstanceIdsToTerminateList]

The Amazon EC2 InstanceIds to terminate. After you terminate the instances, the instance group will not return to its original requested size.

instance_count instance-attribute

instance_count: NotRequired[Integer]

Target size for the instance group.

instance_group_id instance-attribute

instance_group_id: NotRequired[XmlStringMaxLen256]

Unique ID of the instance group to modify.

reconfiguration_type instance-attribute

reconfiguration_type: NotRequired[ReconfigurationType]

Type of reconfiguration requested. Valid values are MERGE and OVERWRITE.

shrink_policy instance-attribute

shrink_policy: NotRequired[ShrinkPolicy]

Policy for customizing shrink operations.