interface CfnStepProps
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.EMR.CfnStepProps |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awsemr#CfnStepProps |
![]() | software.amazon.awscdk.services.emr.CfnStepProps |
![]() | aws_cdk.aws_emr.CfnStepProps |
![]() | aws-cdk-lib » aws_emr » CfnStepProps |
Properties for defining a CfnStep
.
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 { aws_emr as emr } from 'aws-cdk-lib';
const cfnStepProps: emr.CfnStepProps = {
actionOnFailure: 'actionOnFailure',
hadoopJarStep: {
jar: 'jar',
// the properties below are optional
args: ['args'],
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
This specifies what action to take when the cluster step fails.
Possible values are CANCEL_AND_WAIT
and CONTINUE
.
hadoopJarStep
Type:
IResolvable
|
Hadoop
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
A string that uniquely identifies the cluster (job flow).
name
Type:
string
The name of the cluster step.