| Modifier and Type | Method and Description |
|---|---|
CfnStep.Builder |
actionOnFailure(String actionOnFailure)
This specifies what action to take when the cluster step fails.
|
CfnStep |
build() |
static CfnStep.Builder |
create(software.constructs.Construct scope,
String id) |
CfnStep.Builder |
hadoopJarStep(CfnStep.HadoopJarStepConfigProperty hadoopJarStep)
The `HadoopJarStepConfig` property type specifies a job flow step consisting of a JAR file whose main function will be executed.
|
CfnStep.Builder |
hadoopJarStep(IResolvable hadoopJarStep)
The `HadoopJarStepConfig` property type specifies a job flow step consisting of a JAR file whose main function will be executed.
|
CfnStep.Builder |
jobFlowId(String jobFlowId)
A string that uniquely identifies the cluster (job flow).
|
CfnStep.Builder |
name(String name)
The name of the cluster step.
|
@Stability(value=Stable) public static CfnStep.Builder create(software.constructs.Construct scope, String id)
scope - - scope in which this resource is defined. This parameter is required.id - - scoped id of the resource. This parameter is required.CfnStep.HadoopJarStepConfigProperty.Builder.@Stability(value=Stable) public CfnStep.Builder actionOnFailure(String actionOnFailure)
Possible values are CANCEL_AND_WAIT and CONTINUE .
actionOnFailure - This specifies what action to take when the cluster step fails. This parameter is required.this@Stability(value=Stable) public CfnStep.Builder hadoopJarStep(CfnStep.HadoopJarStepConfigProperty hadoopJarStep)
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.
hadoopJarStep - The `HadoopJarStepConfig` property type specifies a job flow step consisting of a JAR file whose main function will be executed. This parameter is required.this@Stability(value=Stable) public CfnStep.Builder hadoopJarStep(IResolvable hadoopJarStep)
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.
hadoopJarStep - The `HadoopJarStepConfig` property type specifies a job flow step consisting of a JAR file whose main function will be executed. This parameter is required.this@Stability(value=Stable) public CfnStep.Builder jobFlowId(String jobFlowId)
jobFlowId - A string that uniquely identifies the cluster (job flow). This parameter is required.this@Stability(value=Stable) public CfnStep.Builder name(String name)
name - The name of the cluster step. This parameter is required.thisCopyright © 2022. All rights reserved.