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: