aws-cdk-lib.aws_emr.CfnCluster.StepConfigProperty

interface StepConfigProperty

LanguageType name
.NETAmazon.CDK.AWS.EMR.CfnCluster.StepConfigProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsemr#CfnCluster_StepConfigProperty
Javasoftware.amazon.awscdk.services.emr.CfnCluster.StepConfigProperty
Pythonaws_cdk.aws_emr.CfnCluster.StepConfigProperty
TypeScript aws-cdk-lib » aws_emr » CfnCluster » StepConfigProperty

StepConfig is a property of the AWS::EMR::Cluster resource.

The StepConfig property type specifies a cluster (job flow) step, which runs only on the master node. Steps are used to submit data processing jobs to the cluster.

Example

// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_emr as emr } from 'aws-cdk-lib';
const stepConfigProperty: emr.CfnCluster.StepConfigProperty = {
  hadoopJarStep: {
    jar: 'jar',

    // the properties below are optional
    args: ['args'],
    mainClass: 'mainClass',
    stepProperties: [{
      key: 'key',
      value: 'value',
    }],
  },
  name: 'name',

  // the properties below are optional
  actionOnFailure: 'actionOnFailure',
};

Properties

NameTypeDescription
hadoopJarStepIResolvable | HadoopJarStepConfigPropertyThe JAR file used for the step.
namestringThe name of the step.
actionOnFailure?stringThe action to take when the cluster step fails.

hadoopJarStep

Type: IResolvable | HadoopJarStepConfigProperty

The JAR file used for the step.


name

Type: string

The name of the step.


actionOnFailure?

Type: string (optional)

The action to take when the cluster step fails.

Possible values are CANCEL_AND_WAIT and CONTINUE .