ClusterMasterInstanceGroup constructor

const ClusterMasterInstanceGroup({
  1. Input<String?>? bidPrice,
  2. Input<List<ClusterMasterInstanceGroupEbsConfig>?>? ebsConfigs,
  3. Input<String?>? id,
  4. Input<int?>? instanceCount,
  5. required Input<String> instanceType,
  6. Input<String?>? name,
})

Creates a new ClusterMasterInstanceGroup. bidPrice 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. ebsConfigs Configuration block(s) for EBS volumes attached to each instance in the instance group. Detailed below. id Master node type Instance Group ID, if using Instance Group for this node type. instanceCount Target number of instances for the instance group. Must be 1 or 3. Defaults to 1. Launching with multiple master nodes is only supported in EMR version 5.23.0+, and requires this resource's coreInstanceGroup to be configured. Public (Internet accessible) instances must be created in VPC subnets that have map public IP on launch enabled. Termination protection is automatically enabled when launched with multiple master nodes and this provider must have the terminationProtection = false configuration applied before destroying this resource. instanceType EC2 instance type for all instances in the instance group. name Friendly name given to the instance group.

Implementation

const ClusterMasterInstanceGroup({
  this.bidPrice,
  this.ebsConfigs,
  this.id,
  this.instanceCount,
  required this.instanceType,
  this.name,
});