Class ClusterMasterInstanceGroupArgs.Builder

    • Method Detail

      • bidPrice

        public ClusterMasterInstanceGroupArgs.Builder bidPrice​(@Nullable
                                                               com.pulumi.core.Output<java.lang.String> bidPrice)
        Parameters:
        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.
        Returns:
        builder
      • bidPrice

        public ClusterMasterInstanceGroupArgs.Builder bidPrice​(java.lang.String bidPrice)
        Parameters:
        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.
        Returns:
        builder
      • instanceCount

        public ClusterMasterInstanceGroupArgs.Builder instanceCount​(@Nullable
                                                                    com.pulumi.core.Output<java.lang.Integer> instanceCount)
        Parameters:
        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 `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.
        Returns:
        builder
      • instanceCount

        public ClusterMasterInstanceGroupArgs.Builder instanceCount​(java.lang.Integer instanceCount)
        Parameters:
        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 `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.
        Returns:
        builder
      • instanceType

        public ClusterMasterInstanceGroupArgs.Builder instanceType​(com.pulumi.core.Output<java.lang.String> instanceType)
        Parameters:
        instanceType - EC2 instance type for all instances in the instance group.
        Returns:
        builder
      • instanceType

        public ClusterMasterInstanceGroupArgs.Builder instanceType​(java.lang.String instanceType)
        Parameters:
        instanceType - EC2 instance type for all instances in the instance group.
        Returns:
        builder
      • name

        public ClusterMasterInstanceGroupArgs.Builder name​(@Nullable
                                                           com.pulumi.core.Output<java.lang.String> name)
        Parameters:
        name - Friendly name given to the instance group.
        Returns:
        builder