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 ObjectAn auto-termination policy for an Amazon EMR cluster.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 IOPS, of the Amazon EBS root device volume of the Linux AMI that is used for each Amazon EC2 instance.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 NumberThe throughput, in MiB/s, 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 StringThe Amazon Linux release specified in a cluster launch RunJobFlow request.final ObjectReturns union: eitherIResolvableor Listinvalid input: '<'eitherIResolvableorCfnCluster.PlacementGroupConfigProperty>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.Returns union: either
IResolvableorCfnCluster.JobFlowInstancesConfigProperty- Specified by:
getInstancesin interfaceCfnClusterProps- See Also:
-
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- See Also:
-
getName
Description copied from interface:CfnClusterPropsThe name of the cluster.This parameter can't contain the characters <, >, $, |, or ` (backtick).
- Specified by:
getNamein interfaceCfnClusterProps- See Also:
-
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- See Also:
-
getAdditionalInfo
Description copied from interface:CfnClusterPropsA JSON string for selecting additional features.- Specified by:
getAdditionalInfoin interfaceCfnClusterProps- See Also:
-
getApplications
Description copied from interface:CfnClusterPropsThe applications to install on this cluster, for example, Spark, Flink, Oozie, Zeppelin, and so on.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnCluster.ApplicationProperty>- Specified by:
getApplicationsin interfaceCfnClusterProps- See Also:
-
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- See Also:
-
getAutoTerminationPolicy
Description copied from interface:CfnClusterPropsAn auto-termination policy for an Amazon EMR cluster.An auto-termination policy defines the amount of idle time in seconds after which a cluster automatically terminates. For alternative cluster termination options, see Control cluster termination .
Returns union: either
IResolvableorCfnCluster.AutoTerminationPolicyProperty- Specified by:
getAutoTerminationPolicyin interfaceCfnClusterProps- See Also:
-
getBootstrapActions
Description copied from interface:CfnClusterPropsA list of bootstrap actions to run before Hadoop starts on the cluster nodes.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnCluster.BootstrapActionConfigProperty>- Specified by:
getBootstrapActionsin interfaceCfnClusterProps- See Also:
-
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.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnCluster.ConfigurationProperty>- Specified by:
getConfigurationsin interfaceCfnClusterProps- See Also:
-
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- See Also:
-
getEbsRootVolumeIops
Description copied from interface:CfnClusterPropsThe IOPS, of the Amazon EBS root device volume of the Linux AMI that is used for each Amazon EC2 instance.Available in Amazon EMR releases 6.15.0 and later.
- Specified by:
getEbsRootVolumeIopsin interfaceCfnClusterProps- See Also:
-
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- See Also:
-
getEbsRootVolumeThroughput
Description copied from interface:CfnClusterPropsThe throughput, in MiB/s, of the Amazon EBS root device volume of the Linux AMI that is used for each Amazon EC2 instance.Available in Amazon EMR releases 6.15.0 and later.
- Specified by:
getEbsRootVolumeThroughputin interfaceCfnClusterProps- See Also:
-
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 .
Returns union: either
IResolvableorCfnCluster.KerberosAttributesProperty- Specified by:
getKerberosAttributesin interfaceCfnClusterProps- See Also:
-
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- See Also:
-
getLogUri
Description copied from interface:CfnClusterPropsThe path to the Amazon S3 location where logs for this cluster are stored.- Specified by:
getLogUriin interfaceCfnClusterProps- See Also:
-
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.
Returns union: either
IResolvableorCfnCluster.ManagedScalingPolicyProperty- Specified by:
getManagedScalingPolicyin interfaceCfnClusterProps- See Also:
-
getOsReleaseLabel
Description copied from interface:CfnClusterPropsThe Amazon Linux release specified in a cluster launch RunJobFlow request.If no Amazon Linux release was specified, the default Amazon Linux release is shown in the response.
- Specified by:
getOsReleaseLabelin interfaceCfnClusterProps- See Also:
-
getPlacementGroupConfigs
Description copied from interface:CfnClusterPropsReturns union: eitherIResolvableor Listinvalid input: '<'eitherIResolvableorCfnCluster.PlacementGroupConfigProperty>- Specified by:
getPlacementGroupConfigsin interfaceCfnClusterProps- See Also:
-
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- See Also:
-
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- See Also:
-
getSecurityConfiguration
Description copied from interface:CfnClusterPropsThe name of the security configuration applied to the cluster.- Specified by:
getSecurityConfigurationin interfaceCfnClusterProps- See Also:
-
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- See Also:
-
getSteps
Description copied from interface:CfnClusterPropsA list of steps to run.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnCluster.StepConfigProperty>- Specified by:
getStepsin interfaceCfnClusterProps- See Also:
-
getTags
Description copied from interface:CfnClusterPropsA list of tags associated with a cluster.- Specified by:
getTagsin interfaceCfnClusterProps- See Also:
-
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.Returns union: either
BooleanorIResolvable- Specified by:
getVisibleToAllUsersin interfaceCfnClusterProps- See Also:
-
$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()
-