Show / Hide Table of Contents

Interface IEmrAddStepProps

Properties for EmrAddStep.

Inherited Members
ITaskStateBaseProps.ResultPath
ITaskStateBaseProps.ResultSelector
IStateBaseProps.Comment
IStateBaseProps.QueryLanguage
IStateBaseProps.StateName
ITaskStateBaseOptions.Credentials
ITaskStateBaseOptions.Heartbeat
ITaskStateBaseOptions.HeartbeatTimeout
ITaskStateBaseOptions.IntegrationPattern
ITaskStateBaseOptions.TaskTimeout
ITaskStateBaseOptions.Timeout
IAssignableStateOptions.Assign
IJsonPathCommonOptions.InputPath
IJsonPathCommonOptions.OutputPath
IJsonataCommonOptions.Outputs
Namespace: Amazon.CDK.AWS.StepFunctions.Tasks
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IEmrAddStepProps : ITaskStateBaseProps, IStateBaseProps, ITaskStateBaseOptions, IAssignableStateOptions, IJsonPathCommonOptions, IJsonataCommonOptions
Syntax (vb)
Public Interface IEmrAddStepProps Inherits ITaskStateBaseProps, IStateBaseProps, ITaskStateBaseOptions, IAssignableStateOptions, IJsonPathCommonOptions, IJsonataCommonOptions
Remarks

ExampleMetadata: infused

Examples
new EmrAddStep(this, "Task", new EmrAddStepProps {
                ClusterId = "ClusterId",
                Name = "StepName",
                Jar = "Jar",
                ActionOnFailure = ActionOnFailure.CONTINUE
            });

Synopsis

Properties

ActionOnFailure

The action to take when the cluster step fails.

Args

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

ClusterId

The ClusterId to add the Step to.

ExecutionRoleArn

The Amazon Resource Name (ARN) of the runtime role for a step on the cluster.

Jar

A path to a JAR file run during the step.

MainClass

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

Name

The name of the Step.

Properties

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

Properties

ActionOnFailure

The action to take when the cluster step fails.

ActionOnFailure? ActionOnFailure { get; }
Property Value

ActionOnFailure?

Remarks

Default: ActionOnFailure.CONTINUE

See: https://docs.aws.amazon.com/emr/latest/APIReference/API_StepConfig.html

Args

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

string[]? Args { get; }
Property Value

string[]

Remarks

Default: - No args

See: https://docs.aws.amazon.com/emr/latest/APIReference/API_HadoopJarStepConfig.html

ClusterId

The ClusterId to add the Step to.

string ClusterId { get; }
Property Value

string

Remarks

ExampleMetadata: infused

ExecutionRoleArn

The Amazon Resource Name (ARN) of the runtime role for a step on the cluster.

string? ExecutionRoleArn { get; }
Property Value

string

Remarks

Default: - Uses EC2 instance profile role

See: https://docs.aws.amazon.com/emr/latest/APIReference/API_AddJobFlowSteps.html#API_AddJobFlowSteps_RequestSyntax

Jar

A path to a JAR file run during the step.

string Jar { get; }
Property Value

string

Remarks

See: https://docs.aws.amazon.com/emr/latest/APIReference/API_HadoopJarStepConfig.html

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.

Default: - No mainClass

See: https://docs.aws.amazon.com/emr/latest/APIReference/API_HadoopJarStepConfig.html

Name

The name of the Step.

string Name { get; }
Property Value

string

Remarks

See: https://docs.aws.amazon.com/emr/latest/APIReference/API_StepConfig.html

Properties

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

IDictionary<string, string>? Properties { get; }
Property Value

IDictionary<string, string>

Remarks

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

Default: - No properties

See: https://docs.aws.amazon.com/emr/latest/APIReference/API_HadoopJarStepConfig.html

Back to top Generated by DocFX