Class CfnClusterProps.Jsii$Proxy
- All Implemented Interfaces:
CfnClusterProps,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
- CfnClusterProps
CfnClusterProps-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.services.emr.CfnClusterProps
CfnClusterProps.Builder, CfnClusterProps.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedJsii$Proxy(CfnClusterProps.Builder builder) Constructor that initializes the object based on literal property values passed by theCfnClusterProps.Builder.protectedJsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject. -
Method Summary
Modifier and TypeMethodDescriptioncom.fasterxml.jackson.databind.JsonNodefinal booleanfinal ObjectA JSON string for selecting additional features.final ObjectThe applications to install on this cluster, for example, Spark, Flink, Oozie, Zeppelin, and so on.final StringAn IAM role for automatic scaling policies.final ObjectAWS::EMR::Cluster.AutoTerminationPolicy.final ObjectA list of bootstrap actions to run before Hadoop starts on the cluster nodes.final ObjectApplies only to Amazon EMR releases 4.x and later.final StringAvailable only in Amazon EMR releases 5.7.0 and later.final NumberThe size, in GiB, of the Amazon EBS root device volume of the Linux AMI that is used for each Amazon EC2 instance.final ObjectA specification of the number and type of Amazon EC2 instances.final StringAlso called instance profile and Amazon EC2 role.final ObjectAttributes for Kerberos configuration when Kerberos authentication is enabled using a security configuration.final StringThe AWS KMS key used for encrypting log files.final StringThe path to the Amazon S3 location where logs for this cluster are stored.final ObjectCreates or updates a managed scaling policy for an Amazon EMR cluster.final StringgetName()The name of the cluster.final StringAWS::EMR::Cluster.OSReleaseLabel.final StringThe Amazon EMR release label, which determines the version of open-source application packages installed on the cluster.final StringThe way that individual Amazon EC2 instances terminate when an automatic scale-in activity occurs or an instance group is resized.final StringThe name of the security configuration applied to the cluster.final StringThe IAM role that Amazon EMR assumes in order to access AWS resources on your behalf.final NumberSpecifies the number of steps that can be executed concurrently.final ObjectgetSteps()A list of steps to run.getTags()A list of tags associated with a cluster.final ObjectIndicates whether the cluster is visible to all IAM users of the AWS account associated with the cluster.final inthashCode()Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
-
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
Constructor that initializes the object based on literal property values passed by theCfnClusterProps.Builder.
-
-
Method Details
-
getInstances
Description copied from interface:CfnClusterPropsA specification of the number and type of Amazon EC2 instances.- Specified by:
getInstancesin interfaceCfnClusterProps
-
getJobFlowRole
Description copied from interface:CfnClusterPropsAlso 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:
getJobFlowRolein interfaceCfnClusterProps
-
getName
Description copied from interface:CfnClusterPropsThe name of the cluster.- Specified by:
getNamein interfaceCfnClusterProps
-
getServiceRole
Description copied from interface:CfnClusterPropsThe IAM role that Amazon EMR assumes in order to access AWS resources on your behalf.- Specified by:
getServiceRolein interfaceCfnClusterProps
-
getAdditionalInfo
Description copied from interface:CfnClusterPropsA JSON string for selecting additional features.- Specified by:
getAdditionalInfoin interfaceCfnClusterProps
-
getApplications
Description copied from interface:CfnClusterPropsThe applications to install on this cluster, for example, Spark, Flink, Oozie, Zeppelin, and so on.- Specified by:
getApplicationsin interfaceCfnClusterProps
-
getAutoScalingRole
Description copied from interface:CfnClusterPropsAn 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:
getAutoScalingRolein interfaceCfnClusterProps
-
getAutoTerminationPolicy
Description copied from interface:CfnClusterPropsAWS::EMR::Cluster.AutoTerminationPolicy.- Specified by:
getAutoTerminationPolicyin interfaceCfnClusterProps
-
getBootstrapActions
Description copied from interface:CfnClusterPropsA list of bootstrap actions to run before Hadoop starts on the cluster nodes.- Specified by:
getBootstrapActionsin interfaceCfnClusterProps
-
getConfigurations
Description copied from interface:CfnClusterPropsApplies only to Amazon EMR releases 4.x and later. The list of configurations that are supplied to the Amazon EMR cluster.- Specified by:
getConfigurationsin interfaceCfnClusterProps
-
getCustomAmiId
Description copied from interface:CfnClusterPropsAvailable 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:
getCustomAmiIdin interfaceCfnClusterProps
-
getEbsRootVolumeSize
Description copied from interface:CfnClusterPropsThe 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:
getEbsRootVolumeSizein interfaceCfnClusterProps
-
getKerberosAttributes
Description copied from interface:CfnClusterPropsAttributes 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:
getKerberosAttributesin interfaceCfnClusterProps
-
getLogEncryptionKmsKeyId
Description copied from interface:CfnClusterPropsThe 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:
getLogEncryptionKmsKeyIdin interfaceCfnClusterProps
-
getLogUri
Description copied from interface:CfnClusterPropsThe path to the Amazon S3 location where logs for this cluster are stored.- Specified by:
getLogUriin interfaceCfnClusterProps
-
getManagedScalingPolicy
Description copied from interface:CfnClusterPropsCreates 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:
getManagedScalingPolicyin interfaceCfnClusterProps
-
getOsReleaseLabel
Description copied from interface:CfnClusterPropsAWS::EMR::Cluster.OSReleaseLabel.- Specified by:
getOsReleaseLabelin interfaceCfnClusterProps
-
getReleaseLabel
Description copied from interface:CfnClusterPropsThe 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 asemr-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 useAmiVersion.- Specified by:
getReleaseLabelin interfaceCfnClusterProps
-
getScaleDownBehavior
Description copied from interface:CfnClusterPropsThe way that individual Amazon EC2 instances terminate when an automatic scale-in activity occurs or an instance group is resized.TERMINATE_AT_INSTANCE_HOURindicates 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_COMPLETIONindicates 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_COMPLETIONis 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:
getScaleDownBehaviorin interfaceCfnClusterProps
-
getSecurityConfiguration
Description copied from interface:CfnClusterPropsThe name of the security configuration applied to the cluster.- Specified by:
getSecurityConfigurationin interfaceCfnClusterProps
-
getStepConcurrencyLevel
Description copied from interface:CfnClusterPropsSpecifies the number of steps that can be executed concurrently.The default value is
1. The maximum value is256.- Specified by:
getStepConcurrencyLevelin interfaceCfnClusterProps
-
getSteps
Description copied from interface:CfnClusterPropsA list of steps to run.- Specified by:
getStepsin interfaceCfnClusterProps
-
getTags
Description copied from interface:CfnClusterPropsA list of tags associated with a cluster.- Specified by:
getTagsin interfaceCfnClusterProps
-
getVisibleToAllUsers
Description copied from interface:CfnClusterPropsIndicates 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 isfalse, 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.- Specified by:
getVisibleToAllUsersin interfaceCfnClusterProps
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-