Skip to content

InstanceTypeSpecification

Source code in docs_src/capo_emr/types/instance_type_specification.py
class InstanceTypeSpecification(TypedDict, closed=True):
    instance_type: NotRequired["capo_emr.types.instance_type.InstanceType"]
    """<p>The Amazon EC2 instance type, for example <code>m3.xlarge</code>.</p>"""
    weighted_capacity: NotRequired["capo_emr.types.whole_number.WholeNumber"]
    """<p>The number of units that a provisioned instance of this type provides toward fulfilling the target capacities defined in <a>InstanceFleetConfig</a>. Capacity values represent performance characteristics such as vCPUs, memory, or I/O. If not specified, the default value is 1.</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>"""
    bid_price_as_percentage_of_on_demand_price: NotRequired[
        "capo_emr.types.non_negative_double.NonNegativeDouble"
    ]
    """<p>The bid price, as a percentage of On-Demand price, for each Amazon EC2 Spot Instance as defined by <code>InstanceType</code>. Expressed as a number (for example, 20 specifies 20%).</p>"""
    configurations: NotRequired["capo_emr.types.configuration_list.ConfigurationList"]
    """<p>A configuration classification that applies when provisioning cluster instances, which can include configurations for applications and software bundled with Amazon EMR.</p>"""
    ebs_block_devices: NotRequired[
        "capo_emr.types.ebs_block_device_list.EbsBlockDeviceList"
    ]
    """<p>The configuration of Amazon Elastic Block Store (Amazon EBS) attached to each instance as defined by <code>InstanceType</code>.</p>"""
    ebs_optimized: NotRequired["capo_emr.types.boolean_object.BooleanObject"]
    """<p>Evaluates to <code>TRUE</code> when the specified <code>InstanceType</code> is EBS-optimized.</p>"""
    custom_ami_id: NotRequired[
        "capo_emr.types.xml_string_max_len256.XmlStringMaxLen256"
    ]
    """<p>The custom AMI ID to use for the instance type.</p>"""
    priority: NotRequired["capo_emr.types.non_negative_double.NonNegativeDouble"]
    """<p>The priority at which Amazon EMR launches the Amazon EC2 instances with this instance type. Priority starts at 0, which is the highest priority. Amazon EMR considers the highest priority first.</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%.

bid_price_as_percentage_of_on_demand_price instance-attribute

bid_price_as_percentage_of_on_demand_price: NotRequired[NonNegativeDouble]

The bid price, as a percentage of On-Demand price, for each Amazon EC2 Spot Instance as defined by InstanceType. Expressed as a number (for example, 20 specifies 20%).

configurations instance-attribute

configurations: NotRequired[ConfigurationList]

A configuration classification that applies when provisioning cluster instances, which can include configurations for applications and software bundled with Amazon EMR.

custom_ami_id instance-attribute

custom_ami_id: NotRequired[XmlStringMaxLen256]

The custom AMI ID to use for the instance type.

ebs_block_devices instance-attribute

ebs_block_devices: NotRequired[EbsBlockDeviceList]

The configuration of Amazon Elastic Block Store (Amazon EBS) attached to each instance as defined by InstanceType.

ebs_optimized instance-attribute

ebs_optimized: NotRequired[BooleanObject]

Evaluates to TRUE when the specified InstanceType is EBS-optimized.

instance_type instance-attribute

instance_type: NotRequired[InstanceType]

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

priority instance-attribute

priority: NotRequired[NonNegativeDouble]

The priority at which Amazon EMR launches the Amazon EC2 instances with this instance type. Priority starts at 0, which is the highest priority. Amazon EMR considers the highest priority first.

weighted_capacity instance-attribute

weighted_capacity: NotRequired[WholeNumber]

The number of units that a provisioned instance of this type provides toward fulfilling the target capacities defined in InstanceFleetConfig. Capacity values represent performance characteristics such as vCPUs, memory, or I/O. If not specified, the default value is 1.