Interface CfnStep.HadoopJarStepConfigProperty

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnStep.HadoopJarStepConfigProperty.Jsii$Proxy
Enclosing class:
CfnStep

@Stability(Stable) public static interface CfnStep.HadoopJarStepConfigProperty extends software.amazon.jsii.JsiiSerializable
A job flow step consisting of a JAR file whose main function will be executed.

The main function submits a job for Hadoop to execute and waits for the job to finish or fail.

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.*;
 HadoopJarStepConfigProperty hadoopJarStepConfigProperty = 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();
 

See Also: