java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
All Implemented Interfaces:
IConstruct, IDependable, IChainable, INextable, software.amazon.jsii.JsiiSerializable, software.constructs.IConstruct

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:30:47.880Z") @Stability(Stable) public class BatchSubmitJob extends TaskStateBase
Task to submits an AWS Batch job from a job definition.

Example:

 import software.amazon.awscdk.services.batch.*;
 JobDefinition batchJobDefinition;
 JobQueue batchQueue;
 BatchSubmitJob task = BatchSubmitJob.Builder.create(this, "Submit Job")
         .jobDefinitionArn(batchJobDefinition.getJobDefinitionArn())
         .jobName("MyJob")
         .jobQueueArn(batchQueue.getJobQueueArn())
         .build();
 

See Also:
  • Constructor Details

    • BatchSubmitJob

      protected BatchSubmitJob(software.amazon.jsii.JsiiObjectRef objRef)
    • BatchSubmitJob

      protected BatchSubmitJob(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
    • BatchSubmitJob

      @Stability(Stable) public BatchSubmitJob(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull BatchSubmitJobProps props)
      Parameters:
      scope - This parameter is required.
      id - This parameter is required.
      props - This parameter is required.
  • Method Details