JobQueueState constructor

const JobQueueState({
  1. Input<String?>? arn,
  2. Input<List<JobQueueComputeEnvironmentOrder>?>? computeEnvironmentOrders,
  3. Input<List<JobQueueJobStateTimeLimitAction>?>? jobStateTimeLimitActions,
  4. Input<String?>? name,
  5. Input<int?>? priority,
  6. Input<String?>? region,
  7. Input<String?>? schedulingPolicyArn,
  8. Input<String?>? state,
  9. Input<Map<String, String>?>? tags,
  10. Input<Map<String, String>?>? tagsAll,
  11. Input<JobQueueTimeouts?>? timeouts,
})

Creates a new JobQueueState. arn ARN of the job queue. computeEnvironmentOrders 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. jobStateTimeLimitActions The set of job state time limit actions mapped to a job queue. Specifies an action that AWS Batch will take after the job has remained at the head of the queue in the specified state for longer than the specified time. name Specifies the name of the job queue. priority The priority of the job queue. Job queues with a higher priority region Region where this resource will be managed. Defaults to the Region set in the provider configuration. schedulingPolicyArn The ARN of the fair share scheduling policy. If this parameter is specified, the job queue uses a fair share scheduling policy. If this parameter isn't specified, the job queue uses a first in, first out (FIFO) scheduling policy. After a job queue is created, you can replace but can't remove the fair share scheduling policy. state The state of the job queue. Must be one of: ENABLED or DISABLED tags Key-value map of resource tags. .If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level. tagsAll A map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block. timeouts Optional.

Implementation

const JobQueueState({
  this.arn,
  this.computeEnvironmentOrders,
  this.jobStateTimeLimitActions,
  this.name,
  this.priority,
  this.region,
  this.schedulingPolicyArn,
  this.state,
  this.tags,
  this.tagsAll,
  this.timeouts,
});