Class BatchSubmitJob
Task to submits an AWS Batch job from a job definition.
Inherited Members
Namespace: Amazon.CDK.AWS.StepFunctions.Tasks
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class BatchSubmitJob : TaskStateBase, IChainable, INextable
Syntax (vb)
Public Class BatchSubmitJob Inherits TaskStateBase Implements IChainable, INextable
Remarks
See: https://docs.aws.amazon.com/step-functions/latest/dg/connect-batch.html
ExampleMetadata: infused
Examples
using Amazon.CDK.AWS.Batch;
EcsJobDefinition batchJobDefinition;
JobQueue batchQueue;
var task = new BatchSubmitJob(this, "Submit Job", new BatchSubmitJobProps {
JobDefinitionArn = batchJobDefinition.JobDefinitionArn,
JobName = "MyJob",
JobQueueArn = batchQueue.JobQueueArn
});
Synopsis
Constructors
| BatchSubmitJob(Construct, string, IBatchSubmitJobProps) | Task to submits an AWS Batch job from a job definition. |
Properties
| TaskMetrics | Task to submits an AWS Batch job from a job definition. |
| TaskPolicies | Task to submits an AWS Batch job from a job definition. |
Methods
| JsonPath(Construct, string, IBatchSubmitJobJsonPathProps) | Task to submits an AWS Batch job from a job definition using JSONPath. |
| Jsonata(Construct, string, IBatchSubmitJobJsonataProps) | Task to submits an AWS Batch job from a job definition using JSONata. |
Constructors
BatchSubmitJob(Construct, string, IBatchSubmitJobProps)
Task to submits an AWS Batch job from a job definition.
public BatchSubmitJob(Construct scope, string id, IBatchSubmitJobProps props)
Parameters
- scope Construct
- id string
Descriptive identifier for this chainable.
- props IBatchSubmitJobProps
Remarks
See: https://docs.aws.amazon.com/step-functions/latest/dg/connect-batch.html
ExampleMetadata: infused
Properties
TaskMetrics
Task to submits an AWS Batch job from a job definition.
protected override ITaskMetricsConfig? TaskMetrics { get; }
Property Value
Overrides
Remarks
See: https://docs.aws.amazon.com/step-functions/latest/dg/connect-batch.html
ExampleMetadata: infused
TaskPolicies
Task to submits an AWS Batch job from a job definition.
protected override PolicyStatement[]? TaskPolicies { get; }
Property Value
Overrides
Remarks
See: https://docs.aws.amazon.com/step-functions/latest/dg/connect-batch.html
ExampleMetadata: infused
Methods
JsonPath(Construct, string, IBatchSubmitJobJsonPathProps)
Task to submits an AWS Batch job from a job definition using JSONPath.
public static BatchSubmitJob JsonPath(Construct scope, string id, IBatchSubmitJobJsonPathProps props)
Parameters
- scope Construct
- id string
- props IBatchSubmitJobJsonPathProps
Returns
Remarks
Jsonata(Construct, string, IBatchSubmitJobJsonataProps)
Task to submits an AWS Batch job from a job definition using JSONata.
public static BatchSubmitJob Jsonata(Construct scope, string id, IBatchSubmitJobJsonataProps props)
Parameters
- scope Construct
- id string
- props IBatchSubmitJobJsonataProps