@Stability(value=Stable) @Internal public static final class CfnClusterProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CfnClusterProps
CfnClusterPropssoftware.amazon.jsii.JsiiObject.InitializationModeCfnClusterProps.Builder, CfnClusterProps.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(CfnClusterProps.Builder builder)
Constructor that initializes the object based on literal property values passed by the
CfnClusterProps.Builder. |
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(Object o) |
Object |
getAdditionalInfo()
A JSON string for selecting additional features.
|
Object |
getApplications()
The applications to install on this cluster, for example, Spark, Flink, Oozie, Zeppelin, and so on.
|
String |
getAutoScalingRole()
An IAM role for automatic scaling policies.
|
Object |
getAutoTerminationPolicy()
`AWS::EMR::Cluster.AutoTerminationPolicy`.
|
Object |
getBootstrapActions()
A list of bootstrap actions to run before Hadoop starts on the cluster nodes.
|
Object |
getConfigurations()
Applies only to Amazon EMR releases 4.x and later.
|
String |
getCustomAmiId()
Available only in Amazon EMR version 5.7.0 and later.
|
Number |
getEbsRootVolumeSize()
The size, in GiB, of the Amazon EBS root device volume of the Linux AMI that is used for each EC2 instance.
|
Object |
getInstances()
A specification of the number and type of Amazon EC2 instances.
|
String |
getJobFlowRole()
Also called instance profile and EC2 role.
|
Object |
getKerberosAttributes()
Attributes for Kerberos configuration when Kerberos authentication is enabled using a security configuration.
|
String |
getLogEncryptionKmsKeyId()
The AWS KMS key used for encrypting log files.
|
String |
getLogUri()
The path to the Amazon S3 location where logs for this cluster are stored.
|
Object |
getManagedScalingPolicy()
Creates or updates a managed scaling policy for an Amazon EMR cluster.
|
String |
getName()
The name of the cluster.
|
String |
getReleaseLabel()
The Amazon EMR release label, which determines the version of open-source application packages installed on the cluster.
|
String |
getScaleDownBehavior()
The way that individual Amazon EC2 instances terminate when an automatic scale-in activity occurs or an instance group is resized.
|
String |
getSecurityConfiguration()
The name of the security configuration applied to the cluster.
|
String |
getServiceRole()
The IAM role that Amazon EMR assumes in order to access AWS resources on your behalf.
|
Number |
getStepConcurrencyLevel()
Specifies the number of steps that can be executed concurrently.
|
Object |
getSteps()
A list of steps to run.
|
List<CfnTag> |
getTags()
A list of tags associated with a cluster.
|
Object |
getVisibleToAllUsers()
Indicates whether the cluster is visible to all IAM users of the AWS account associated with the cluster.
|
int |
hashCode() |
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitbuilderprotected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef - Reference to the JSII managed object.protected Jsii$Proxy(CfnClusterProps.Builder builder)
CfnClusterProps.Builder.public final Object getInstances()
CfnClusterPropsgetInstances in interface CfnClusterPropspublic final String getJobFlowRole()
CfnClusterProps
An IAM role for an EMR cluster. The 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 CLI or console.
getJobFlowRole in interface CfnClusterPropspublic final String getName()
CfnClusterPropsgetName in interface CfnClusterPropspublic final String getServiceRole()
CfnClusterPropsgetServiceRole in interface CfnClusterPropspublic final Object getAdditionalInfo()
CfnClusterPropsgetAdditionalInfo in interface CfnClusterPropspublic final Object getApplications()
CfnClusterPropsgetApplications in interface CfnClusterPropspublic final String getAutoScalingRole()
CfnClusterProps
The default role is EMR_AutoScaling_DefaultRole . The IAM role provides permissions that the automatic scaling feature requires to launch and terminate EC2 instances in an instance group.
getAutoScalingRole in interface CfnClusterPropspublic final Object getAutoTerminationPolicy()
CfnClusterPropsgetAutoTerminationPolicy in interface CfnClusterPropspublic final Object getBootstrapActions()
CfnClusterPropsgetBootstrapActions in interface CfnClusterPropspublic final Object getConfigurations()
CfnClusterPropsgetConfigurations in interface CfnClusterPropspublic final String getCustomAmiId()
CfnClusterPropsgetCustomAmiId in interface CfnClusterPropspublic final Number getEbsRootVolumeSize()
CfnClusterPropsAvailable in Amazon EMR version 4.x and later.
getEbsRootVolumeSize in interface CfnClusterPropspublic final Object getKerberosAttributes()
CfnClusterPropsFor more information see Use Kerberos Authentication in the Amazon EMR Management Guide .
getKerberosAttributes in interface CfnClusterPropspublic final String getLogEncryptionKmsKeyId()
CfnClusterPropsThis attribute is only available with EMR version 5.30.0 and later, excluding EMR 6.0.0.
getLogEncryptionKmsKeyId in interface CfnClusterPropspublic final String getLogUri()
CfnClusterPropsgetLogUri in interface CfnClusterPropspublic final Object getManagedScalingPolicy()
CfnClusterPropsThe managed scaling policy defines the limits for resources, such as 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.
getManagedScalingPolicy in interface CfnClusterPropspublic final String getReleaseLabel()
CfnClusterProps
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 .
getReleaseLabel in interface CfnClusterPropspublic final String getScaleDownBehavior()
CfnClusterProps
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 version 4.1.0 and later, and is the default for versions of Amazon EMR earlier than 5.1.0.
getScaleDownBehavior in interface CfnClusterPropspublic final String getSecurityConfiguration()
CfnClusterPropsgetSecurityConfiguration in interface CfnClusterPropspublic final Number getStepConcurrencyLevel()
CfnClusterProps
The default value is 1 . The maximum value is 256 .
getStepConcurrencyLevel in interface CfnClusterPropspublic final Object getSteps()
CfnClusterPropsgetSteps in interface CfnClusterPropspublic final List<CfnTag> getTags()
CfnClusterPropsgetTags in interface CfnClusterPropspublic final Object getVisibleToAllUsers()
CfnClusterProps
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
trueby default. However, forAWS::EMR::Clusterresources in CloudFormation, the default isfalse.
getVisibleToAllUsers in interface CfnClusterProps@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2022. All rights reserved.