interface HadoopJarStepConfigProperty
| Language | Type name | 
|---|---|
|  .NET | Amazon.CDK.AWS.EMR.CfnCluster.HadoopJarStepConfigProperty | 
|  Java | software.amazon.awscdk.services.emr.CfnCluster.HadoopJarStepConfigProperty | 
|  Python | aws_cdk.aws_emr.CfnCluster.HadoopJarStepConfigProperty | 
|  TypeScript | @aws-cdk/aws-emr»CfnCluster»HadoopJarStepConfigProperty | 
The HadoopJarStepConfig 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.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as emr from '@aws-cdk/aws-emr';
const hadoopJarStepConfigProperty: emr.CfnCluster.HadoopJarStepConfigProperty = {
  jar: 'jar',
  // the properties below are optional
  args: ['args'],
  mainClass: 'mainClass',
  stepProperties: [{
    key: 'key',
    value: 'value',
  }],
};
Properties
| Name | Type | Description | 
|---|---|---|
| jar | string | A path to a JAR file run during the step. | 
| args? | string[] | A list of command line arguments passed to the JAR file's main function when executed. | 
| main | string | The name of the main class in the specified Java file. | 
| step | IResolvable | IResolvable | Key[] | A list of Java properties that are set when the step runs. | 
jar
Type:
string
A path to a JAR file run during the step.
args?
Type:
string[]
(optional)
A list of command line arguments passed to the JAR file's main function when executed.
mainClass?
Type:
string
(optional)
The name of the main class in the specified Java file.
If not specified, the JAR file should specify a Main-Class in its manifest file.
stepProperties?
Type:
IResolvable | IResolvable | Key[]
(optional)
A list of Java properties that are set when the step runs.
You can use these properties to pass key-value pairs to your main function.
