Show / Hide Table of Contents

Class EmrContainersStartJobRun

Starts a job run.

Inheritance
object
State
TaskStateBase
EmrContainersStartJobRun
Implements
IChainable
INextable
IGrantable
Inherited Members
TaskStateBase.AddCatch(IChainable, ICatchProps)
TaskStateBase.AddRetry(IRetryProps)
TaskStateBase.Metric(string, IMetricOptions)
TaskStateBase.MetricFailed(IMetricOptions)
TaskStateBase.MetricHeartbeatTimedOut(IMetricOptions)
TaskStateBase.MetricRunTime(IMetricOptions)
TaskStateBase.MetricScheduled(IMetricOptions)
TaskStateBase.MetricScheduleTime(IMetricOptions)
TaskStateBase.MetricStarted(IMetricOptions)
TaskStateBase.MetricSucceeded(IMetricOptions)
TaskStateBase.MetricTime(IMetricOptions)
TaskStateBase.MetricTimedOut(IMetricOptions)
TaskStateBase.Next(IChainable)
TaskStateBase.ToStateJson(QueryLanguage?)
TaskStateBase.WhenBoundToGraph(StateGraph)
TaskStateBase.EndStates
State.FilterNextables(State[])
State.FindReachableEndStates(State, IFindStateOptions)
State.FindReachableStates(State, IFindStateOptions)
State.PrefixStates(IConstruct, string)
State.AddBranch(StateGraph)
State.AddChoice(Condition, State, IChoiceTransitionOptions)
State.AddItemProcessor(StateGraph, IProcessorConfig)
State.AddIterator(StateGraph)
State.AddPrefix(string)
State.BindToGraph(StateGraph)
State.MakeDefault(State)
State.MakeNext(State)
State.RenderAssign(QueryLanguage?)
State.RenderBranches()
State.RenderChoices(QueryLanguage?)
State.RenderInputOutput()
State.RenderItemProcessor()
State.RenderIterator()
State.RenderNextEnd()
State.RenderQueryLanguage(QueryLanguage?)
State.RenderResultSelector()
State.RenderRetryCatch(QueryLanguage?)
State.ValidateState()
State.Branches
State.Id
State.StartState
State.StateId
State.Arguments
State.Assign
State.Comment
State.InputPath
State.OutputPath
State.Outputs
State.Parameters
State.QueryLanguage
State.ResultPath
State.ResultSelector
State.StateName
State.DefaultChoice
State.Iteration
State.Processor
State.ProcessorConfig
State.ProcessorMode
Namespace: Amazon.CDK.AWS.StepFunctions.Tasks
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class EmrContainersStartJobRun : TaskStateBase, IChainable, INextable, IGrantable
Syntax (vb)
Public Class EmrContainersStartJobRun Inherits TaskStateBase Implements IChainable, INextable, IGrantable
Remarks

A job is a unit of work that you submit to Amazon EMR on EKS for execution. The work performed by the job can be defined by a Spark jar, PySpark script, or SparkSQL query. A job run is an execution of the job on the virtual cluster.

See: https://docs.aws.amazon.com/step-functions/latest/dg/connect-emr-eks.html

ExampleMetadata: infused

Examples
new EmrContainersStartJobRun(this, "EMR Containers Start Job Run", new EmrContainersStartJobRunProps {
                 VirtualCluster = VirtualClusterInput.FromVirtualClusterId("de92jdei2910fwedz"),
                 ReleaseLabel = ReleaseLabel.EMR_6_2_0,
                 JobName = "EMR-Containers-Job",
                 JobDriver = new JobDriver {
                     SparkSubmitJobDriver = new SparkSubmitJobDriver {
                         EntryPoint = TaskInput.FromText("local:///usr/lib/spark/examples/src/main/python/pi.py")
                     }
                 },
                 ApplicationConfig = new [] { new ApplicationConfiguration {
                     Classification = Classification.SPARK_DEFAULTS,
                     Properties = new Dictionary<string, string> {
                         { "spark.executor.instances", "1" },
                         { "spark.executor.memory", "512M" }
                     }
                 } }
             });

Synopsis

Constructors

EmrContainersStartJobRun(Construct, string, IEmrContainersStartJobRunProps)

Starts a job run.

Properties

GrantPrincipal

The principal to grant permissions to.

TaskMetrics

Starts a job run.

TaskPolicies

Starts a job run.

Methods

JsonPath(Construct, string, IEmrContainersStartJobRunJsonPathProps)

Starts a job run Task using JSONPath.

Jsonata(Construct, string, IEmrContainersStartJobRunJsonataProps)

Starts a job run Task using JSONata.

Constructors

EmrContainersStartJobRun(Construct, string, IEmrContainersStartJobRunProps)

Starts a job run.

public EmrContainersStartJobRun(Construct scope, string id, IEmrContainersStartJobRunProps props)
Parameters
scope Construct
id string

Descriptive identifier for this chainable.

props IEmrContainersStartJobRunProps
Remarks

A job is a unit of work that you submit to Amazon EMR on EKS for execution. The work performed by the job can be defined by a Spark jar, PySpark script, or SparkSQL query. A job run is an execution of the job on the virtual cluster.

See: https://docs.aws.amazon.com/step-functions/latest/dg/connect-emr-eks.html

ExampleMetadata: infused

Properties

GrantPrincipal

The principal to grant permissions to.

public virtual IPrincipal GrantPrincipal { get; }
Property Value

IPrincipal

Remarks

A job is a unit of work that you submit to Amazon EMR on EKS for execution. The work performed by the job can be defined by a Spark jar, PySpark script, or SparkSQL query. A job run is an execution of the job on the virtual cluster.

See: https://docs.aws.amazon.com/step-functions/latest/dg/connect-emr-eks.html

ExampleMetadata: infused

TaskMetrics

Starts a job run.

protected override ITaskMetricsConfig? TaskMetrics { get; }
Property Value

ITaskMetricsConfig

Overrides
TaskStateBase.TaskMetrics
Remarks

A job is a unit of work that you submit to Amazon EMR on EKS for execution. The work performed by the job can be defined by a Spark jar, PySpark script, or SparkSQL query. A job run is an execution of the job on the virtual cluster.

See: https://docs.aws.amazon.com/step-functions/latest/dg/connect-emr-eks.html

ExampleMetadata: infused

TaskPolicies

Starts a job run.

protected override PolicyStatement[]? TaskPolicies { get; }
Property Value

PolicyStatement[]

Overrides
TaskStateBase.TaskPolicies
Remarks

A job is a unit of work that you submit to Amazon EMR on EKS for execution. The work performed by the job can be defined by a Spark jar, PySpark script, or SparkSQL query. A job run is an execution of the job on the virtual cluster.

See: https://docs.aws.amazon.com/step-functions/latest/dg/connect-emr-eks.html

ExampleMetadata: infused

Methods

JsonPath(Construct, string, IEmrContainersStartJobRunJsonPathProps)

Starts a job run Task using JSONPath.

public static EmrContainersStartJobRun JsonPath(Construct scope, string id, IEmrContainersStartJobRunJsonPathProps props)
Parameters
scope Construct
id string
props IEmrContainersStartJobRunJsonPathProps
Returns

EmrContainersStartJobRun

Remarks

A job is a unit of work that you submit to Amazon EMR on EKS for execution. The work performed by the job can be defined by a Spark jar, PySpark script, or SparkSQL query. A job run is an execution of the job on the virtual cluster.

See: https://docs.aws.amazon.com/step-functions/latest/dg/connect-emr-eks.html

Jsonata(Construct, string, IEmrContainersStartJobRunJsonataProps)

Starts a job run Task using JSONata.

public static EmrContainersStartJobRun Jsonata(Construct scope, string id, IEmrContainersStartJobRunJsonataProps props)
Parameters
scope Construct
id string
props IEmrContainersStartJobRunJsonataProps
Returns

EmrContainersStartJobRun

Remarks

A job is a unit of work that you submit to Amazon EMR on EKS for execution. The work performed by the job can be defined by a Spark jar, PySpark script, or SparkSQL query. A job run is an execution of the job on the virtual cluster.

See: https://docs.aws.amazon.com/step-functions/latest/dg/connect-emr-eks.html

Implements

IChainable
INextable
IGrantable
Back to top Generated by DocFX