@Generated(value="jsii-pacmak/1.72.0 (build 4b8828b)", date="2022-12-27T20:28:49.420Z") @Stability(value=Deprecated) @Deprecated public class RunBatchJob extends software.amazon.jsii.JsiiObject implements IStepFunctionsTask
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.ec2.*;
import software.amazon.awscdk.services.stepfunctions.*;
import software.amazon.awscdk.services.stepfunctions.tasks.*;
import software.amazon.awscdk.core.*;
InstanceType instanceType;
Object payload;
RunBatchJob runBatchJob = RunBatchJob.Builder.create()
.jobDefinitionArn("jobDefinitionArn")
.jobName("jobName")
.jobQueueArn("jobQueueArn")
// the properties below are optional
.arraySize(123)
.attempts(123)
.containerOverrides(ContainerOverrides.builder()
.command(List.of("command"))
.environment(Map.of(
"environmentKey", "environment"))
.gpuCount(123)
.instanceType(instanceType)
.memory(123)
.vcpus(123)
.build())
.dependsOn(List.of(JobDependency.builder()
.jobId("jobId")
.type("type")
.build()))
.integrationPattern(ServiceIntegrationPattern.FIRE_AND_FORGET)
.payload(Map.of(
"payloadKey", payload))
.timeout(Duration.minutes(30))
.build();
| Modifier and Type | Class and Description |
|---|---|
static class |
RunBatchJob.Builder
Deprecated.
|
software.amazon.jsii.JsiiObject.InitializationModeIStepFunctionsTask.Jsii$Default, IStepFunctionsTask.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
RunBatchJob(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
Deprecated.
|
protected |
RunBatchJob(software.amazon.jsii.JsiiObjectRef objRef)
Deprecated.
|
|
RunBatchJob(RunBatchJobProps props)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
StepFunctionsTaskConfig |
bind(Task _task)
Deprecated.
|
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetprotected RunBatchJob(software.amazon.jsii.JsiiObjectRef objRef)
protected RunBatchJob(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Deprecated) @Deprecated public RunBatchJob(@NotNull RunBatchJobProps props)
props - This parameter is required.@Stability(value=Deprecated) @Deprecated @NotNull public StepFunctionsTaskConfig bind(@NotNull Task _task)
bind in interface IStepFunctionsTask_task - This parameter is required.Copyright © 2022. All rights reserved.