ClusterMasterInstanceGroup

data class ClusterMasterInstanceGroup(val bidPrice: String? = null, val ebsConfigs: List<ClusterMasterInstanceGroupEbsConfig>? = null, val id: String? = null, val instanceCount: Int? = null, val instanceType: String, val name: String? = null)

Constructors

Link copied to clipboard
constructor(bidPrice: String? = null, ebsConfigs: List<ClusterMasterInstanceGroupEbsConfig>? = null, id: String? = null, instanceCount: Int? = null, instanceType: String, name: String? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val bidPrice: String? = null

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.

Link copied to clipboard

Configuration block(s) for EBS volumes attached to each instance in the instance group. Detailed below.

Link copied to clipboard
val id: String? = null

ID of the cluster.

Link copied to clipboard
val instanceCount: Int? = null

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 core_instance_group 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 termination_protection = false configuration applied before destroying this resource.

Link copied to clipboard

EC2 instance type for all instances in the instance group.

Link copied to clipboard
val name: String? = null

Friendly name given to the instance group.