interface StepConfigProperty
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.EMR.CfnCluster.StepConfigProperty |
![]() | software.amazon.awscdk.services.emr.CfnCluster.StepConfigProperty |
![]() | aws_cdk.aws_emr.CfnCluster.StepConfigProperty |
![]() | @aws-cdk/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 * as emr from '@aws-cdk/aws-emr';
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
Name | Type | Description |
---|---|---|
hadoop | IResolvable | Hadoop | The JAR file used for the step. |
name | string | The name of the step. |
action | string | The action to take when the cluster step fails. |
hadoopJarStep
Type:
IResolvable
|
Hadoop
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
.