libZSservicesZSamazonka-emrZSamazonka-emr
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.EMR.Types.HadoopJarStepConfig

Description

 
Synopsis

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

  • args :: Maybe [Text]

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

  • mainClass :: Maybe Text

    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.

  • properties :: Maybe [KeyValue]

    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.

  • jar :: Text

    A path to a JAR file run during the step.

Instances

Instances details
Eq HadoopJarStepConfig Source # 
Instance details

Defined in Amazonka.EMR.Types.HadoopJarStepConfig

Read HadoopJarStepConfig Source # 
Instance details

Defined in Amazonka.EMR.Types.HadoopJarStepConfig

Show HadoopJarStepConfig Source # 
Instance details

Defined in Amazonka.EMR.Types.HadoopJarStepConfig

Generic HadoopJarStepConfig Source # 
Instance details

Defined in Amazonka.EMR.Types.HadoopJarStepConfig

Associated Types

type Rep HadoopJarStepConfig :: Type -> Type #

NFData HadoopJarStepConfig Source # 
Instance details

Defined in Amazonka.EMR.Types.HadoopJarStepConfig

Methods

rnf :: HadoopJarStepConfig -> () #

Hashable HadoopJarStepConfig Source # 
Instance details

Defined in Amazonka.EMR.Types.HadoopJarStepConfig

ToJSON HadoopJarStepConfig Source # 
Instance details

Defined in Amazonka.EMR.Types.HadoopJarStepConfig

type Rep HadoopJarStepConfig Source # 
Instance details

Defined in Amazonka.EMR.Types.HadoopJarStepConfig

type Rep HadoopJarStepConfig = D1 ('MetaData "HadoopJarStepConfig" "Amazonka.EMR.Types.HadoopJarStepConfig" "libZSservicesZSamazonka-emrZSamazonka-emr" 'False) (C1 ('MetaCons "HadoopJarStepConfig'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "args") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "mainClass") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "properties") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [KeyValue])) :*: S1 ('MetaSel ('Just "jar") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

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.