InstanceFleetConfig class

The configuration that defines an instance fleet.

Constructors

InstanceFleetConfig({required InstanceFleetType instanceFleetType, List<InstanceTypeConfig>? instanceTypeConfigs, InstanceFleetProvisioningSpecifications? launchSpecifications, String? name, int? targetOnDemandCapacity, int? targetSpotCapacity})

Properties

hashCode int
The hash code for this object.
no setterinherited
instanceFleetType InstanceFleetType
The node type that the instance fleet hosts. Valid values are MASTER,CORE,and TASK.
final
instanceTypeConfigs List<InstanceTypeConfig>?
The instance type configurations that define the EC2 instances in the instance fleet.
final
launchSpecifications InstanceFleetProvisioningSpecifications?
The launch specification for the instance fleet.
final
name String?
The friendly name of the instance fleet.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
targetOnDemandCapacity int?
The target capacity of On-Demand units for the instance fleet, which determines how many On-Demand Instances to provision. When the instance fleet launches, Amazon EMR tries to provision On-Demand Instances as specified by InstanceTypeConfig. Each instance configuration has a specified WeightedCapacity. When an On-Demand Instance is provisioned, the WeightedCapacity units count toward the target capacity. Amazon EMR provisions instances until the target capacity is totally fulfilled, even if this results in an overage. For example, if there are 2 units remaining to fulfill capacity, and Amazon EMR can only provision an instance with a WeightedCapacity of 5 units, the instance is provisioned, and the target capacity is exceeded by 3 units.
final
targetSpotCapacity int?
The target capacity of Spot units for the instance fleet, which determines how many Spot Instances to provision. When the instance fleet launches, Amazon EMR tries to provision Spot Instances as specified by InstanceTypeConfig. Each instance configuration has a specified WeightedCapacity. When a Spot Instance is provisioned, the WeightedCapacity units count toward the target capacity. Amazon EMR provisions instances until the target capacity is totally fulfilled, even if this results in an overage. For example, if there are 2 units remaining to fulfill capacity, and Amazon EMR can only provision an instance with a WeightedCapacity of 5 units, the instance is provisioned, and the target capacity is exceeded by 3 units.
final

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