@Generated(value="jsii-pacmak/1.58.0 (build f8ba112)",
date="2022-05-20T22:19:54.399Z")
public interface CfnStepProps
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() |
java.lang.String |
getActionOnFailure()
This specifies what action to take when the cluster step fails.
|
java.lang.Object |
getHadoopJarStep()
The `HadoopJarStepConfig` property type specifies a job flow step consisting of a JAR file whose main function will be executed.
|
java.lang.String |
getJobFlowId()
A string that uniquely identifies the cluster (job flow).
|
java.lang.String |
getName()
The name of the cluster step.
|
java.lang.String getActionOnFailure()
Possible values are CANCEL_AND_WAIT
and CONTINUE
.
java.lang.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.
java.lang.String getJobFlowId()
java.lang.String getName()
static CfnStepProps.Builder builder()
CfnStepProps.Builder
of CfnStepProps