Class RunBatchJob
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.stepfunctions.tasks.RunBatchJob
- All Implemented Interfaces:
- IStepFunctionsTask,- software.amazon.jsii.JsiiSerializable
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
           date="2023-06-19T16:30:48.137Z")
@Stability(Deprecated)
@Deprecated
public class RunBatchJob
extends software.amazon.jsii.JsiiObject
implements IStepFunctionsTask
Deprecated.
(deprecated) A Step Functions Task to run AWS Batch.
 
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();
 - 
Nested Class SummaryNested ClassesNested classes/interfaces inherited from class software.amazon.jsii.JsiiObjectsoftware.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.services.stepfunctions.IStepFunctionsTaskIStepFunctionsTask.Jsii$Default, IStepFunctionsTask.Jsii$Proxy
- 
Constructor SummaryConstructorsModifierConstructorDescriptionRunBatchJob(RunBatchJobProps props) Deprecated.protectedRunBatchJob(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) Deprecated.protectedRunBatchJob(software.amazon.jsii.JsiiObjectRef objRef) Deprecated.
- 
Method SummaryMethods inherited from class software.amazon.jsii.JsiiObjectjsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface software.amazon.jsii.JsiiSerializable$jsii$toJson
- 
Constructor Details- 
RunBatchJobprotected RunBatchJob(software.amazon.jsii.JsiiObjectRef objRef) Deprecated.
- 
RunBatchJobprotected RunBatchJob(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) Deprecated.
- 
RunBatchJobDeprecated.- Parameters:
- props- This parameter is required.
 
 
- 
- 
Method Details- 
bind@Stability(Deprecated) @Deprecated @NotNull public StepFunctionsTaskConfig bind(@NotNull Task _task) Deprecated.(deprecated) Called when the task object is used in a workflow.- Specified by:
- bindin interface- IStepFunctionsTask
- Parameters:
- _task- This parameter is required.
 
 
- 
BatchSubmitJob