Interface CfnStepProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnStepProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2024-11-15T10:24:59.596Z")
@Stability(Stable)
public interface CfnStepProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnStep
.
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();
- See Also:
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnStepProps
static final class
An implementation forCfnStepProps
-
Method Summary
Modifier and TypeMethodDescriptionstatic CfnStepProps.Builder
builder()
This specifies what action to take when the cluster step fails.TheHadoopJarStepConfig
property type specifies a job flow step consisting of a JAR file whose main function will be executed.A string that uniquely identifies the cluster (job flow).getName()
The name of the cluster step.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getActionOnFailure
This specifies what action to take when the cluster step fails.Possible values are
CANCEL_AND_WAIT
andCONTINUE
.- See Also:
-
getHadoopJarStep
TheHadoopJarStepConfig
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.
- See Also:
-
getJobFlowId
A string that uniquely identifies the cluster (job flow).- See Also:
-
getName
The name of the cluster step.- See Also:
-
builder
- Returns:
- a
CfnStepProps.Builder
ofCfnStepProps
-