InstanceFleet class
Describes an instance fleet, which is a group of EC2 instances that host a particular node type (master, core, or task) in an Amazon EMR cluster. Instance fleets can consist of a mix of instance types and On-Demand and Spot Instances, which are provisioned to meet a defined target capacity.
Constructors
-
InstanceFleet({String? id, InstanceFleetType? instanceFleetType, List<
InstanceTypeSpecification> ? instanceTypeSpecifications, InstanceFleetProvisioningSpecifications? launchSpecifications, String? name, int? provisionedOnDemandCapacity, int? provisionedSpotCapacity, InstanceFleetStatus? status, int? targetOnDemandCapacity, int? targetSpotCapacity}) -
InstanceFleet.fromJson(Map<
String, dynamic> json) -
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String?
-
The unique identifier of the instance fleet.
final
- instanceFleetType → InstanceFleetType?
-
The node type that the instance fleet hosts. Valid values are MASTER, CORE,
or TASK.
final
-
instanceTypeSpecifications
→ List<
InstanceTypeSpecification> ? -
The specification for the instance types that comprise an instance fleet. Up
to five unique instance specifications may be defined for each instance
fleet.
final
- launchSpecifications → InstanceFleetProvisioningSpecifications?
-
Describes the launch specification for an instance fleet.
final
- name → String?
-
A friendly name for the instance fleet.
final
- provisionedOnDemandCapacity → int?
-
The number of On-Demand units that have been provisioned for the instance
fleet to fulfill
TargetOnDemandCapacity
. This provisioned capacity might be less than or greater thanTargetOnDemandCapacity
.final - provisionedSpotCapacity → int?
-
The number of Spot units that have been provisioned for this instance fleet
to fulfill
TargetSpotCapacity
. This provisioned capacity might be less than or greater thanTargetSpotCapacity
.final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- status → InstanceFleetStatus?
-
The current status of the instance fleet.
final
- 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, theWeightedCapacity
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 aWeightedCapacity
of 5 units, the instance is provisioned, and the target capacity is exceeded by 3 units. You can use InstanceFleet$ProvisionedOnDemandCapacity to determine the Spot capacity units that have been provisioned for the instance fleet.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, theWeightedCapacity
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 aWeightedCapacity
of 5 units, the instance is provisioned, and the target capacity is exceeded by 3 units. You can use InstanceFleet$ProvisionedSpotCapacity to determine the Spot capacity units that have been provisioned for the instance fleet.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