JobQueueArgs constructor
- Input<
List< ? computeEnvironmentOrders,JobQueueComputeEnvironmentOrder> ?> - Input<
List< ? jobStateTimeLimitActions,JobQueueJobStateTimeLimitAction> ?> - Input<
String?> ? name, - required Input<
int> priority, - Input<
String?> ? region, - Input<
String?> ? schedulingPolicyArn, - required Input<
String> state, - Input<
Map< ? tags,String, String> ?> - Input<
JobQueueTimeouts?> ? timeouts,
Creates a new JobQueueArgs.
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.
timeouts Optional.
Implementation
const JobQueueArgs({
this.computeEnvironmentOrders,
this.jobStateTimeLimitActions,
this.name,
required this.priority,
this.region,
this.schedulingPolicyArn,
required this.state,
this.tags,
this.timeouts,
});