Interface CfnCluster.StepConfigProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnCluster.StepConfigProperty.Jsii$Proxy
- Enclosing class:
CfnCluster
@Stability(Stable)
public static interface CfnCluster.StepConfigProperty
extends software.amazon.jsii.JsiiSerializable
StepConfig is a property of the AWS::EMR::Cluster resource.
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();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnCluster.StepConfigPropertystatic final classAn implementation forCfnCluster.StepConfigProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getHadoopJarStep
The JAR file used for the step.Returns union: either
IResolvableorCfnCluster.HadoopJarStepConfigProperty- See Also:
-
getName
The name of the step.- See Also:
-
getActionOnFailure
The action to take when the cluster step fails.Possible values are
CANCEL_AND_WAITandCONTINUE.- See Also:
-
builder
-