InstanceFleetInstanceTypeConfig class
Constructors
-
InstanceFleetInstanceTypeConfig({Input<String?>? bidPrice, Input<double?>? bidPriceAsPercentageOfOnDemandPrice, Input<List<InstanceFleetInstanceTypeConfigConfiguration>?>? configurations, Input<List<InstanceFleetInstanceTypeConfigEbsConfig>?>? ebsConfigs, required Input<String> instanceType, Input<int?>? weightedCapacity})
-
Creates a new InstanceFleetInstanceTypeConfig.
bidPrice 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%.
bidPriceAsPercentageOfOnDemandPrice 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 neither bidPrice nor bidPriceAsPercentageOfOnDemandPrice is provided, bidPriceAsPercentageOfOnDemandPrice defaults to 100%.
configurations A configuration classification that applies when provisioning cluster instances, which can include configurations for applications and software that run on the cluster. List of configuration blocks.
ebsConfigs Configuration block(s) for EBS volumes attached to each instance in the instance group. Detailed below.
instanceType An EC2 instance type, such as m4.xlarge.
weightedCapacity The number of units that a provisioned instance of this type provides toward fulfilling the target capacities defined in aws.emr.InstanceFleet.
const
-
InstanceFleetInstanceTypeConfig.fromMap(Map<String, dynamic> map)
-
factory
Properties
-
bidPrice
→ Input<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
-
bidPriceAsPercentageOfOnDemandPrice
→ Input<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 neither bidPrice nor bidPriceAsPercentageOfOnDemandPrice is provided, bidPriceAsPercentageOfOnDemandPrice defaults to 100%.
final
-
configurations
→ Input<List<InstanceFleetInstanceTypeConfigConfiguration>?>?
-
A configuration classification that applies when provisioning cluster instances, which can include configurations for applications and software that run on the cluster. List of
configuration blocks.
final
-
ebsConfigs
→ Input<List<InstanceFleetInstanceTypeConfigEbsConfig>?>?
-
Configuration block(s) for EBS volumes attached to each instance in the instance group. Detailed below.
final
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
instanceType
→ Input<String>
-
An EC2 instance type, such as m4.xlarge.
final
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
-
weightedCapacity
→ Input<int?>?
-
The number of units that a provisioned instance of this type provides toward fulfilling the target capacities defined in
aws.emr.InstanceFleet.
final