Menu
AWS CloudFormation
User Guide (API Version 2010-05-15)

Amazon EMR Step HadoopJarStepConfig

HadoopJarStepConfig is a property of the AWS::EMR::Step resource that specifies a JAR file and runtime settings that Amazon EMR (Amazon EMR) executes.

Syntax

JSON

Copy
{ "Args" : [ String, ... ], "Jar" : String, "MainClass" : String, "StepProperties" : [ KeyValue, ... ] }

YAML

Copy
Args: - String Jar: String MainClass: String StepProperties: - KeyValue

Properties

Args

A list of command line arguments passed to the JAR file's main function when the function is executed.

Required: No

Type: List of strings

Jar

A path to the JAR file that Amazon EMR runs for the job flow step.

Required: Yes

Type: String

MainClass

The name of the main class in the specified JAR file. If you don't specify a value, you must specify a main class in the JAR file's manifest file.

Required: No

Type: String

StepProperties

A list of Java properties that are set when the job flow step runs. You can use these properties to pass key-value pairs to your main function in the JAR file.

Required: No

Type: List of Amazon EMR Step HadoopJarStepConfig KeyValue