InstanceGroupArgs class
The set of arguments for InstanceGroup. The set of arguments for InstanceGroup.
Constructors
-
InstanceGroupArgs({Input<
String?> ? autoscalingPolicy, Input<String?> ? bidPrice, required Input<String> clusterId, Input<String?> ? configurationsJson, Input<List< ? ebsConfigs, Input<InstanceGroupEbsConfig> ?>bool?> ? ebsOptimized, Input<int?> ? instanceCount, required Input<String> instanceType, Input<String?> ? name, Input<String?> ? region}) -
Creates a new InstanceGroupArgs.
autoscalingPolicyThe autoscaling policy document. This is a JSON formatted string. See EMR Auto ScalingbidPriceIf set, the bid price for each EC2 instance in the instance group, expressed in USD. By setting this attribute, the instance group is being declared as a Spot Instance, and will implicitly create a Spot request. Leave this blank to use On-Demand Instances.clusterIdID of the EMR Cluster to attach to. Changing this forces a new resource to be created.configurationsJsonA JSON string for supplying list of configurations specific to the EMR instance group. Note that this can only be changed when using EMR release 5.21 or later.ebsConfigsOne or moreebsConfigblocks as defined below. Changing this forces a new resource to be created.ebsOptimizedIndicates whether an Amazon EBS volume is EBS-optimized. Changing this forces a new resource to be created.instanceCounttarget number of instances for the instance group. defaults to 0.instanceTypeThe EC2 instance type for all instances in the instance group. Changing this forces a new resource to be created.nameHuman friendly name given to the instance group. Changing this forces a new resource to be created.regionRegion where this resource will be managed. Defaults to the Region set in the provider configuration.const -
InstanceGroupArgs.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
autoscalingPolicy
→ Input<
String?> ? -
The autoscaling policy document. This is a JSON formatted string. See EMR Auto Scaling
final
-
bidPrice
→ Input<
String?> ? -
If set, the bid price for each EC2 instance in the instance group, expressed in USD. By setting this attribute, the instance group is being declared as a Spot Instance, and will implicitly create a Spot request. Leave this blank to use On-Demand Instances.
final
-
clusterId
→ Input<
String> -
ID of the EMR Cluster to attach to. Changing this forces a new resource to be created.
final
-
configurationsJson
→ Input<
String?> ? -
A JSON string for supplying list of configurations specific to the EMR instance group. Note that this can only be changed when using EMR release 5.21 or later.
final
-
ebsConfigs
→ Input<
List< ?InstanceGroupEbsConfig> ?> -
One or more
ebsConfigblocks as defined below. Changing this forces a new resource to be created.final -
ebsOptimized
→ Input<
bool?> ? -
Indicates whether an Amazon EBS volume is EBS-optimized. Changing this forces a new resource to be created.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
instanceCount
→ Input<
int?> ? -
target number of instances for the instance group. defaults to 0.
final
-
instanceType
→ Input<
String> -
The EC2 instance type for all instances in the instance group. Changing this forces a new resource to be created.
final
-
name
→ Input<
String?> ? -
Human friendly name given to the instance group. Changing this forces a new resource to be created.
final
-
region
→ Input<
String?> ? -
Region where this resource will be managed. Defaults to the Region set in the provider configuration.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited