Skip to content
v2.274.0

Amazon EMR Construct Library ​

This module is part of the AWS Cloud Development Kit project.

ts
import * as emr from 'aws-cdk-lib/aws-emr';
python
import aws_cdk.aws_emr as emr
java
import software.amazon.awscdk.services.emr.*;
csharp
using Amazon.CDK.AWS.EMR;
go
import emr "github.com/aws/aws-cdk-go/awscdk"

There are no official hand-written (L2) constructs for this service yet. Here are some suggestions on how to proceed:

There are no hand-written (L2) constructs for this service yet. However, you can still use the automatically generated L1 constructs, and use this service exactly as you would using CloudFormation directly.

For more information on the resources and properties available for this service, see the CloudFormation documentation for AWS::EMR.

(Read the CDK Contributing Guide and submit an RFC if you are interested in contributing to this construct library.)

Types ​

NameKindSummary
CfnClusterConstruct (L1)The AWS::EMR::Cluster resource specifies an Amazon EMR cluster.
CfnInstanceFleetConfigConstruct (L1)Use InstanceFleetConfig to define instance fleets for an EMR cluster.
CfnInstanceGroupConfigConstruct (L1)Use InstanceGroupConfig to define instance groups for an EMR cluster.
CfnSecurityConfigurationConstruct (L1)Use a SecurityConfiguration resource to configure data encryption, Kerberos authentication (available in Amazon EMR release version 5.10.0 and later), and Amazon S3 authorization for EMRFS (available in EMR 5.10.0 and later). You can re-use a security configuration for any number of clusters in your account. For more information and example security configuration JSON objects, see Create a Security Configuration in the Amazon EMR Management Guide .
CfnStepConstruct (L1)Use Step to specify a cluster (job flow) step, which runs only on the master node.
CfnStudioConstruct (L1)The AWS::EMR::Studio resource specifies an Amazon EMR Studio.
CfnStudioSessionMappingConstruct (L1)The AWS::EMR::StudioSessionMapping resource is an Amazon EMR resource type that maps a user or group to the Amazon EMR Studio specified by StudioId , and applies a session policy that defines Studio permissions for that user or group.
CfnWALWorkspaceConstruct (L1)http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-emr-walworkspace.html.
CfnCluster.ApplicationPropertyStructApplication is a property of AWS::EMR::Cluster .
CfnCluster.AutoScalingPolicyPropertyStructAutoScalingPolicy is a subproperty of InstanceGroupConfig .
CfnCluster.AutoTerminationPolicyPropertyStructAn auto-termination policy for an Amazon EMR cluster.
CfnCluster.BootstrapActionConfigPropertyStructBootstrapActionConfig is a property of AWS::EMR::Cluster that can be used to run bootstrap actions on EMR clusters.
CfnCluster.CloudWatchAlarmDefinitionPropertyStructCloudWatchAlarmDefinition is a subproperty of the ScalingTrigger property, which determines when to trigger an automatic scaling activity.
CfnCluster.ComputeLimitsPropertyStructThe Amazon EC2 unit limits for a managed scaling policy.
CfnCluster.ConfigurationPropertyStruct> Used only with Amazon EMR release 4.0 and later.
CfnCluster.EbsBlockDeviceConfigPropertyStructEbsBlockDeviceConfig is a subproperty of the EbsConfiguration property type.
CfnCluster.EbsConfigurationPropertyStructEbsConfiguration is a subproperty of InstanceFleetConfig or InstanceGroupConfig .
CfnCluster.HadoopJarStepConfigPropertyStructThe HadoopJarStepConfig property type specifies a job flow step consisting of a JAR file whose main function will be executed.
CfnCluster.InstanceFleetConfigPropertyStructUse InstanceFleetConfig to define instance fleets for an EMR cluster.
CfnCluster.InstanceFleetProvisioningSpecificationsPropertyStructInstanceFleetProvisioningSpecification is a subproperty of InstanceFleetConfig .
CfnCluster.InstanceFleetResizingSpecificationsPropertyStructThe resize specification for On-Demand and Spot Instances in the fleet.
CfnCluster.InstanceGroupConfigPropertyStructUse InstanceGroupConfig to define instance groups for an EMR cluster.
CfnCluster.InstanceTypeConfigPropertyStruct> The instance fleet configuration is available only in Amazon EMR versions 4.8.0 and later, excluding 5.0.x versions.
CfnCluster.JobFlowInstancesConfigPropertyStructJobFlowInstancesConfig is a property of the AWS::EMR::Cluster resource.
CfnCluster.KerberosAttributesPropertyStructKerberosAttributes is a property of the AWS::EMR::Cluster resource.
CfnCluster.KeyValuePropertyStructKeyValue is a subproperty of the HadoopJarStepConfig property type.
CfnCluster.ManagedScalingPolicyPropertyStructManaged scaling policy for an Amazon EMR cluster.
CfnCluster.MetricDimensionPropertyStructMetricDimension is a subproperty of the CloudWatchAlarmDefinition property type.
CfnCluster.OnDemandCapacityReservationOptionsPropertyStructDescribes the strategy for using unused Capacity Reservations for fulfilling On-Demand capacity.
CfnCluster.OnDemandProvisioningSpecificationPropertyStructThe launch specification for On-Demand Instances in the instance fleet, which determines the allocation strategy.
CfnCluster.OnDemandResizingSpecificationPropertyStructThe resize specification for On-Demand Instances in the instance fleet, which contains the resize timeout period.
CfnCluster.PlacementGroupConfigPropertyStructPlacement group configuration for an Amazon EMR cluster.
CfnCluster.PlacementTypePropertyStructPlacementType is a property of the AWS::EMR::Cluster resource.
CfnCluster.ScalingActionPropertyStructScalingAction is a subproperty of the ScalingRule property type.
CfnCluster.ScalingConstraintsPropertyStructScalingConstraints is a subproperty of the AutoScalingPolicy property type.
CfnCluster.ScalingRulePropertyStructScalingRule is a subproperty of the AutoScalingPolicy property type.
CfnCluster.ScalingTriggerPropertyStructScalingTrigger is a subproperty of the ScalingRule property type.
CfnCluster.ScriptBootstrapActionConfigPropertyStructScriptBootstrapActionConfig is a subproperty of the BootstrapActionConfig property type.
CfnCluster.SimpleScalingPolicyConfigurationPropertyStructSimpleScalingPolicyConfiguration is a subproperty of the ScalingAction property type.
CfnCluster.SpotProvisioningSpecificationPropertyStructSpotProvisioningSpecification is a subproperty of the InstanceFleetProvisioningSpecifications property type.
CfnCluster.SpotResizingSpecificationPropertyStructThe resize specification for Spot Instances in the instance fleet, which contains the resize timeout period.
CfnCluster.StepConfigPropertyStructStepConfig is a property of the AWS::EMR::Cluster resource.
CfnCluster.VolumeSpecificationPropertyStructVolumeSpecification is a subproperty of the EbsBlockDeviceConfig property type.
CfnClusterPropsStructProperties for defining a CfnCluster.
CfnInstanceFleetConfig.ConfigurationPropertyStruct> Used only with Amazon EMR release 4.0 and later.
CfnInstanceFleetConfig.EbsBlockDeviceConfigPropertyStructEbsBlockDeviceConfig is a subproperty of the EbsConfiguration property type.
CfnInstanceFleetConfig.EbsConfigurationPropertyStructEbsConfiguration determines the EBS volumes to attach to EMR cluster instances.
CfnInstanceFleetConfig.InstanceFleetProvisioningSpecificationsPropertyStruct> The instance fleet configuration is available only in Amazon EMR versions 4.8.0 and later, excluding 5.0.x versions.
CfnInstanceFleetConfig.InstanceFleetResizingSpecificationsPropertyStructThe resize specification for On-Demand and Spot Instances in the fleet.
CfnInstanceFleetConfig.InstanceTypeConfigPropertyStructInstanceType config is a subproperty of InstanceFleetConfig .
CfnInstanceFleetConfig.OnDemandCapacityReservationOptionsPropertyStructDescribes the strategy for using unused Capacity Reservations for fulfilling On-Demand capacity.
CfnInstanceFleetConfig.OnDemandProvisioningSpecificationPropertyStructThe launch specification for On-Demand Instances in the instance fleet, which determines the allocation strategy.
CfnInstanceFleetConfig.OnDemandResizingSpecificationPropertyStructThe resize specification for On-Demand Instances in the instance fleet, which contains the resize timeout period.
CfnInstanceFleetConfig.SpotProvisioningSpecificationPropertyStructSpotProvisioningSpecification is a subproperty of the InstanceFleetProvisioningSpecifications property type.
CfnInstanceFleetConfig.SpotResizingSpecificationPropertyStructThe resize specification for Spot Instances in the instance fleet, which contains the resize timeout period.
CfnInstanceFleetConfig.VolumeSpecificationPropertyStructVolumeSpecification is a subproperty of the EbsBlockDeviceConfig property type.
CfnInstanceFleetConfigPropsStructProperties for defining a CfnInstanceFleetConfig.
CfnInstanceGroupConfig.AppConfigurationPropertyStruct
CfnInstanceGroupConfig.AutoScalingPolicyPropertyStructAutoScalingPolicy defines how an instance group dynamically adds and terminates EC2 instances in response to the value of a CloudWatch metric.
CfnInstanceGroupConfig.CloudWatchAlarmDefinitionPropertyStructCloudWatchAlarmDefinition is a subproperty of the ScalingTrigger property, which determines when to trigger an automatic scaling activity.
CfnInstanceGroupConfig.ConfigurationPropertyStructConfigurations is a property of the AWS::EMR::Cluster resource that specifies the configuration of applications on an Amazon EMR cluster.
CfnInstanceGroupConfig.EbsBlockDeviceConfigPropertyStructConfiguration of requested EBS block device associated with the instance group with count of volumes that are associated to every instance.
CfnInstanceGroupConfig.EbsConfigurationPropertyStructThe Amazon EBS configuration of a cluster instance.
CfnInstanceGroupConfig.MetricDimensionPropertyStructMetricDimension is a subproperty of the CloudWatchAlarmDefinition property type.
CfnInstanceGroupConfig.ScalingActionPropertyStructScalingAction is a subproperty of the ScalingRule property type.
CfnInstanceGroupConfig.ScalingConstraintsPropertyStructScalingConstraints is a subproperty of the AutoScalingPolicy property type.
CfnInstanceGroupConfig.ScalingRulePropertyStructScalingRule is a subproperty of the AutoScalingPolicy property type.
CfnInstanceGroupConfig.ScalingTriggerPropertyStructScalingTrigger is a subproperty of the ScalingRule property type.
CfnInstanceGroupConfig.SimpleScalingPolicyConfigurationPropertyStructSimpleScalingPolicyConfiguration is a subproperty of the ScalingAction property type.
CfnInstanceGroupConfig.VolumeSpecificationPropertyStructVolumeSpecification is a subproperty of the EbsBlockDeviceConfig property type.
CfnInstanceGroupConfigPropsStructProperties for defining a CfnInstanceGroupConfig.
CfnSecurityConfigurationPropsStructProperties for defining a CfnSecurityConfiguration.
CfnStep.HadoopJarStepConfigPropertyStructA job flow step consisting of a JAR file whose main function will be executed.
CfnStep.KeyValuePropertyStructKeyValue is a subproperty of the HadoopJarStepConfig property type.
CfnStepPropsStructProperties for defining a CfnStep.
CfnStudioPropsStructProperties for defining a CfnStudio.
CfnStudioSessionMappingPropsStructProperties for defining a CfnStudioSessionMapping.
CfnWALWorkspacePropsStructProperties for defining a CfnWALWorkspace.