InstanceGroup class

This entity represents an instance group, which is a group of instances that have common purpose. For example, CORE instance group is used for HDFS.

Constructors

InstanceGroup({AutoScalingPolicyDescription? autoScalingPolicy, String? bidPrice, List<Configuration>? configurations, int? configurationsVersion, List<EbsBlockDevice>? ebsBlockDevices, bool? ebsOptimized, String? id, InstanceGroupType? instanceGroupType, String? instanceType, List<Configuration>? lastSuccessfullyAppliedConfigurations, int? lastSuccessfullyAppliedConfigurationsVersion, MarketType? market, String? name, int? requestedInstanceCount, int? runningInstanceCount, ShrinkPolicy? shrinkPolicy, InstanceGroupStatus? status})
InstanceGroup.fromJson(Map<String, dynamic> json)
factory

Properties

autoScalingPolicy AutoScalingPolicyDescription?
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
configurationsVersion int?
The version number of the requested configuration specification for this instance group.
final
ebsBlockDevices List<EbsBlockDevice>?
The EBS block devices that are mapped to this instance group.
final
ebsOptimized bool?
If the instance group is EBS-optimized. An Amazon EBS-optimized instance uses an optimized configuration stack and provides additional, dedicated capacity for Amazon EBS I/O.
final
hashCode int
The hash code for this object.
no setterinherited
id String?
The identifier of the instance group.
final
instanceGroupType InstanceGroupType?
The type of the instance group. Valid values are MASTER, CORE or TASK.
final
instanceType String?
The EC2 instance type for all instances in the instance group.
final
lastSuccessfullyAppliedConfigurations List<Configuration>?
A list of configurations that were successfully applied for an instance group last time.
final
lastSuccessfullyAppliedConfigurationsVersion int?
The version number of a configuration specification that was successfully applied for an instance group last time.
final
market MarketType?
The marketplace to provision instances for this group. Valid values are ON_DEMAND or SPOT.
final
name String?
The name of the instance group.
final
requestedInstanceCount int?
The target number of instances for the instance group.
final
runningInstanceCount int?
The number of instances currently running in this instance group.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
shrinkPolicy ShrinkPolicy?
Policy for customizing shrink operations.
final
status InstanceGroupStatus?
The current status of the instance group.
final

Methods

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

Operators

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