amazonka-emr-2.0: Amazon EMR SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.EMR.Types.Cluster

Description

 
Synopsis

Documentation

data Cluster Source #

The detailed description of the cluster.

See: newCluster smart constructor.

Constructors

Cluster' 

Fields

  • applications :: Maybe [Application]

    The applications installed on this cluster.

  • autoScalingRole :: Maybe Text

    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 EC2 instances in an instance group.

  • autoTerminate :: Maybe Bool

    Specifies whether the cluster should terminate after completing all steps.

  • clusterArn :: Maybe Text

    The Amazon Resource Name of the cluster.

  • configurations :: Maybe [Configuration]

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

  • customAmiId :: Maybe Text

    Available only in Amazon EMR version 5.7.0 and later. The ID of a custom Amazon EBS-backed Linux AMI if the cluster uses a custom AMI.

  • ebsRootVolumeSize :: Maybe Int

    The size, in GiB, of the Amazon EBS root device volume of the Linux AMI that is used for each EC2 instance. Available in Amazon EMR version 4.x and later.

  • ec2InstanceAttributes :: Maybe Ec2InstanceAttributes

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

  • instanceCollectionType :: Maybe InstanceCollectionType

    The instance fleet configuration is available only in Amazon EMR versions 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.

  • kerberosAttributes :: Maybe KerberosAttributes

    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.

  • logEncryptionKmsKeyId :: Maybe Text

    The KMS key used for encrypting log files. This attribute is only available with EMR version 5.30.0 and later, excluding EMR 6.0.0.

  • logUri :: Maybe Text

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

  • masterPublicDnsName :: Maybe Text

    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.

  • normalizedInstanceHours :: Maybe Int

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

  • oSReleaseLabel :: Maybe Text

    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.

  • outpostArn :: Maybe Text

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

  • placementGroups :: Maybe [PlacementGroupConfig]

    Placement group configured for an Amazon EMR cluster.

  • releaseLabel :: Maybe Text

    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.

  • repoUpgradeOnBoot :: Maybe RepoUpgradeOnBoot

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

  • requestedAmiVersion :: Maybe Text

    The AMI version requested for this cluster.

  • runningAmiVersion :: Maybe Text

    The AMI version running on this cluster.

  • scaleDownBehavior :: Maybe ScaleDownBehavior

    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 version 4.1.0 and later, and is the default for versions of Amazon EMR earlier than 5.1.0.

  • securityConfiguration :: Maybe Text

    The name of the security configuration applied to the cluster.

  • serviceRole :: Maybe Text

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

  • stepConcurrencyLevel :: Maybe Int

    Specifies the number of steps that can be executed concurrently.

  • tags :: Maybe [Tag]

    A list of tags associated with a cluster.

  • terminationProtected :: Maybe Bool

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

  • visibleToAllUsers :: Maybe Bool

    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 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 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 EMR API RunJobFlow command, the CLI create-cluster command, or the Amazon Web Services Management Console.

  • id :: Text

    The unique identifier for the cluster.

  • name :: Text

    The name of the cluster.

  • status :: ClusterStatus

    The current status details about the cluster.

Instances

Instances details
FromJSON Cluster Source # 
Instance details

Defined in Amazonka.EMR.Types.Cluster

Generic Cluster Source # 
Instance details

Defined in Amazonka.EMR.Types.Cluster

Associated Types

type Rep Cluster :: Type -> Type #

Methods

from :: Cluster -> Rep Cluster x #

to :: Rep Cluster x -> Cluster #

Read Cluster Source # 
Instance details

Defined in Amazonka.EMR.Types.Cluster

Show Cluster Source # 
Instance details

Defined in Amazonka.EMR.Types.Cluster

NFData Cluster Source # 
Instance details

Defined in Amazonka.EMR.Types.Cluster

Methods

rnf :: Cluster -> () #

Eq Cluster Source # 
Instance details

Defined in Amazonka.EMR.Types.Cluster

Methods

(==) :: Cluster -> Cluster -> Bool #

(/=) :: Cluster -> Cluster -> Bool #

Hashable Cluster Source # 
Instance details

Defined in Amazonka.EMR.Types.Cluster

Methods

hashWithSalt :: Int -> Cluster -> Int #

hash :: Cluster -> Int #

type Rep Cluster Source # 
Instance details

Defined in Amazonka.EMR.Types.Cluster

type Rep Cluster = D1 ('MetaData "Cluster" "Amazonka.EMR.Types.Cluster" "amazonka-emr-2.0-B3cWhP6sdymF3IBUMdPGcd" 'False) (C1 ('MetaCons "Cluster'" 'PrefixI 'True) ((((S1 ('MetaSel ('Just "applications") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Application])) :*: (S1 ('MetaSel ('Just "autoScalingRole") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "autoTerminate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)))) :*: ((S1 ('MetaSel ('Just "clusterArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "configurations") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Configuration]))) :*: (S1 ('MetaSel ('Just "customAmiId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "ebsRootVolumeSize") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int))))) :*: (((S1 ('MetaSel ('Just "ec2InstanceAttributes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Ec2InstanceAttributes)) :*: S1 ('MetaSel ('Just "instanceCollectionType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe InstanceCollectionType))) :*: (S1 ('MetaSel ('Just "kerberosAttributes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe KerberosAttributes)) :*: S1 ('MetaSel ('Just "logEncryptionKmsKeyId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "logUri") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "masterPublicDnsName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "normalizedInstanceHours") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "oSReleaseLabel") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))) :*: ((((S1 ('MetaSel ('Just "outpostArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "placementGroups") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [PlacementGroupConfig]))) :*: (S1 ('MetaSel ('Just "releaseLabel") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "repoUpgradeOnBoot") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe RepoUpgradeOnBoot)))) :*: ((S1 ('MetaSel ('Just "requestedAmiVersion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "runningAmiVersion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "scaleDownBehavior") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ScaleDownBehavior)) :*: S1 ('MetaSel ('Just "securityConfiguration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))) :*: (((S1 ('MetaSel ('Just "serviceRole") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "stepConcurrencyLevel") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int))) :*: (S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Tag])) :*: S1 ('MetaSel ('Just "terminationProtected") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)))) :*: ((S1 ('MetaSel ('Just "visibleToAllUsers") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ClusterStatus)))))))

newCluster Source #

Create a value of Cluster with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:applications:Cluster', cluster_applications - The applications installed on this cluster.

$sel:autoScalingRole:Cluster', cluster_autoScalingRole - 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 EC2 instances in an instance group.

$sel:autoTerminate:Cluster', cluster_autoTerminate - Specifies whether the cluster should terminate after completing all steps.

$sel:clusterArn:Cluster', cluster_clusterArn - The Amazon Resource Name of the cluster.

Cluster, cluster_configurations - Applies only to Amazon EMR releases 4.x and later. The list of Configurations supplied to the EMR cluster.

$sel:customAmiId:Cluster', cluster_customAmiId - Available only in Amazon EMR version 5.7.0 and later. The ID of a custom Amazon EBS-backed Linux AMI if the cluster uses a custom AMI.

$sel:ebsRootVolumeSize:Cluster', cluster_ebsRootVolumeSize - The size, in GiB, of the Amazon EBS root device volume of the Linux AMI that is used for each EC2 instance. Available in Amazon EMR version 4.x and later.

$sel:ec2InstanceAttributes:Cluster', cluster_ec2InstanceAttributes - Provides information about the EC2 instances in a cluster grouped by category. For example, key name, subnet ID, IAM instance profile, and so on.

$sel:instanceCollectionType:Cluster', cluster_instanceCollectionType - The instance fleet configuration is available only in Amazon EMR versions 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.

$sel:kerberosAttributes:Cluster', cluster_kerberosAttributes - 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.

$sel:logEncryptionKmsKeyId:Cluster', cluster_logEncryptionKmsKeyId - The KMS key used for encrypting log files. This attribute is only available with EMR version 5.30.0 and later, excluding EMR 6.0.0.

$sel:logUri:Cluster', cluster_logUri - The path to the Amazon S3 location where logs for this cluster are stored.

$sel:masterPublicDnsName:Cluster', cluster_masterPublicDnsName - 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.

$sel:normalizedInstanceHours:Cluster', cluster_normalizedInstanceHours - 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 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.

$sel:oSReleaseLabel:Cluster', cluster_oSReleaseLabel - 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.

$sel:outpostArn:Cluster', cluster_outpostArn - The Amazon Resource Name (ARN) of the Outpost where the cluster is launched.

$sel:placementGroups:Cluster', cluster_placementGroups - Placement group configured for an Amazon EMR cluster.

$sel:releaseLabel:Cluster', cluster_releaseLabel - 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.

$sel:repoUpgradeOnBoot:Cluster', cluster_repoUpgradeOnBoot - Applies only when CustomAmiID is used. Specifies the type of updates that are applied from the Amazon Linux AMI package repositories when an instance boots using the AMI.

$sel:requestedAmiVersion:Cluster', cluster_requestedAmiVersion - The AMI version requested for this cluster.

$sel:runningAmiVersion:Cluster', cluster_runningAmiVersion - The AMI version running on this cluster.

$sel:scaleDownBehavior:Cluster', cluster_scaleDownBehavior - 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 version 4.1.0 and later, and is the default for versions of Amazon EMR earlier than 5.1.0.

$sel:securityConfiguration:Cluster', cluster_securityConfiguration - The name of the security configuration applied to the cluster.

$sel:serviceRole:Cluster', cluster_serviceRole - The IAM role that Amazon EMR assumes in order to access Amazon Web Services resources on your behalf.

$sel:stepConcurrencyLevel:Cluster', cluster_stepConcurrencyLevel - Specifies the number of steps that can be executed concurrently.

$sel:tags:Cluster', cluster_tags - A list of tags associated with a cluster.

$sel:terminationProtected:Cluster', cluster_terminationProtected - Indicates whether Amazon EMR will lock the cluster to prevent the EC2 instances from being terminated by an API call or user intervention, or in the event of a cluster error.

$sel:visibleToAllUsers:Cluster', cluster_visibleToAllUsers - 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 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 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 EMR API RunJobFlow command, the CLI create-cluster command, or the Amazon Web Services Management Console.

$sel:id:Cluster', cluster_id - The unique identifier for the cluster.

Cluster, cluster_name - The name of the cluster.

$sel:status:Cluster', cluster_status - The current status details about the cluster.

cluster_applications :: Lens' Cluster (Maybe [Application]) Source #

The applications installed on this cluster.

cluster_autoScalingRole :: Lens' Cluster (Maybe Text) Source #

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 EC2 instances in an instance group.

cluster_autoTerminate :: Lens' Cluster (Maybe Bool) Source #

Specifies whether the cluster should terminate after completing all steps.

cluster_clusterArn :: Lens' Cluster (Maybe Text) Source #

The Amazon Resource Name of the cluster.

cluster_configurations :: Lens' Cluster (Maybe [Configuration]) Source #

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

cluster_customAmiId :: Lens' Cluster (Maybe Text) Source #

Available only in Amazon EMR version 5.7.0 and later. The ID of a custom Amazon EBS-backed Linux AMI if the cluster uses a custom AMI.

cluster_ebsRootVolumeSize :: Lens' Cluster (Maybe Int) Source #

The size, in GiB, of the Amazon EBS root device volume of the Linux AMI that is used for each EC2 instance. Available in Amazon EMR version 4.x and later.

cluster_ec2InstanceAttributes :: Lens' Cluster (Maybe Ec2InstanceAttributes) Source #

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

cluster_instanceCollectionType :: Lens' Cluster (Maybe InstanceCollectionType) Source #

The instance fleet configuration is available only in Amazon EMR versions 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.

cluster_kerberosAttributes :: Lens' Cluster (Maybe KerberosAttributes) Source #

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.

cluster_logEncryptionKmsKeyId :: Lens' Cluster (Maybe Text) Source #

The KMS key used for encrypting log files. This attribute is only available with EMR version 5.30.0 and later, excluding EMR 6.0.0.

cluster_logUri :: Lens' Cluster (Maybe Text) Source #

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

cluster_masterPublicDnsName :: Lens' Cluster (Maybe Text) Source #

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.

cluster_normalizedInstanceHours :: Lens' Cluster (Maybe Int) Source #

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

cluster_oSReleaseLabel :: Lens' Cluster (Maybe Text) Source #

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.

cluster_outpostArn :: Lens' Cluster (Maybe Text) Source #

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

cluster_placementGroups :: Lens' Cluster (Maybe [PlacementGroupConfig]) Source #

Placement group configured for an Amazon EMR cluster.

cluster_releaseLabel :: Lens' Cluster (Maybe Text) Source #

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.

cluster_repoUpgradeOnBoot :: Lens' Cluster (Maybe RepoUpgradeOnBoot) Source #

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

cluster_requestedAmiVersion :: Lens' Cluster (Maybe Text) Source #

The AMI version requested for this cluster.

cluster_runningAmiVersion :: Lens' Cluster (Maybe Text) Source #

The AMI version running on this cluster.

cluster_scaleDownBehavior :: Lens' Cluster (Maybe ScaleDownBehavior) Source #

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 version 4.1.0 and later, and is the default for versions of Amazon EMR earlier than 5.1.0.

cluster_securityConfiguration :: Lens' Cluster (Maybe Text) Source #

The name of the security configuration applied to the cluster.

cluster_serviceRole :: Lens' Cluster (Maybe Text) Source #

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

cluster_stepConcurrencyLevel :: Lens' Cluster (Maybe Int) Source #

Specifies the number of steps that can be executed concurrently.

cluster_tags :: Lens' Cluster (Maybe [Tag]) Source #

A list of tags associated with a cluster.

cluster_terminationProtected :: Lens' Cluster (Maybe Bool) Source #

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

cluster_visibleToAllUsers :: Lens' Cluster (Maybe Bool) Source #

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 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 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 EMR API RunJobFlow command, the CLI create-cluster command, or the Amazon Web Services Management Console.

cluster_id :: Lens' Cluster Text Source #

The unique identifier for the cluster.

cluster_name :: Lens' Cluster Text Source #

The name of the cluster.

cluster_status :: Lens' Cluster ClusterStatus Source #

The current status details about the cluster.