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.
use BatchSubmitJob
(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 Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static final class 
    Deprecated.

    Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject

    software.amazon.jsii.JsiiObject.InitializationMode

    Nested classes/interfaces inherited from interface software.amazon.awscdk.services.stepfunctions.IStepFunctionsTask

    IStepFunctionsTask.Jsii$Default, IStepFunctionsTask.Jsii$Proxy
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
     
    Deprecated.
    protected
    RunBatchJob(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
    Deprecated.
     
    protected
    RunBatchJob(software.amazon.jsii.JsiiObjectRef objRef)
    Deprecated.
     
  • Method Summary

    Modifier and Type
    Method
    Description
    bind(Task _task)
    Deprecated.

    Methods inherited from class software.amazon.jsii.JsiiObject

    jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface software.amazon.jsii.JsiiSerializable

    $jsii$toJson
  • Constructor Details

    • RunBatchJob

      protected RunBatchJob(software.amazon.jsii.JsiiObjectRef objRef)
      Deprecated.
    • RunBatchJob

      protected RunBatchJob(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
      Deprecated.
    • RunBatchJob

      @Stability(Deprecated) @Deprecated public RunBatchJob(@NotNull RunBatchJobProps props)
      Deprecated.
      Parameters:
      props - This parameter is required.
  • Method Details