@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:39.236Z") @Stability(value=Stable) public interface CfnStepProps extends software.amazon.jsii.JsiiSerializable
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.emr.*;
CfnStepProps cfnStepProps = CfnStepProps.builder()
.actionOnFailure("actionOnFailure")
.hadoopJarStep(HadoopJarStepConfigProperty.builder()
.jar("jar")
// the properties below are optional
.args(List.of("args"))
.mainClass("mainClass")
.stepProperties(List.of(KeyValueProperty.builder()
.key("key")
.value("value")
.build()))
.build())
.jobFlowId("jobFlowId")
.name("name")
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnStepProps.Builder
A builder for
CfnStepProps |
static class |
CfnStepProps.Jsii$Proxy
An implementation for
CfnStepProps |
| Modifier and Type | Method and Description |
|---|---|
static CfnStepProps.Builder |
builder() |
String |
getActionOnFailure()
This specifies what action to take when the cluster step fails.
|
Object |
getHadoopJarStep()
The `HadoopJarStepConfig` property type specifies a job flow step consisting of a JAR file whose main function will be executed.
|
String |
getJobFlowId()
A string that uniquely identifies the cluster (job flow).
|
String |
getName()
The name of the cluster step.
|
@Stability(value=Stable) @NotNull String getActionOnFailure()
Possible values are CANCEL_AND_WAIT and CONTINUE .
@Stability(value=Stable) @NotNull Object getHadoopJarStep()
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.
@Stability(value=Stable) @NotNull String getJobFlowId()
@Stability(value=Stable) @NotNull String getName()
@Stability(value=Stable) static CfnStepProps.Builder builder()
CfnStepProps.Builder of CfnStepPropsCopyright © 2022. All rights reserved.