Class RunBatchJob
(deprecated) A Step Functions Task to run AWS Batch.
Inheritance
System.Object
RunBatchJob
Implements
Namespace: Amazon.CDK.AWS.StepFunctions.Tasks
Assembly: Amazon.CDK.AWS.StepFunctions.Tasks.dll
Syntax (csharp)
public class RunBatchJob : DeputyBase, IStepFunctionsTask
Syntax (vb)
Public Class RunBatchJob
Inherits DeputyBase
Implements IStepFunctionsTask
Remarks
Stability: Deprecated
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.AWS.EC2;
using Amazon.CDK.AWS.StepFunctions;
using Amazon.CDK.AWS.StepFunctions.Tasks;
using Amazon.CDK;
InstanceType instanceType;
var payload;
var runBatchJob = new RunBatchJob(new RunBatchJobProps {
JobDefinitionArn = "jobDefinitionArn",
JobName = "jobName",
JobQueueArn = "jobQueueArn",
// the properties below are optional
ArraySize = 123,
Attempts = 123,
ContainerOverrides = new ContainerOverrides {
Command = new [] { "command" },
Environment = new Dictionary<string, string> {
{ "environmentKey", "environment" }
},
GpuCount = 123,
InstanceType = instanceType,
Memory = 123,
Vcpus = 123
},
DependsOn = new [] { new JobDependency {
JobId = "jobId",
Type = "type"
} },
IntegrationPattern = ServiceIntegrationPattern.FIRE_AND_FORGET,
Payload = new Dictionary<string, object> {
{ "payloadKey", payload }
},
Timeout = Duration.Minutes(30)
});
Synopsis
Constructors
RunBatchJob(IRunBatchJobProps) | |
RunBatchJob(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
RunBatchJob(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
Methods
Bind(Task) | (deprecated) Called when the task object is used in a workflow. |
Constructors
RunBatchJob(IRunBatchJobProps)
public RunBatchJob(IRunBatchJobProps props)
Parameters
- props IRunBatchJobProps
Remarks
Stability: Deprecated
RunBatchJob(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected RunBatchJob(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
RunBatchJob(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected RunBatchJob(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
Methods
Bind(Task)
(deprecated) Called when the task object is used in a workflow.
public virtual IStepFunctionsTaskConfig Bind(Task task)
Parameters
- task Task
Returns
Remarks
Stability: Deprecated