InstanceTypeConfig class
An instance type configuration for each instance type in an instance fleet, which determines the EC2 instances Amazon EMR attempts to provision to fulfill On-Demand and Spot target capacities. There can be a maximum of five instance type configurations in a fleet.
Constructors
-
InstanceTypeConfig({required String instanceType, String? bidPrice, double? bidPriceAsPercentageOfOnDemandPrice, List<
Configuration> ? configurations, EbsConfiguration? ebsConfiguration, int? weightedCapacity})
Properties
- bidPrice → String?
-
The bid price for each EC2 Spot Instance type as defined by
InstanceType
. Expressed in USD. If neitherBidPrice
norBidPriceAsPercentageOfOnDemandPrice
is provided,BidPriceAsPercentageOfOnDemandPrice
defaults to 100%.final - bidPriceAsPercentageOfOnDemandPrice → double?
-
The bid price, as a percentage of On-Demand price, for each EC2 Spot
Instance as defined by
InstanceType
. Expressed as a number (for example, 20 specifies 20%). If neitherBidPrice
norBidPriceAsPercentageOfOnDemandPrice
is provided,BidPriceAsPercentageOfOnDemandPrice
defaults to 100%.final -
configurations
→ List<
Configuration> ? -
A configuration classification that applies when provisioning cluster
instances, which can include configurations for applications and software
that run on the cluster.
final
- ebsConfiguration → EbsConfiguration?
-
The configuration of Amazon Elastic Block Storage (Amazon EBS) attached to
each instance as defined by
InstanceType
.final - hashCode → int
-
The hash code for this object.
no setterinherited
- instanceType → String
-
An EC2 instance type, such as
m3.xlarge
.final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- weightedCapacity → int?
-
The number of units that a provisioned instance of this type provides toward
fulfilling the target capacities defined in InstanceFleetConfig. This
value is 1 for a master instance fleet, and must be 1 or greater for core
and task instance fleets. Defaults to 1 if not specified.
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