@Stability(value=Stable)
public static interface CfnCluster.StepConfigProperty
extends software.amazon.jsii.JsiiSerializable
The StepConfig property type specifies a cluster (job flow) step, which runs only on the master node. Steps are used to submit data processing jobs to the cluster.
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.*;
StepConfigProperty stepConfigProperty = StepConfigProperty.builder()
.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())
.name("name")
// the properties below are optional
.actionOnFailure("actionOnFailure")
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnCluster.StepConfigProperty.Builder
A builder for
CfnCluster.StepConfigProperty |
static class |
CfnCluster.StepConfigProperty.Jsii$Proxy
An implementation for
CfnCluster.StepConfigProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnCluster.StepConfigProperty.Builder |
builder() |
default String |
getActionOnFailure()
The action to take when the cluster step fails.
|
Object |
getHadoopJarStep()
The JAR file used for the step.
|
String |
getName()
The name of the step.
|
@Stability(value=Stable) @NotNull Object getHadoopJarStep()
@Stability(value=Stable) @NotNull String getName()
@Stability(value=Stable) @Nullable default String getActionOnFailure()
Possible values are CANCEL_AND_WAIT and CONTINUE .
@Stability(value=Stable) static CfnCluster.StepConfigProperty.Builder builder()
Copyright © 2022. All rights reserved.