Class ClusterEc2AttributesArgs


  • public final class ClusterEc2AttributesArgs
    extends com.pulumi.resources.ResourceArgs
    • Method Detail

      • additionalMasterSecurityGroups

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> additionalMasterSecurityGroups()
        Returns:
        String containing a comma separated list of additional Amazon EC2 security group IDs for the master node.
      • additionalSlaveSecurityGroups

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> additionalSlaveSecurityGroups()
        Returns:
        String containing a comma separated list of additional Amazon EC2 security group IDs for the slave nodes as a comma separated string.
      • emrManagedMasterSecurityGroup

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> emrManagedMasterSecurityGroup()
        Returns:
        Identifier of the Amazon EC2 EMR-Managed security group for the master node.
      • emrManagedSlaveSecurityGroup

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> emrManagedSlaveSecurityGroup()
        Returns:
        Identifier of the Amazon EC2 EMR-Managed security group for the slave nodes.
      • instanceProfile

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

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> keyName()
        Returns:
        Amazon EC2 key pair that can be used to SSH to the master node as the user called `hadoop`.
      • serviceAccessSecurityGroup

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> serviceAccessSecurityGroup()
        Returns:
        Identifier of the Amazon EC2 service-access security group - required when the cluster runs on a private subnet.
      • subnetId

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> subnetId()
        Returns:
        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.
      • subnetIds

        public java.util.Optional<com.pulumi.core.Output<java.util.List<java.lang.String>>> subnetIds()
        Returns:
        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.