interface HadoopJarStepConfigProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.EMR.Mixins.CfnStepPropsMixin.HadoopJarStepConfigProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsemr/mixins#CfnStepPropsMixin_HadoopJarStepConfigProperty |
Java | software.amazon.awscdk.mixins.preview.services.emr.mixins.CfnStepPropsMixin.HadoopJarStepConfigProperty |
Python | aws_cdk.mixins_preview.aws_emr.mixins.CfnStepPropsMixin.HadoopJarStepConfigProperty |
TypeScript | @aws-cdk/mixins-preview » aws_emr » mixins » CfnStepPropsMixin » HadoopJarStepConfigProperty |
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 { mixins as emr_mixins } from '@aws-cdk/mixins-preview/aws-emr';
const hadoopJarStepConfigProperty: emr_mixins.CfnStepPropsMixin.HadoopJarStepConfigProperty = {
args: ['args'],
jar: 'jar',
mainClass: 'mainClass',
stepProperties: [{
key: 'key',
value: 'value',
}],
};
Properties
| Name | Type | Description |
|---|---|---|
| args? | string[] | A list of command line arguments passed to the JAR file's main function when executed. |
| jar? | string | A path to a JAR file run during the step. |
| 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. |
args?
Type:
string[]
(optional)
A list of command line arguments passed to the JAR file's main function when executed.
jar?
Type:
string
(optional)
A path to a JAR file run during the step.
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.

.NET
Go
Java
Python
TypeScript