InstanceGroupConfig
¶
Source code in docs_src/capo_emr/types/instance_group_config.py
auto_scaling_policy
instance-attribute
¶
auto_scaling_policy: NotRequired[AutoScalingPolicy]
An automatic scaling policy for a core instance group or task instance group in an Amazon EMR cluster. The automatic scaling policy defines how an instance group dynamically adds and terminates Amazon EC2 instances in response to the value of a CloudWatch metric. See PutAutoScalingPolicy.
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%.
configurations
instance-attribute
¶
configurations: NotRequired[ConfigurationList]
Amazon EMR releases 4.x or later.
The list of configurations supplied for an Amazon EMR cluster instance group. You can specify a separate configuration for each instance group (master, core, and task).
custom_ami_id
instance-attribute
¶
custom_ami_id: NotRequired[XmlStringMaxLen256]
The custom AMI ID to use for the provisioned instance group.
ebs_configuration
instance-attribute
¶
ebs_configuration: NotRequired[EbsConfiguration]
EBS configurations that will be attached to each Amazon EC2 instance in the instance group.
instance_count
instance-attribute
¶
instance_count: NotRequired[Integer]
Target number of instances for the instance group.
instance_role
instance-attribute
¶
instance_role: NotRequired[InstanceRoleType]
The role of the instance group in the cluster.
instance_type
instance-attribute
¶
instance_type: NotRequired[InstanceType]
The Amazon EC2 instance type for all instances in 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 given to the instance group.