Show / Hide Table of Contents

Interface CfnClusterPropsMixin.IStepConfigProperty

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

Namespace: Amazon.CDK.Mixins.Preview.AWS.EMR.Mixins
Assembly: Amazon.CDK.Mixins.Preview.dll
Syntax (csharp)
public interface CfnClusterPropsMixin.IStepConfigProperty
Syntax (vb)
Public Interface CfnClusterPropsMixin.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.

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

             var stepConfigProperty = new StepConfigProperty {
                 ActionOnFailure = "actionOnFailure",
                 HadoopJarStep = new HadoopJarStepConfigProperty {
                     Args = new [] { "args" },
                     Jar = "jar",
                     MainClass = "mainClass",
                     StepProperties = new [] { new KeyValueProperty {
                         Key = "key",
                         Value = "value"
                     } }
                 },
                 Name = "name"
             };

Synopsis

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.

Properties

ActionOnFailure

The action to take when the cluster step fails.

string? ActionOnFailure { get; }
Property Value

string

Remarks

Possible values are CANCEL_AND_WAIT and CONTINUE .

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

HadoopJarStep

The JAR file used for the step.

object? HadoopJarStep { get; }
Property Value

object

Remarks

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

Type union: either IResolvable or CfnClusterPropsMixin.IHadoopJarStepConfigProperty

Name

The name of the step.

string? Name { get; }
Property Value

string

Remarks

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

Back to top Generated by DocFX