Show / Hide Table of Contents

Interface CfnClusterPropsMixin.IHadoopJarStepConfigProperty

The HadoopJarStepConfig property type specifies a job flow step consisting of a JAR file whose main function will be executed.

Namespace: Amazon.CDK.Mixins.Preview.AWS.EMR.Mixins
Assembly: Amazon.CDK.Mixins.Preview.dll
Syntax (csharp)
public interface CfnClusterPropsMixin.IHadoopJarStepConfigProperty
Syntax (vb)
Public Interface CfnClusterPropsMixin.IHadoopJarStepConfigProperty
Remarks

The main function submits a job for the cluster to execute as a step on the master node, and then waits for the job to finish or fail before executing subsequent steps.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-emr-cluster-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.Mixins.Preview.AWS.EMR.Mixins;

             var hadoopJarStepConfigProperty = new HadoopJarStepConfigProperty {
                 Args = new [] { "args" },
                 Jar = "jar",
                 MainClass = "mainClass",
                 StepProperties = new [] { new KeyValueProperty {
                     Key = "key",
                     Value = "value"
                 } }
             };

Synopsis

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.

Properties

Args

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

string[]? Args { get; }
Property Value

string[]

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-emr-cluster-hadoopjarstepconfig.html#cfn-emr-cluster-hadoopjarstepconfig-args

Jar

A path to a JAR file run during the step.

string? Jar { get; }
Property Value

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-emr-cluster-hadoopjarstepconfig.html#cfn-emr-cluster-hadoopjarstepconfig-jar

MainClass

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

string? MainClass { get; }
Property Value

string

Remarks

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

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-emr-cluster-hadoopjarstepconfig.html#cfn-emr-cluster-hadoopjarstepconfig-mainclass

StepProperties

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

object? StepProperties { get; }
Property Value

object

Remarks

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

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-emr-cluster-hadoopjarstepconfig.html#cfn-emr-cluster-hadoopjarstepconfig-stepproperties

Type union: either IResolvable or (either IResolvable or CfnClusterPropsMixin.IKeyValueProperty)[]

Back to top Generated by DocFX