Skip to content

Instance

Source code in docs_src/capo_emr/types/instance.py
class Instance(TypedDict, closed=True):
    id: NotRequired["capo_emr.types.instance_id.InstanceId"]
    """<p>The unique identifier for the instance in Amazon EMR.</p>"""
    ec2_instance_id: NotRequired["capo_emr.types.instance_id.InstanceId"]
    """<p>The unique identifier of the instance in Amazon EC2.</p>"""
    public_dns_name: NotRequired["capo_emr.types.string.String"]
    """<p>The public DNS name of the instance.</p>"""
    public_ip_address: NotRequired["capo_emr.types.string.String"]
    """<p>The public IP address of the instance.</p>"""
    private_dns_name: NotRequired["capo_emr.types.string.String"]
    """<p>The private DNS name of the instance.</p>"""
    private_ip_address: NotRequired["capo_emr.types.string.String"]
    """<p>The private IP address of the instance.</p>"""
    status: NotRequired["capo_emr.types.instance_status.InstanceStatus"]
    """<p>The current status of the instance.</p>"""
    instance_group_id: NotRequired["capo_emr.types.string.String"]
    """<p>The identifier of the instance group to which this instance belongs.</p>"""
    instance_fleet_id: NotRequired["capo_emr.types.instance_fleet_id.InstanceFleetId"]
    """<p>The unique identifier of the instance fleet to which an Amazon EC2 instance belongs.</p>"""
    market: NotRequired["capo_emr.types.market_type.MarketType"]
    """<p>The instance purchasing option. Valid values are <code>ON_DEMAND</code> or <code>SPOT</code>. </p>"""
    instance_type: NotRequired["capo_emr.types.instance_type.InstanceType"]
    """<p>The Amazon EC2 instance type, for example <code>m3.xlarge</code>.</p>"""
    ebs_volumes: NotRequired["capo_emr.types.ebs_volume_list.EbsVolumeList"]
    """<p>The list of Amazon EBS volumes that are attached to this instance.</p>"""

ebs_volumes instance-attribute

ebs_volumes: NotRequired[EbsVolumeList]

The list of Amazon EBS volumes that are attached to this instance.

ec2_instance_id instance-attribute

ec2_instance_id: NotRequired[InstanceId]

The unique identifier of the instance in Amazon EC2.

id instance-attribute

id: NotRequired[InstanceId]

The unique identifier for the instance in Amazon EMR.

instance_fleet_id instance-attribute

instance_fleet_id: NotRequired[InstanceFleetId]

The unique identifier of the instance fleet to which an Amazon EC2 instance belongs.

instance_group_id instance-attribute

instance_group_id: NotRequired[String]

The identifier of the instance group to which this instance belongs.

instance_type instance-attribute

instance_type: NotRequired[InstanceType]

The Amazon EC2 instance type, for example m3.xlarge.

market instance-attribute

market: NotRequired[MarketType]

The instance purchasing option. Valid values are ON_DEMAND or SPOT.

private_dns_name instance-attribute

private_dns_name: NotRequired[String]

The private DNS name of the instance.

private_ip_address instance-attribute

private_ip_address: NotRequired[String]

The private IP address of the instance.

public_dns_name instance-attribute

public_dns_name: NotRequired[String]

The public DNS name of the instance.

public_ip_address instance-attribute

public_ip_address: NotRequired[String]

The public IP address of the instance.

status instance-attribute

status: NotRequired[InstanceStatus]

The current status of the instance.