InstanceTypeSpecification class
The configuration specification for each instance type in an instance fleet.
Constructors
-
InstanceTypeSpecification({String? bidPrice, double? bidPriceAsPercentageOfOnDemandPrice, List<
Configuration> ? configurations, List<EbsBlockDevice> ? ebsBlockDevices, bool? ebsOptimized, String? instanceType, int? weightedCapacity}) -
InstanceTypeSpecification.fromJson(Map<
String, dynamic> json) -
factory
Properties
- bidPrice → String?
-
The bid price for each EC2 Spot Instance type as defined by
InstanceType
. Expressed in USD.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%).final -
configurations
→ List<
Configuration> ? -
A configuration classification that applies when provisioning cluster
instances, which can include configurations for applications and software
bundled with Amazon EMR.
final
-
ebsBlockDevices
→ List<
EbsBlockDevice> ? -
The configuration of Amazon Elastic Block Storage (Amazon EBS) attached to
each instance as defined by
InstanceType
.final - ebsOptimized → bool?
-
Evaluates to
TRUE
when the specifiedInstanceType
is EBS-optimized.final - hashCode → int
-
The hash code for this object.
no setterinherited
- instanceType → String?
-
The EC2 instance type, for example
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.
Capacity values represent performance characteristics such as vCPUs, memory,
or I/O. If not specified, the default value is 1.
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