Interface CfnClusterProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnClusterProps.Jsii$Proxy
CfnCluster.
Example:
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnClusterPropsstatic final classAn implementation forCfnClusterProps -
Method Summary
Modifier and TypeMethodDescriptionstatic CfnClusterProps.Builderbuilder()default ObjectA JSON string for selecting additional features.default ObjectThe applications to install on this cluster, for example, Spark, Flink, Oozie, Zeppelin, and so on.default StringAn IAM role for automatic scaling policies.default ObjectAn auto-termination policy for an Amazon EMR cluster.default ObjectA list of bootstrap actions to run before Hadoop starts on the cluster nodes.default ObjectApplies only to Amazon EMR releases 4.x and later.default StringAvailable only in Amazon EMR releases 5.7.0 and later.default NumberThe IOPS, of the Amazon EBS root device volume of the Linux AMI that is used for each Amazon EC2 instance.default NumberThe size, in GiB, of the Amazon EBS root device volume of the Linux AMI that is used for each Amazon EC2 instance.default NumberThe throughput, in MiB/s, of the Amazon EBS root device volume of the Linux AMI that is used for each Amazon EC2 instance.A specification of the number and type of Amazon EC2 instances.Also called instance profile and Amazon EC2 role.default ObjectAttributes for Kerberos configuration when Kerberos authentication is enabled using a security configuration.default StringThe AWS KMS key used for encrypting log files.default StringThe path to the Amazon S3 location where logs for this cluster are stored.default ObjectCreates or updates a managed scaling policy for an Amazon EMR cluster.getName()The name of the cluster.default StringThe Amazon Linux release specified in a cluster launch RunJobFlow request.default ObjectReturns union: eitherIResolvableor Listinvalid input: '<'eitherIResolvableorCfnCluster.PlacementGroupConfigProperty>default StringThe Amazon EMR release label, which determines the version of open-source application packages installed on the cluster.default StringThe way that individual Amazon EC2 instances terminate when an automatic scale-in activity occurs or an instance group is resized.default StringThe name of the security configuration applied to the cluster.The IAM role that Amazon EMR assumes in order to access AWS resources on your behalf.default NumberSpecifies the number of steps that can be executed concurrently.default ObjectgetSteps()A list of steps to run.getTags()A list of tags associated with a cluster.default ObjectIndicates whether the cluster is visible to all IAM users of the AWS account associated with the cluster.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getInstances
A specification of the number and type of Amazon EC2 instances.Returns union: either
IResolvableorCfnCluster.JobFlowInstancesConfigProperty- See Also:
-
getJobFlowRole
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.- See Also:
-
getName
The name of the cluster.This parameter can't contain the characters <, >, $, |, or ` (backtick).
- See Also:
-
getServiceRole
The IAM role that Amazon EMR assumes in order to access AWS resources on your behalf.- See Also:
-
getAdditionalInfo
A JSON string for selecting additional features.- See Also:
-
getApplications
The applications to install on this cluster, for example, Spark, Flink, Oozie, Zeppelin, and so on.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnCluster.ApplicationProperty>- See Also:
-
getAutoScalingRole
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.- See Also:
-
getAutoTerminationPolicy
An 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- See Also:
-
getBootstrapActions
A list of bootstrap actions to run before Hadoop starts on the cluster nodes.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnCluster.BootstrapActionConfigProperty>- See Also:
-
getConfigurations
Applies 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>- See Also:
-
getCustomAmiId
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.- See Also:
-
getEbsRootVolumeIops
The 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.
- See Also:
-
getEbsRootVolumeSize
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.
- See Also:
-
getEbsRootVolumeThroughput
The 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.
- See Also:
-
getKerberosAttributes
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 .
Returns union: either
IResolvableorCfnCluster.KerberosAttributesProperty- See Also:
-
getLogEncryptionKmsKeyId
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.
- See Also:
-
getLogUri
The path to the Amazon S3 location where logs for this cluster are stored.- See Also:
-
getManagedScalingPolicy
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.
Returns union: either
IResolvableorCfnCluster.ManagedScalingPolicyProperty- See Also:
-
getOsReleaseLabel
The 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.
- See Also:
-
getPlacementGroupConfigs
Returns union: eitherIResolvableor Listinvalid input: '<'eitherIResolvableorCfnCluster.PlacementGroupConfigProperty>- See Also:
-
getReleaseLabel
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 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.- See Also:
-
getScaleDownBehavior
The 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.- See Also:
-
getSecurityConfiguration
The name of the security configuration applied to the cluster.- See Also:
-
getStepConcurrencyLevel
Specifies the number of steps that can be executed concurrently.The default value is
1. The maximum value is256.- See Also:
-
getSteps
A list of steps to run.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnCluster.StepConfigProperty>- See Also:
-
getTags
A list of tags associated with a cluster.- See Also:
-
getVisibleToAllUsers
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 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- See Also:
-
builder
- Returns:
- a
CfnClusterProps.BuilderofCfnClusterProps
-