Class ClusterEc2AttributesArgs.Builder

  • Enclosing class:
    ClusterEc2AttributesArgs

    public static final class ClusterEc2AttributesArgs.Builder
    extends java.lang.Object
    • Method Detail

      • additionalMasterSecurityGroups

        public ClusterEc2AttributesArgs.Builder additionalMasterSecurityGroups​(@Nullable
                                                                               com.pulumi.core.Output<java.lang.String> additionalMasterSecurityGroups)
        Parameters:
        additionalMasterSecurityGroups - String containing a comma separated list of additional Amazon EC2 security group IDs for the master node.
        Returns:
        builder
      • additionalMasterSecurityGroups

        public ClusterEc2AttributesArgs.Builder additionalMasterSecurityGroups​(java.lang.String additionalMasterSecurityGroups)
        Parameters:
        additionalMasterSecurityGroups - String containing a comma separated list of additional Amazon EC2 security group IDs for the master node.
        Returns:
        builder
      • additionalSlaveSecurityGroups

        public ClusterEc2AttributesArgs.Builder additionalSlaveSecurityGroups​(@Nullable
                                                                              com.pulumi.core.Output<java.lang.String> additionalSlaveSecurityGroups)
        Parameters:
        additionalSlaveSecurityGroups - String containing a comma separated list of additional Amazon EC2 security group IDs for the slave nodes as a comma separated string.
        Returns:
        builder
      • additionalSlaveSecurityGroups

        public ClusterEc2AttributesArgs.Builder additionalSlaveSecurityGroups​(java.lang.String additionalSlaveSecurityGroups)
        Parameters:
        additionalSlaveSecurityGroups - String containing a comma separated list of additional Amazon EC2 security group IDs for the slave nodes as a comma separated string.
        Returns:
        builder
      • emrManagedMasterSecurityGroup

        public ClusterEc2AttributesArgs.Builder emrManagedMasterSecurityGroup​(@Nullable
                                                                              com.pulumi.core.Output<java.lang.String> emrManagedMasterSecurityGroup)
        Parameters:
        emrManagedMasterSecurityGroup - Identifier of the Amazon EC2 EMR-Managed security group for the master node.
        Returns:
        builder
      • emrManagedMasterSecurityGroup

        public ClusterEc2AttributesArgs.Builder emrManagedMasterSecurityGroup​(java.lang.String emrManagedMasterSecurityGroup)
        Parameters:
        emrManagedMasterSecurityGroup - Identifier of the Amazon EC2 EMR-Managed security group for the master node.
        Returns:
        builder
      • emrManagedSlaveSecurityGroup

        public ClusterEc2AttributesArgs.Builder emrManagedSlaveSecurityGroup​(@Nullable
                                                                             com.pulumi.core.Output<java.lang.String> emrManagedSlaveSecurityGroup)
        Parameters:
        emrManagedSlaveSecurityGroup - Identifier of the Amazon EC2 EMR-Managed security group for the slave nodes.
        Returns:
        builder
      • emrManagedSlaveSecurityGroup

        public ClusterEc2AttributesArgs.Builder emrManagedSlaveSecurityGroup​(java.lang.String emrManagedSlaveSecurityGroup)
        Parameters:
        emrManagedSlaveSecurityGroup - Identifier of the Amazon EC2 EMR-Managed security group for the slave nodes.
        Returns:
        builder
      • instanceProfile

        public ClusterEc2AttributesArgs.Builder instanceProfile​(com.pulumi.core.Output<java.lang.String> instanceProfile)
        Parameters:
        instanceProfile - Instance Profile for EC2 instances of the cluster assume this role.
        Returns:
        builder
      • instanceProfile

        public ClusterEc2AttributesArgs.Builder instanceProfile​(java.lang.String instanceProfile)
        Parameters:
        instanceProfile - Instance Profile for EC2 instances of the cluster assume this role.
        Returns:
        builder
      • keyName

        public ClusterEc2AttributesArgs.Builder keyName​(@Nullable
                                                        com.pulumi.core.Output<java.lang.String> keyName)
        Parameters:
        keyName - Amazon EC2 key pair that can be used to SSH to the master node as the user called `hadoop`.
        Returns:
        builder
      • keyName

        public ClusterEc2AttributesArgs.Builder keyName​(java.lang.String keyName)
        Parameters:
        keyName - Amazon EC2 key pair that can be used to SSH to the master node as the user called `hadoop`.
        Returns:
        builder
      • serviceAccessSecurityGroup

        public ClusterEc2AttributesArgs.Builder serviceAccessSecurityGroup​(@Nullable
                                                                           com.pulumi.core.Output<java.lang.String> serviceAccessSecurityGroup)
        Parameters:
        serviceAccessSecurityGroup - Identifier of the Amazon EC2 service-access security group - required when the cluster runs on a private subnet.
        Returns:
        builder
      • serviceAccessSecurityGroup

        public ClusterEc2AttributesArgs.Builder serviceAccessSecurityGroup​(java.lang.String serviceAccessSecurityGroup)
        Parameters:
        serviceAccessSecurityGroup - Identifier of the Amazon EC2 service-access security group - required when the cluster runs on a private subnet.
        Returns:
        builder
      • subnetId

        public ClusterEc2AttributesArgs.Builder subnetId​(@Nullable
                                                         com.pulumi.core.Output<java.lang.String> subnetId)
        Parameters:
        subnetId - VPC subnet ID where you want the job flow to launch. Cannot specify the `cc1.4xlarge` instance type for nodes of a job flow launched in an Amazon VPC.
        Returns:
        builder
      • subnetId

        public ClusterEc2AttributesArgs.Builder subnetId​(java.lang.String subnetId)
        Parameters:
        subnetId - VPC subnet ID where you want the job flow to launch. Cannot specify the `cc1.4xlarge` instance type for nodes of a job flow launched in an Amazon VPC.
        Returns:
        builder
      • subnetIds

        public ClusterEc2AttributesArgs.Builder subnetIds​(@Nullable
                                                          com.pulumi.core.Output<java.util.List<java.lang.String>> subnetIds)
        Parameters:
        subnetIds - List of VPC subnet id-s where you want the job flow to launch. Amazon EMR identifies the best Availability Zone to launch instances according to your fleet specifications. > **NOTE on EMR-Managed security groups:** These security groups will have any missing inbound or outbound access rules added and maintained by AWS, to ensure proper communication between instances in a cluster. The EMR service will maintain these rules for groups provided in `emrManagedMasterSecurityGroup` and `emrManagedSlaveSecurityGroup`; attempts to remove the required rules may succeed, only for the EMR service to re-add them in a matter of minutes. This may cause this provider to fail to destroy an environment that contains an EMR cluster, because the EMR service does not revoke rules added on deletion, leaving a cyclic dependency between the security groups that prevents their deletion. To avoid this, use the `revokeRulesOnDelete` optional attribute for any Security Group used in `emrManagedMasterSecurityGroup` and `emrManagedSlaveSecurityGroup`. See [Amazon EMR-Managed Security Groups](http://docs.aws.amazon.com/emr/latest/ManagementGuide/emr-man-sec-groups.html) for more information about the EMR-managed security group rules.
        Returns:
        builder
      • subnetIds

        public ClusterEc2AttributesArgs.Builder subnetIds​(java.util.List<java.lang.String> subnetIds)
        Parameters:
        subnetIds - List of VPC subnet id-s where you want the job flow to launch. Amazon EMR identifies the best Availability Zone to launch instances according to your fleet specifications. > **NOTE on EMR-Managed security groups:** These security groups will have any missing inbound or outbound access rules added and maintained by AWS, to ensure proper communication between instances in a cluster. The EMR service will maintain these rules for groups provided in `emrManagedMasterSecurityGroup` and `emrManagedSlaveSecurityGroup`; attempts to remove the required rules may succeed, only for the EMR service to re-add them in a matter of minutes. This may cause this provider to fail to destroy an environment that contains an EMR cluster, because the EMR service does not revoke rules added on deletion, leaving a cyclic dependency between the security groups that prevents their deletion. To avoid this, use the `revokeRulesOnDelete` optional attribute for any Security Group used in `emrManagedMasterSecurityGroup` and `emrManagedSlaveSecurityGroup`. See [Amazon EMR-Managed Security Groups](http://docs.aws.amazon.com/emr/latest/ManagementGuide/emr-man-sec-groups.html) for more information about the EMR-managed security group rules.
        Returns:
        builder
      • subnetIds

        public ClusterEc2AttributesArgs.Builder subnetIds​(java.lang.String... subnetIds)
        Parameters:
        subnetIds - List of VPC subnet id-s where you want the job flow to launch. Amazon EMR identifies the best Availability Zone to launch instances according to your fleet specifications. > **NOTE on EMR-Managed security groups:** These security groups will have any missing inbound or outbound access rules added and maintained by AWS, to ensure proper communication between instances in a cluster. The EMR service will maintain these rules for groups provided in `emrManagedMasterSecurityGroup` and `emrManagedSlaveSecurityGroup`; attempts to remove the required rules may succeed, only for the EMR service to re-add them in a matter of minutes. This may cause this provider to fail to destroy an environment that contains an EMR cluster, because the EMR service does not revoke rules added on deletion, leaving a cyclic dependency between the security groups that prevents their deletion. To avoid this, use the `revokeRulesOnDelete` optional attribute for any Security Group used in `emrManagedMasterSecurityGroup` and `emrManagedSlaveSecurityGroup`. See [Amazon EMR-Managed Security Groups](http://docs.aws.amazon.com/emr/latest/ManagementGuide/emr-man-sec-groups.html) for more information about the EMR-managed security group rules.
        Returns:
        builder