InstanceGroupConfig class

Configuration defining a new instance group.

Constructors

InstanceGroupConfig({required int instanceCount, required InstanceRoleType instanceRole, required String instanceType, AutoScalingPolicy? autoScalingPolicy, String? bidPrice, List<Configuration>? configurations, EbsConfiguration? ebsConfiguration, MarketType? market, String? name})

Properties

autoScalingPolicy 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 EC2 instances in response to the value of a CloudWatch metric. See PutAutoScalingPolicy.
final
bidPrice String?
The bid price for each EC2 Spot Instance type as defined by InstanceType. Expressed in USD. If neither BidPrice nor BidPriceAsPercentageOfOnDemandPrice is provided, BidPriceAsPercentageOfOnDemandPrice defaults to 100%.
final
configurations List<Configuration>?
final
ebsConfiguration EbsConfiguration?
EBS configurations that will be attached to each EC2 instance in the instance group.
final
hashCode int
The hash code for this object.
no setterinherited
instanceCount int
Target number of instances for the instance group.
final
instanceRole InstanceRoleType
The role of the instance group in the cluster.
final
instanceType String
The EC2 instance type for all instances in the instance group.
final
market MarketType?
Market type of the EC2 instances used to create a cluster node.
final
name String?
Friendly name given to the instance group.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited