AwsEmrClusterPropertiesArgs

data class AwsEmrClusterPropertiesArgs(val applications: Output<List<ApplicationArgs>>? = null, val autoScalingRole: Output<String>? = null, val autoTerminate: Output<Boolean>? = null, val clusterArn: Output<String>? = null, val configurations: Output<List<ConfigurationArgs>>? = null, val customAmiId: Output<String>? = null, val ebsRootVolumeIops: Output<Int>? = null, val ebsRootVolumeSize: Output<Int>? = null, val ebsRootVolumeThroughput: Output<Int>? = null, val ec2InstanceAttributes: Output<Ec2InstanceAttributesArgs>? = null, val id: Output<String>? = null, val instanceCollectionType: Output<InstanceCollectionTypeEnumValueArgs>? = null, val kerberosAttributes: Output<KerberosAttributesArgs>? = null, val logEncryptionKmsKeyId: Output<String>? = null, val logUri: Output<String>? = null, val masterPublicDnsName: Output<String>? = null, val name: Output<String>? = null, val normalizedInstanceHours: Output<Int>? = null, val osReleaseLabel: Output<String>? = null, val outpostArn: Output<String>? = null, val placementGroups: Output<List<PlacementGroupConfigArgs>>? = null, val releaseLabel: Output<String>? = null, val repoUpgradeOnBoot: Output<RepoUpgradeOnBootEnumValueArgs>? = null, val requestedAmiVersion: Output<String>? = null, val runningAmiVersion: Output<String>? = null, val scaleDownBehavior: Output<ScaleDownBehaviorEnumValueArgs>? = null, val securityConfiguration: Output<String>? = null, val serviceRole: Output<String>? = null, val status: Output<EmrClusterStatusArgs>? = null, val stepConcurrencyLevel: Output<Int>? = null, val tags: Output<List<TagArgs>>? = null, val terminationProtected: Output<Boolean>? = null, val unhealthyNodeReplacement: Output<Boolean>? = null, val visibleToAllUsers: Output<Boolean>? = null) : ConvertibleToJava<AwsEmrClusterPropertiesArgs>

Definition of awsEmrCluster

Constructors

Link copied to clipboard
constructor(applications: Output<List<ApplicationArgs>>? = null, autoScalingRole: Output<String>? = null, autoTerminate: Output<Boolean>? = null, clusterArn: Output<String>? = null, configurations: Output<List<ConfigurationArgs>>? = null, customAmiId: Output<String>? = null, ebsRootVolumeIops: Output<Int>? = null, ebsRootVolumeSize: Output<Int>? = null, ebsRootVolumeThroughput: Output<Int>? = null, ec2InstanceAttributes: Output<Ec2InstanceAttributesArgs>? = null, id: Output<String>? = null, instanceCollectionType: Output<InstanceCollectionTypeEnumValueArgs>? = null, kerberosAttributes: Output<KerberosAttributesArgs>? = null, logEncryptionKmsKeyId: Output<String>? = null, logUri: Output<String>? = null, masterPublicDnsName: Output<String>? = null, name: Output<String>? = null, normalizedInstanceHours: Output<Int>? = null, osReleaseLabel: Output<String>? = null, outpostArn: Output<String>? = null, placementGroups: Output<List<PlacementGroupConfigArgs>>? = null, releaseLabel: Output<String>? = null, repoUpgradeOnBoot: Output<RepoUpgradeOnBootEnumValueArgs>? = null, requestedAmiVersion: Output<String>? = null, runningAmiVersion: Output<String>? = null, scaleDownBehavior: Output<ScaleDownBehaviorEnumValueArgs>? = null, securityConfiguration: Output<String>? = null, serviceRole: Output<String>? = null, status: Output<EmrClusterStatusArgs>? = null, stepConcurrencyLevel: Output<Int>? = null, tags: Output<List<TagArgs>>? = null, terminationProtected: Output<Boolean>? = null, unhealthyNodeReplacement: Output<Boolean>? = null, visibleToAllUsers: Output<Boolean>? = null)

Properties

Link copied to clipboard
val applications: Output<List<ApplicationArgs>>? = null

The applications installed on this cluster.

Link copied to clipboard
val autoScalingRole: Output<String>? = null

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.

Link copied to clipboard
val autoTerminate: Output<Boolean>? = null

Specifies whether the cluster should terminate after completing all steps.

Link copied to clipboard
val clusterArn: Output<String>? = null

The Amazon Resource Name of the cluster.

Link copied to clipboard
val configurations: Output<List<ConfigurationArgs>>? = null

Applies only to Amazon EMR releases 4.x and later. The list of configurations that are supplied to the Amazon EMR cluster.

Link copied to clipboard
val customAmiId: Output<String>? = null

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.

Link copied to clipboard
val ebsRootVolumeIops: Output<Int>? = null

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.

Link copied to clipboard
val ebsRootVolumeSize: Output<Int>? = null

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.

Link copied to clipboard
val ebsRootVolumeThroughput: Output<Int>? = null

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.

Link copied to clipboard

Provides information about the Amazon EC2 instances in a cluster grouped by category. For example, key name, subnet ID, IAM instance profile, and so on.

Link copied to clipboard
val id: Output<String>? = null

The unique identifier for the cluster.

Link copied to clipboard

The instance fleet configuration is available only in Amazon EMR releases 4.8.0 and later, excluding 5.0.x versions.

The instance group configuration of the cluster. A value of INSTANCE_GROUP indicates a uniform instance group configuration. A value of INSTANCE_FLEET indicates an instance fleets configuration.

Link copied to clipboard

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.

Link copied to clipboard
val logEncryptionKmsKeyId: Output<String>? = null

The 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.

Link copied to clipboard
val logUri: Output<String>? = null

The path to the Amazon S3 location where logs for this cluster are stored.

Link copied to clipboard
val masterPublicDnsName: Output<String>? = null

The DNS name of the master node. If the cluster is on a private subnet, this is the private DNS name. On a public subnet, this is the public DNS name.

Link copied to clipboard
val name: Output<String>? = null

The name of the cluster. This parameter can't contain the characters <, >, $, |, or ` (backtick).

Link copied to clipboard
val normalizedInstanceHours: Output<Int>? = null

An approximation of the cost of the cluster, represented in m1.small/hours. This value is incremented one time for every hour an m1.small instance runs. Larger instances are weighted more, so an Amazon EC2 instance that is roughly four times more expensive would result in the normalized instance hours being incremented by four. This result is only an approximation and does not reflect the actual billing rate.

Link copied to clipboard
val osReleaseLabel: Output<String>? = null

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.

Link copied to clipboard
val outpostArn: Output<String>? = null

The Amazon Resource Name (ARN) of the Outpost where the cluster is launched.

Link copied to clipboard

Placement group configured for an Amazon EMR cluster.

Link copied to clipboard
val releaseLabel: Output<String>? = null

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 https://docs.aws.amazon.com/emr/latest/ReleaseGuide/. The release label applies only to Amazon EMR releases version 4.0 and later. Earlier versions use AmiVersion.

Link copied to clipboard

Applies only when CustomAmiID is used. Specifies the type of updates that the Amazon Linux AMI package repositories apply when an instance boots using the AMI.

Link copied to clipboard
val requestedAmiVersion: Output<String>? = null

The AMI version requested for this cluster.

Link copied to clipboard
val runningAmiVersion: Output<String>? = null

The AMI version running on this cluster.

Link copied to clipboard

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.

Link copied to clipboard
val securityConfiguration: Output<String>? = null

The name of the security configuration applied to the cluster.

Link copied to clipboard
val serviceRole: Output<String>? = null

The IAM role that Amazon EMR assumes in order to access Amazon Web Services resources on your behalf.

Link copied to clipboard
val status: Output<EmrClusterStatusArgs>? = null

The current status details about the cluster.

Link copied to clipboard
val stepConcurrencyLevel: Output<Int>? = null

Specifies the number of steps that can be executed concurrently.

Link copied to clipboard
val tags: Output<List<TagArgs>>? = null

A list of tags associated with a cluster.

Link copied to clipboard
val terminationProtected: Output<Boolean>? = null

Indicates whether Amazon EMR will lock the cluster to prevent the Amazon EC2 instances from being terminated by an API call or user intervention, or in the event of a cluster error.

Link copied to clipboard
val unhealthyNodeReplacement: Output<Boolean>? = null

Indicates whether Amazon EMR should gracefully replace Amazon EC2 core instances that have degraded within the cluster.

Link copied to clipboard
val visibleToAllUsers: Output<Boolean>? = null

Indicates whether the cluster is visible to IAM principals in the Amazon Web Services account associated with the cluster. When true, IAM principals in the Amazon Web Services account can perform Amazon EMR cluster actions on the cluster that their IAM policies allow. When false, only the IAM principal that created the cluster and the Amazon Web Services account root user can perform Amazon EMR actions, regardless of IAM permissions policies attached to other IAM principals.

The default value is true if a value is not provided when creating a cluster using the Amazon EMR API RunJobFlow command, the CLI create-cluster command, or the Amazon Web Services Management Console.

Functions

Link copied to clipboard
open override fun toJava(): AwsEmrClusterPropertiesArgs