Show / Hide Table of Contents

Class CfnStepProps

Properties for defining a CfnStep.

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

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-emr-step.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;

CfnStepProps cfnStepProps = new CfnStepProps {
    ActionOnFailure = "actionOnFailure",
    HadoopJarStep = new HadoopJarStepConfigProperty {
        Jar = "jar",

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

Synopsis

Constructors

CfnStepProps()

Properties

ActionOnFailure

This specifies what action to take when the cluster step fails.

HadoopJarStep

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

JobFlowId

A string that uniquely identifies the cluster (job flow).

Name

The name of the cluster step.

Constructors

CfnStepProps()

public CfnStepProps()

Properties

ActionOnFailure

This specifies what 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-resource-emr-step.html#cfn-elasticmapreduce-step-actiononfailure

HadoopJarStep

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

public object HadoopJarStep { get; set; }
Property Value

System.Object

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.

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-emr-step.html#cfn-elasticmapreduce-step-hadoopjarstep

JobFlowId

A string that uniquely identifies the cluster (job flow).

public string JobFlowId { get; set; }
Property Value

System.String

Remarks

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-emr-step.html#cfn-elasticmapreduce-step-jobflowid

Name

The name of the cluster step.

public string Name { get; set; }
Property Value

System.String

Remarks

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-emr-step.html#cfn-elasticmapreduce-step-name

Implements

ICfnStepProps
Back to top Generated by DocFX