Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
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.
HadoopJarStepConfig' | |
|
Instances
newHadoopJarStepConfig Source #
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.