Class ClusterMasterInstanceGroup


  • public final class ClusterMasterInstanceGroup
    extends java.lang.Object
    • Method Detail

      • bidPrice

        public java.util.Optional<java.lang.String> bidPrice()
        Returns:
        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

        public java.util.List<ClusterMasterInstanceGroupEbsConfig> ebsConfigs()
        Returns:
        Configuration block(s) for EBS volumes attached to each instance in the instance group. Detailed below.
      • id

        public java.util.Optional<java.lang.String> id()
        Returns:
        Master node type Instance Group ID, if using Instance Group for this node type.
      • instanceCount

        public java.util.Optional<java.lang.Integer> instanceCount()
        Returns:
        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

        public java.lang.String instanceType()
        Returns:
        EC2 instance type for all instances in the instance group.
      • name

        public java.util.Optional<java.lang.String> name()
        Returns:
        Friendly name given to the instance group.