Class JobQueueProps.Jsii$Proxy

java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.batch.JobQueueProps.Jsii$Proxy
All Implemented Interfaces:
JobQueueProps, software.amazon.jsii.JsiiSerializable
Enclosing interface:
JobQueueProps

@Stability(Stable) @Internal public static final class JobQueueProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements JobQueueProps
An implementation for JobQueueProps
  • Constructor Details

    • Jsii$Proxy

      protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
      Constructor that initializes the object based on values retrieved from the JsiiObject.
      Parameters:
      objRef - Reference to the JSII managed object.
    • Jsii$Proxy

      protected Jsii$Proxy(JobQueueProps.Builder builder)
      Constructor that initializes the object based on literal property values passed by the JobQueueProps.Builder.
  • Method Details

    • getComputeEnvironments

      public final List<OrderedComputeEnvironment> getComputeEnvironments()
      Description copied from interface: JobQueueProps
      The set of compute environments mapped to a job queue and their order relative to each other.

      The job scheduler uses this parameter to determine which compute environment runs a specific job. Compute environments must be in the VALID state before you can associate them with a job queue. You can associate up to three compute environments with a job queue. All of the compute environments must be either EC2 (EC2 or SPOT) or Fargate (FARGATE or FARGATE_SPOT); EC2 and Fargate compute environments can't be mixed.

      Note: All compute environments that are associated with a job queue must share the same architecture. AWS Batch doesn't support mixing compute environment architecture types in a single job queue.

      Default: none

      Specified by:
      getComputeEnvironments in interface JobQueueProps
    • getEnabled

      public final Boolean getEnabled()
      Description copied from interface: JobQueueProps
      If the job queue is enabled, it is able to accept jobs.

      Otherwise, new jobs can't be added to the queue, but jobs already in the queue can finish.

      Default: true

      Specified by:
      getEnabled in interface JobQueueProps
    • getJobQueueName

      public final String getJobQueueName()
      Description copied from interface: JobQueueProps
      The name of the job queue.

      It can be up to 128 letters long. It can contain uppercase and lowercase letters, numbers, hyphens (-), and underscores (_)

      Default: - no name

      Specified by:
      getJobQueueName in interface JobQueueProps
    • getJobStateTimeLimitActions

      public final List<JobStateTimeLimitAction> getJobStateTimeLimitActions()
      Description copied from interface: JobQueueProps
      The set of actions that AWS Batch perform on jobs that remain at the head of the job queue in the specified state longer than specified times.

      Default: - no actions

      Specified by:
      getJobStateTimeLimitActions in interface JobQueueProps
    • getPriority

      public final Number getPriority()
      Description copied from interface: JobQueueProps
      The priority of the job queue.

      Job queues with a higher priority are evaluated first when associated with the same compute environment. Priority is determined in descending order. For example, a job queue with a priority of 10 is given scheduling preference over a job queue with a priority of 1.

      Default: 1

      Specified by:
      getPriority in interface JobQueueProps
    • getSchedulingPolicy

      public final ISchedulingPolicy getSchedulingPolicy()
      Description copied from interface: JobQueueProps
      The SchedulingPolicy for this JobQueue.

      Instructs the Scheduler how to schedule different jobs.

      Default: - no scheduling policy

      Specified by:
      getSchedulingPolicy in interface JobQueueProps
    • $jsii$toJson

      @Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
      Specified by:
      $jsii$toJson in interface software.amazon.jsii.JsiiSerializable
    • equals

      public final boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public final int hashCode()
      Overrides:
      hashCode in class Object