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.HadoopStepConfig

Description

 
Synopsis

Documentation

data HadoopStepConfig Source #

A cluster 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: newHadoopStepConfig smart constructor.

Constructors

HadoopStepConfig' 

Fields

  • args :: Maybe [Text]

    The list of command line arguments to pass to the JAR file's main function for execution.

  • jar :: Maybe Text

    The path to the JAR file that runs during the step.

  • 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 (HashMap Text Text)

    The 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.

Instances

Instances details
Eq HadoopStepConfig Source # 
Instance details

Defined in Amazonka.EMR.Types.HadoopStepConfig

Read HadoopStepConfig Source # 
Instance details

Defined in Amazonka.EMR.Types.HadoopStepConfig

Show HadoopStepConfig Source # 
Instance details

Defined in Amazonka.EMR.Types.HadoopStepConfig

Generic HadoopStepConfig Source # 
Instance details

Defined in Amazonka.EMR.Types.HadoopStepConfig

Associated Types

type Rep HadoopStepConfig :: Type -> Type #

NFData HadoopStepConfig Source # 
Instance details

Defined in Amazonka.EMR.Types.HadoopStepConfig

Methods

rnf :: HadoopStepConfig -> () #

Hashable HadoopStepConfig Source # 
Instance details

Defined in Amazonka.EMR.Types.HadoopStepConfig

FromJSON HadoopStepConfig Source # 
Instance details

Defined in Amazonka.EMR.Types.HadoopStepConfig

type Rep HadoopStepConfig Source # 
Instance details

Defined in Amazonka.EMR.Types.HadoopStepConfig

type Rep HadoopStepConfig = D1 ('MetaData "HadoopStepConfig" "Amazonka.EMR.Types.HadoopStepConfig" "libZSservicesZSamazonka-emrZSamazonka-emr" 'False) (C1 ('MetaCons "HadoopStepConfig'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "args") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "jar") '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 (HashMap Text Text))))))

newHadoopStepConfig :: HadoopStepConfig Source #

Create a value of HadoopStepConfig 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:HadoopStepConfig', hadoopStepConfig_args - The list of command line arguments to pass to the JAR file's main function for execution.

$sel:jar:HadoopStepConfig', hadoopStepConfig_jar - The path to the JAR file that runs during the step.

$sel:mainClass:HadoopStepConfig', hadoopStepConfig_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:HadoopStepConfig', hadoopStepConfig_properties - The 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.

hadoopStepConfig_args :: Lens' HadoopStepConfig (Maybe [Text]) Source #

The list of command line arguments to pass to the JAR file's main function for execution.

hadoopStepConfig_jar :: Lens' HadoopStepConfig (Maybe Text) Source #

The path to the JAR file that runs during the step.

hadoopStepConfig_mainClass :: Lens' HadoopStepConfig (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.

hadoopStepConfig_properties :: Lens' HadoopStepConfig (Maybe (HashMap Text Text)) Source #

The 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.