AWS::EMR::StepUse `Step` to specify a cluster (job flow) step, which runs only on the master node. Steps are used to submit data processing jobs to a cluster.
import { CfnStep } from 'aws-cdk-lib/aws-emr';Or use the module namespace:
import * as emr from 'aws-cdk-lib/aws-emr';
// emr.CfnStepConfiguration passed to the constructor as CfnStepProps.
actionOnFailureRequiredstringThis specifies what action to take when the cluster step fails. Possible values are `CANCEL_AND_WAIT` and `CONTINUE` .
hadoopJarStepRequiredIResolvable | HadoopJarStepConfigPropertyThe `HadoopJarStepConfig` property type specifies a job flow step consisting of a JAR file whose main function will be executed. The main function submits a job for the cluster to execute as a step on the master node, and then waits for the job to finish or fail before executing subsequent steps.
jobFlowIdRequiredstringA string that uniquely identifies the cluster (job flow).
nameRequiredstringThe name of the cluster step.
encryptionKeyArnOptionalstringThe KMS key ARN to encrypt the logs published to the given Amazon S3 destination. When omitted, EMR falls back to cluster-level logging behavior.
logUriOptionalstringThe Amazon S3 destination URI for log publishing. When omitted, EMR falls back to cluster-level logging behavior.
This L1 construct maps directly to the following CloudFormation resource type.
Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.
Subscribe to Newsletteraws-emrAWS::EMR::Step