Skip to content

InstanceGroupDetail

Source code in docs_src/capo_emr/types/instance_group_detail.py
class InstanceGroupDetail(TypedDict, closed=True):
    instance_group_id: NotRequired[
        "capo_emr.types.xml_string_max_len256.XmlStringMaxLen256"
    ]
    """<p>Unique identifier for the instance group.</p>"""
    name: NotRequired["capo_emr.types.xml_string_max_len256.XmlStringMaxLen256"]
    """<p>Friendly name for the instance group.</p>"""
    market: NotRequired["capo_emr.types.market_type.MarketType"]
    """<p>Market type of the Amazon EC2 instances used to create a cluster node.</p>"""
    instance_role: NotRequired["capo_emr.types.instance_role_type.InstanceRoleType"]
    """<p>Instance group role in the cluster</p>"""
    bid_price: NotRequired["capo_emr.types.xml_string_max_len256.XmlStringMaxLen256"]
    """<p>The bid price for each Amazon EC2 Spot Instance type as defined by <code>InstanceType</code>. Expressed in USD. If neither <code>BidPrice</code> nor <code>BidPriceAsPercentageOfOnDemandPrice</code> is provided, <code>BidPriceAsPercentageOfOnDemandPrice</code> defaults to 100%.</p>"""
    instance_type: NotRequired["capo_emr.types.instance_type.InstanceType"]
    """<p>Amazon EC2 instance type.</p>"""
    instance_request_count: NotRequired["capo_emr.types.integer.Integer"]
    """<p>Target number of instances to run in the instance group.</p>"""
    instance_running_count: NotRequired["capo_emr.types.integer.Integer"]
    """<p>Actual count of running instances.</p>"""
    state: NotRequired["capo_emr.types.instance_group_state.InstanceGroupState"]
    """<p>State of instance group. The following values are no longer supported: STARTING, TERMINATED, and FAILED.</p>"""
    last_state_change_reason: NotRequired["capo_emr.types.xml_string.XmlString"]
    """<p>Details regarding the state of the instance group.</p>"""
    creation_date_time: NotRequired["capo_emr.types.date.Date"]
    """<p>The date/time the instance group was created.</p>"""
    start_date_time: NotRequired["capo_emr.types.date.Date"]
    """<p>The date/time the instance group was started.</p>"""
    ready_date_time: NotRequired["capo_emr.types.date.Date"]
    """<p>The date/time the instance group was available to the cluster.</p>"""
    end_date_time: NotRequired["capo_emr.types.date.Date"]
    """<p>The date/time the instance group was terminated.</p>"""
    custom_ami_id: NotRequired[
        "capo_emr.types.xml_string_max_len256.XmlStringMaxLen256"
    ]
    """<p>The custom AMI ID to use for the provisioned instance group.</p>"""

bid_price instance-attribute

bid_price: NotRequired[XmlStringMaxLen256]

The bid price for each Amazon EC2 Spot Instance type as defined by InstanceType. Expressed in USD. If neither BidPrice nor BidPriceAsPercentageOfOnDemandPrice is provided, BidPriceAsPercentageOfOnDemandPrice defaults to 100%.

creation_date_time instance-attribute

creation_date_time: NotRequired[Date]

The date/time the instance group was created.

custom_ami_id instance-attribute

custom_ami_id: NotRequired[XmlStringMaxLen256]

The custom AMI ID to use for the provisioned instance group.

end_date_time instance-attribute

end_date_time: NotRequired[Date]

The date/time the instance group was terminated.

instance_group_id instance-attribute

instance_group_id: NotRequired[XmlStringMaxLen256]

Unique identifier for the instance group.

instance_request_count instance-attribute

instance_request_count: NotRequired[Integer]

Target number of instances to run in the instance group.

instance_role instance-attribute

instance_role: NotRequired[InstanceRoleType]

Instance group role in the cluster

instance_running_count instance-attribute

instance_running_count: NotRequired[Integer]

Actual count of running instances.

instance_type instance-attribute

instance_type: NotRequired[InstanceType]

Amazon EC2 instance type.

last_state_change_reason instance-attribute

last_state_change_reason: NotRequired[XmlString]

Details regarding the state of the instance group.

market instance-attribute

market: NotRequired[MarketType]

Market type of the Amazon EC2 instances used to create a cluster node.

name instance-attribute

name: NotRequired[XmlStringMaxLen256]

Friendly name for the instance group.

ready_date_time instance-attribute

ready_date_time: NotRequired[Date]

The date/time the instance group was available to the cluster.

start_date_time instance-attribute

start_date_time: NotRequired[Date]

The date/time the instance group was started.

state instance-attribute

state: NotRequired[InstanceGroupState]

State of instance group. The following values are no longer supported: STARTING, TERMINATED, and FAILED.