InstanceGroupArgs constructor
- Input<
String?> ? autoscalingPolicy, - Input<
String?> ? bidPrice, - required Input<
String> clusterId, - Input<
String?> ? configurationsJson, - Input<
List< ? ebsConfigs,InstanceGroupEbsConfig> ?> - Input<
bool?> ? ebsOptimized, - Input<
int?> ? instanceCount, - required Input<
String> instanceType, - Input<
String?> ? name, - Input<
String?> ? region,
Creates a new InstanceGroupArgs.
autoscalingPolicy The autoscaling policy document. This is a JSON formatted string. See EMR Auto Scaling
bidPrice 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.
clusterId ID of the EMR Cluster to attach to. Changing this forces a new resource to be created.
configurationsJson 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.
ebsConfigs One or more ebsConfig blocks as defined below. Changing this forces a new resource to be created.
ebsOptimized Indicates whether an Amazon EBS volume is EBS-optimized. Changing this forces a new resource to be created.
instanceCount target number of instances for the instance group. defaults to 0.
instanceType The EC2 instance type for all instances in the instance group. Changing this forces a new resource to be created.
name Human friendly name given to the instance group. Changing this forces a new resource to be created.
region Region where this resource will be managed. Defaults to the Region set in the provider configuration.
Implementation
const InstanceGroupArgs({
this.autoscalingPolicy,
this.bidPrice,
required this.clusterId,
this.configurationsJson,
this.ebsConfigs,
this.ebsOptimized,
this.instanceCount,
required this.instanceType,
this.name,
this.region,
});