Class CfnClusterProps.Jsii$Proxy

java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.emr.CfnClusterProps.Jsii$Proxy
All Implemented Interfaces:
CfnClusterProps, software.amazon.jsii.JsiiSerializable
Enclosing interface:
CfnClusterProps

@Stability(Stable) @Internal public static final class CfnClusterProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CfnClusterProps
An implementation for CfnClusterProps
  • Constructor Details

    • Jsii$Proxy

      protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
      Constructor that initializes the object based on values retrieved from the JsiiObject.
      Parameters:
      objRef - Reference to the JSII managed object.
    • Jsii$Proxy

      protected Jsii$Proxy(CfnClusterProps.Builder builder)
      Constructor that initializes the object based on literal property values passed by the CfnClusterProps.Builder.
  • Method Details

    • getInstances

      public final Object getInstances()
      Description copied from interface: CfnClusterProps
      A specification of the number and type of Amazon EC2 instances.
      Specified by:
      getInstances in interface CfnClusterProps
    • getJobFlowRole

      public final String getJobFlowRole()
      Description copied from interface: CfnClusterProps
      Also called instance profile and Amazon EC2 role.

      An IAM role for an Amazon EMR cluster. The Amazon EC2 instances of the cluster assume this role. The default role is EMR_EC2_DefaultRole . In order to use the default role, you must have already created it using the AWS CLI or console.

      Specified by:
      getJobFlowRole in interface CfnClusterProps
    • getName

      public final String getName()
      Description copied from interface: CfnClusterProps
      The name of the cluster.
      Specified by:
      getName in interface CfnClusterProps
    • getServiceRole

      public final String getServiceRole()
      Description copied from interface: CfnClusterProps
      The IAM role that Amazon EMR assumes in order to access AWS resources on your behalf.
      Specified by:
      getServiceRole in interface CfnClusterProps
    • getAdditionalInfo

      public final Object getAdditionalInfo()
      Description copied from interface: CfnClusterProps
      A JSON string for selecting additional features.
      Specified by:
      getAdditionalInfo in interface CfnClusterProps
    • getApplications

      public final Object getApplications()
      Description copied from interface: CfnClusterProps
      The applications to install on this cluster, for example, Spark, Flink, Oozie, Zeppelin, and so on.
      Specified by:
      getApplications in interface CfnClusterProps
    • getAutoScalingRole

      public final String getAutoScalingRole()
      Description copied from interface: CfnClusterProps
      An IAM role for automatic scaling policies.

      The default role is EMR_AutoScaling_DefaultRole . The IAM role provides permissions that the automatic scaling feature requires to launch and terminate Amazon EC2 instances in an instance group.

      Specified by:
      getAutoScalingRole in interface CfnClusterProps
    • getAutoTerminationPolicy

      public final Object getAutoTerminationPolicy()
      Description copied from interface: CfnClusterProps
      AWS::EMR::Cluster.AutoTerminationPolicy.
      Specified by:
      getAutoTerminationPolicy in interface CfnClusterProps
    • getBootstrapActions

      public final Object getBootstrapActions()
      Description copied from interface: CfnClusterProps
      A list of bootstrap actions to run before Hadoop starts on the cluster nodes.
      Specified by:
      getBootstrapActions in interface CfnClusterProps
    • getConfigurations

      public final Object getConfigurations()
      Description copied from interface: CfnClusterProps
      Applies only to Amazon EMR releases 4.x and later. The list of configurations that are supplied to the Amazon EMR cluster.
      Specified by:
      getConfigurations in interface CfnClusterProps
    • getCustomAmiId

      public final String getCustomAmiId()
      Description copied from interface: CfnClusterProps
      Available only in Amazon EMR releases 5.7.0 and later. The ID of a custom Amazon EBS-backed Linux AMI if the cluster uses a custom AMI.
      Specified by:
      getCustomAmiId in interface CfnClusterProps
    • getEbsRootVolumeSize

      public final Number getEbsRootVolumeSize()
      Description copied from interface: CfnClusterProps
      The size, in GiB, of the Amazon EBS root device volume of the Linux AMI that is used for each Amazon EC2 instance.

      Available in Amazon EMR releases 4.x and later.

      Specified by:
      getEbsRootVolumeSize in interface CfnClusterProps
    • getKerberosAttributes

      public final Object getKerberosAttributes()
      Description copied from interface: CfnClusterProps
      Attributes for Kerberos configuration when Kerberos authentication is enabled using a security configuration.

      For more information see Use Kerberos Authentication in the Amazon EMR Management Guide .

      Specified by:
      getKerberosAttributes in interface CfnClusterProps
    • getLogEncryptionKmsKeyId

      public final String getLogEncryptionKmsKeyId()
      Description copied from interface: CfnClusterProps
      The AWS KMS key used for encrypting log files.

      This attribute is only available with Amazon EMR 5.30.0 and later, excluding Amazon EMR 6.0.0.

      Specified by:
      getLogEncryptionKmsKeyId in interface CfnClusterProps
    • getLogUri

      public final String getLogUri()
      Description copied from interface: CfnClusterProps
      The path to the Amazon S3 location where logs for this cluster are stored.
      Specified by:
      getLogUri in interface CfnClusterProps
    • getManagedScalingPolicy

      public final Object getManagedScalingPolicy()
      Description copied from interface: CfnClusterProps
      Creates or updates a managed scaling policy for an Amazon EMR cluster.

      The managed scaling policy defines the limits for resources, such as Amazon EC2 instances that can be added or terminated from a cluster. The policy only applies to the core and task nodes. The master node cannot be scaled after initial configuration.

      Specified by:
      getManagedScalingPolicy in interface CfnClusterProps
    • getOsReleaseLabel

      public final String getOsReleaseLabel()
      Description copied from interface: CfnClusterProps
      AWS::EMR::Cluster.OSReleaseLabel.
      Specified by:
      getOsReleaseLabel in interface CfnClusterProps
    • getReleaseLabel

      public final String getReleaseLabel()
      Description copied from interface: CfnClusterProps
      The Amazon EMR release label, which determines the version of open-source application packages installed on the cluster.

      Release labels are in the form emr-x.x.x , where x.x.x is an Amazon EMR release version such as emr-5.14.0 . For more information about Amazon EMR release versions and included application versions and features, see . The release label applies only to Amazon EMR releases version 4.0 and later. Earlier versions use AmiVersion .

      Specified by:
      getReleaseLabel in interface CfnClusterProps
    • getScaleDownBehavior

      public final String getScaleDownBehavior()
      Description copied from interface: CfnClusterProps
      The way that individual Amazon EC2 instances terminate when an automatic scale-in activity occurs or an instance group is resized.

      TERMINATE_AT_INSTANCE_HOUR indicates that Amazon EMR terminates nodes at the instance-hour boundary, regardless of when the request to terminate the instance was submitted. This option is only available with Amazon EMR 5.1.0 and later and is the default for clusters created using that version. TERMINATE_AT_TASK_COMPLETION indicates that Amazon EMR adds nodes to a deny list and drains tasks from nodes before terminating the Amazon EC2 instances, regardless of the instance-hour boundary. With either behavior, Amazon EMR removes the least active nodes first and blocks instance termination if it could lead to HDFS corruption. TERMINATE_AT_TASK_COMPLETION is available only in Amazon EMR releases 4.1.0 and later, and is the default for versions of Amazon EMR earlier than 5.1.0.

      Specified by:
      getScaleDownBehavior in interface CfnClusterProps
    • getSecurityConfiguration

      public final String getSecurityConfiguration()
      Description copied from interface: CfnClusterProps
      The name of the security configuration applied to the cluster.
      Specified by:
      getSecurityConfiguration in interface CfnClusterProps
    • getStepConcurrencyLevel

      public final Number getStepConcurrencyLevel()
      Description copied from interface: CfnClusterProps
      Specifies the number of steps that can be executed concurrently.

      The default value is 1 . The maximum value is 256 .

      Specified by:
      getStepConcurrencyLevel in interface CfnClusterProps
    • getSteps

      public final Object getSteps()
      Description copied from interface: CfnClusterProps
      A list of steps to run.
      Specified by:
      getSteps in interface CfnClusterProps
    • getTags

      public final List<CfnTag> getTags()
      Description copied from interface: CfnClusterProps
      A list of tags associated with a cluster.
      Specified by:
      getTags in interface CfnClusterProps
    • getVisibleToAllUsers

      public final Object getVisibleToAllUsers()
      Description copied from interface: CfnClusterProps
      Indicates whether the cluster is visible to all IAM users of the AWS account associated with the cluster.

      If this value is set to true , all IAM users of that AWS account can view and manage the cluster if they have the proper policy permissions set. If this value is false , only the IAM user that created the cluster can view and manage it. This value can be changed using the SetVisibleToAllUsers action.

      When you create clusters directly through the EMR console or API, this value is set to true by default. However, for AWS::EMR::Cluster resources in CloudFormation, the default is false .

      Specified by:
      getVisibleToAllUsers in interface CfnClusterProps
    • $jsii$toJson

      @Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
      Specified by:
      $jsii$toJson in interface software.amazon.jsii.JsiiSerializable
    • equals

      public final boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public final int hashCode()
      Overrides:
      hashCode in class Object