| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.EMR.Types.HadoopJarStepConfig
Description
Synopsis
- data HadoopJarStepConfig = HadoopJarStepConfig' {}
- newHadoopJarStepConfig :: Text -> HadoopJarStepConfig
- hadoopJarStepConfig_args :: Lens' HadoopJarStepConfig (Maybe [Text])
- hadoopJarStepConfig_mainClass :: Lens' HadoopJarStepConfig (Maybe Text)
- hadoopJarStepConfig_properties :: Lens' HadoopJarStepConfig (Maybe [KeyValue])
- hadoopJarStepConfig_jar :: Lens' HadoopJarStepConfig Text
Documentation
data HadoopJarStepConfig Source #
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.
See: newHadoopJarStepConfig smart constructor.
Constructors
| HadoopJarStepConfig' | |
Fields
| |
Instances
newHadoopJarStepConfig Source #
Arguments
| :: Text | |
| -> HadoopJarStepConfig |
Create a value of HadoopJarStepConfig with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:args:HadoopJarStepConfig', hadoopJarStepConfig_args - A list of command line arguments passed to the JAR file's main function
when executed.
$sel:mainClass:HadoopJarStepConfig', hadoopJarStepConfig_mainClass - 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.
$sel:properties:HadoopJarStepConfig', hadoopJarStepConfig_properties - 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.
$sel:jar:HadoopJarStepConfig', hadoopJarStepConfig_jar - A path to a JAR file run during the step.
hadoopJarStepConfig_args :: Lens' HadoopJarStepConfig (Maybe [Text]) Source #
A list of command line arguments passed to the JAR file's main function when executed.
hadoopJarStepConfig_mainClass :: Lens' HadoopJarStepConfig (Maybe Text) Source #
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.
hadoopJarStepConfig_properties :: Lens' HadoopJarStepConfig (Maybe [KeyValue]) Source #
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.
hadoopJarStepConfig_jar :: Lens' HadoopJarStepConfig Text Source #
A path to a JAR file run during the step.