Show / Hide Table of Contents

Class CfnStep.HadoopJarStepConfigProperty

A job flow step consisting of a JAR file whose main function will be executed.

Inheritance
System.Object
CfnStep.HadoopJarStepConfigProperty
Implements
CfnStep.IHadoopJarStepConfigProperty
Namespace: Amazon.CDK.AWS.EMR
Assembly: Amazon.CDK.AWS.EMR.dll
Syntax (csharp)
public class HadoopJarStepConfigProperty : Object, CfnStep.IHadoopJarStepConfigProperty
Syntax (vb)
Public Class HadoopJarStepConfigProperty
    Inherits Object
    Implements CfnStep.IHadoopJarStepConfigProperty
Remarks

The main function submits a job for Hadoop to execute and waits for the job to finish or fail.

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-step-hadoopjarstepconfig.html

ExampleMetadata: fixture=_generated

Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.EMR;

var hadoopJarStepConfigProperty = new HadoopJarStepConfigProperty {
    Jar = "jar",

    // the properties below are optional
    Args = new [] { "args" },
    MainClass = "mainClass",
    StepProperties = new [] { new KeyValueProperty {
        Key = "key",
        Value = "value"
    } }
};

Synopsis

Constructors

HadoopJarStepConfigProperty()

Properties

Args

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

Jar

A path to a JAR file run during the step.

MainClass

The name of the main class in the specified Java file.

StepProperties

A list of Java properties that are set when the step runs.

Constructors

HadoopJarStepConfigProperty()

public HadoopJarStepConfigProperty()

Properties

Args

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

public string[] Args { get; set; }
Property Value

System.String[]

Remarks

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-step-hadoopjarstepconfig.html#cfn-elasticmapreduce-step-hadoopjarstepconfig-args

Jar

A path to a JAR file run during the step.

public string Jar { get; set; }
Property Value

System.String

Remarks

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-step-hadoopjarstepconfig.html#cfn-elasticmapreduce-step-hadoopjarstepconfig-jar

MainClass

The name of the main class in the specified Java file.

public string MainClass { get; set; }
Property Value

System.String

Remarks

If not specified, the JAR file should specify a Main-Class in its manifest file.

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-step-hadoopjarstepconfig.html#cfn-elasticmapreduce-step-hadoopjarstepconfig-mainclass

StepProperties

A list of Java properties that are set when the step runs.

public object StepProperties { get; set; }
Property Value

System.Object

Remarks

You can use these properties to pass key value pairs to your main function.

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-step-hadoopjarstepconfig.html#cfn-elasticmapreduce-step-hadoopjarstepconfig-stepproperties

Implements

CfnStep.IHadoopJarStepConfigProperty
Back to top Generated by DocFX