interface StepConfigProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.EMR.Mixins.CfnClusterPropsMixin.StepConfigProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsemr/mixins#CfnClusterPropsMixin_StepConfigProperty |
Java | software.amazon.awscdk.mixins.preview.services.emr.mixins.CfnClusterPropsMixin.StepConfigProperty |
Python | aws_cdk.mixins_preview.aws_emr.mixins.CfnClusterPropsMixin.StepConfigProperty |
TypeScript | @aws-cdk/mixins-preview » aws_emr » mixins » CfnClusterPropsMixin » 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 { mixins as emr_mixins } from '@aws-cdk/mixins-preview/aws-emr';
const stepConfigProperty: emr_mixins.CfnClusterPropsMixin.StepConfigProperty = {
actionOnFailure: 'actionOnFailure',
hadoopJarStep: {
args: ['args'],
jar: 'jar',
mainClass: 'mainClass',
stepProperties: [{
key: 'key',
value: 'value',
}],
},
name: 'name',
};
Properties
| Name | Type | Description |
|---|---|---|
| action | string | The action to take when the cluster step fails. |
| hadoop | IResolvable | Hadoop | The JAR file used for the step. |
| name? | 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 .
hadoopJarStep?
Type:
IResolvable | Hadoop
(optional)
The JAR file used for the step.
name?
Type:
string
(optional)
The name of the step.

.NET
Go
Java
Python
TypeScript