interface CfnStepMixinProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.EMR.Mixins.CfnStepMixinProps |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsemr/mixins#CfnStepMixinProps |
Java | software.amazon.awscdk.mixins.preview.services.emr.mixins.CfnStepMixinProps |
Python | aws_cdk.mixins_preview.aws_emr.mixins.CfnStepMixinProps |
TypeScript | @aws-cdk/mixins-preview » aws_emr » mixins » CfnStepMixinProps |
Properties for CfnStepPropsMixin.
See also: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-emr-step.html
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 cfnStepMixinProps: emr_mixins.CfnStepMixinProps = {
actionOnFailure: 'actionOnFailure',
hadoopJarStep: {
args: ['args'],
jar: 'jar',
mainClass: 'mainClass',
stepProperties: [{
key: 'key',
value: 'value',
}],
},
jobFlowId: 'jobFlowId',
name: 'name',
};
Properties
| Name | Type | Description |
|---|---|---|
| action | string | This specifies what action to take when the cluster step fails. |
| hadoop | IResolvable | Hadoop | The HadoopJarStepConfig property type specifies a job flow step consisting of a JAR file whose main function will be executed. |
| job | string | A string that uniquely identifies the cluster (job flow). |
| name? | string | The name of the cluster step. |
actionOnFailure?
Type:
string
(optional)
This specifies what action to take when the cluster step fails.
Possible values are CANCEL_AND_WAIT and CONTINUE .
hadoopJarStep?
Type:
IResolvable | Hadoop
(optional)
The 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.
jobFlowId?
Type:
string
(optional)
A string that uniquely identifies the cluster (job flow).
name?
Type:
string
(optional)
The name of the cluster step.

.NET
Go
Java
Python
TypeScript