Show / Hide Table of Contents

Interface ICfnStepMixinProps

Properties for CfnStepPropsMixin.

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

See: 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.Mixins.Preview.AWS.EMR.Mixins;

             var cfnStepMixinProps = new CfnStepMixinProps {
                 ActionOnFailure = "actionOnFailure",
                 EncryptionKeyArn = "encryptionKeyArn",
                 HadoopJarStep = new HadoopJarStepConfigProperty {
                     Args = new [] { "args" },
                     Jar = "jar",
                     MainClass = "mainClass",
                     StepProperties = new [] { new KeyValueProperty {
                         Key = "key",
                         Value = "value"
                     } }
                 },
                 JobFlowId = "jobFlowId",
                 LogUri = "logUri",
                 Name = "name"
             };

Synopsis

Properties

ActionOnFailure

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

EncryptionKeyArn

The KMS key ARN to encrypt the logs published to the given Amazon S3 destination.

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).

LogUri

The Amazon S3 destination URI for log publishing.

Name

The name of the cluster step.

Properties

ActionOnFailure

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

EncryptionKeyArn

The KMS key ARN to encrypt the logs published to the given Amazon S3 destination.

string? EncryptionKeyArn { get; }
Property Value

string

Remarks

When omitted, EMR falls back to cluster-level logging behavior.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-emr-step.html#cfn-emr-step-encryptionkeyarn

HadoopJarStep

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

object? HadoopJarStep { get; }
Property Value

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.

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

Type union: either IResolvable or CfnStepPropsMixin.IHadoopJarStepConfigProperty

JobFlowId

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

string? JobFlowId { get; }
Property Value

string

Remarks

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

LogUri

The Amazon S3 destination URI for log publishing.

string? LogUri { get; }
Property Value

string

Remarks

When omitted, EMR falls back to cluster-level logging behavior.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-emr-step.html#cfn-emr-step-loguri

Name

The name of the cluster step.

string? Name { get; }
Property Value

string

Remarks

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

Back to top Generated by DocFX