Show / Hide Table of Contents

Class CfnCluster.StepConfigProperty

StepConfig is a property of the AWS::EMR::Cluster resource.

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

The StepConfig property type specifies a cluster (job flow) step, which runs only on the master node. Steps are used to submit data processing jobs to the cluster.

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-stepconfig.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;

StepConfigProperty stepConfigProperty = new StepConfigProperty {
    HadoopJarStep = new HadoopJarStepConfigProperty {
        Jar = "jar",

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

    // the properties below are optional
    ActionOnFailure = "actionOnFailure"
};

Synopsis

Constructors

StepConfigProperty()

Properties

ActionOnFailure

The action to take when the cluster step fails.

HadoopJarStep

The JAR file used for the step.

Name

The name of the step.

Constructors

StepConfigProperty()

public StepConfigProperty()

Properties

ActionOnFailure

The action to take when the cluster step fails.

public string ActionOnFailure { get; set; }
Property Value

System.String

Remarks

Possible values are CANCEL_AND_WAIT and CONTINUE .

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-stepconfig.html#cfn-elasticmapreduce-cluster-stepconfig-actiononfailure

HadoopJarStep

The JAR file used for the step.

public object HadoopJarStep { get; set; }
Property Value

System.Object

Remarks

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-stepconfig.html#cfn-elasticmapreduce-cluster-stepconfig-hadoopjarstep

Name

The name of the step.

public string Name { get; set; }
Property Value

System.String

Remarks

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-stepconfig.html#cfn-elasticmapreduce-cluster-stepconfig-name

Implements

CfnCluster.IStepConfigProperty
Back to top Generated by DocFX