JobQueueArgs class
The set of arguments for JobQueue. The set of arguments for JobQueue.
Constructors
-
JobQueueArgs({Input<
List< ? computeEnvironmentOrders, Input<JobQueueComputeEnvironmentOrder> ?>List< ? jobStateTimeLimitActions, Input<JobQueueJobStateTimeLimitAction> ?>String?> ? name, required Input<int> priority, Input<String?> ? region, Input<String?> ? schedulingPolicyArn, required Input<String> state, Input<Map< ? tags, Input<String, String> ?>JobQueueTimeouts?> ? timeouts}) -
Creates a new JobQueueArgs.
computeEnvironmentOrdersThe 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.jobStateTimeLimitActionsThe 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.nameSpecifies the name of the job queue.priorityThe priority of the job queue. Job queues with a higher priorityregionRegion where this resource will be managed. Defaults to the Region set in the provider configuration.schedulingPolicyArnThe 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.stateThe state of the job queue. Must be one of:ENABLEDorDISABLEDtagsKey-value map of resource tags. .If configured with a providerdefaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.timeoutsOptional.const -
JobQueueArgs.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
computeEnvironmentOrders
→ Input<
List< ?JobQueueComputeEnvironmentOrder> ?> -
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.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
jobStateTimeLimitActions
→ Input<
List< ?JobQueueJobStateTimeLimitAction> ?> -
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.
final
-
name
→ Input<
String?> ? -
Specifies the name of the job queue.
final
-
priority
→ Input<
int> -
The priority of the job queue. Job queues with a higher priority
are evaluated first when associated with the same compute environment.
final
-
region
→ Input<
String?> ? -
Region where this resource will be managed. Defaults to the Region set in the provider configuration.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
schedulingPolicyArn
→ Input<
String?> ? -
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.
final
-
state
→ Input<
String> -
The state of the job queue. Must be one of:
ENABLEDorDISABLEDfinal -
Key-value map of resource tags. .If configured with a provider
defaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.final -
timeouts
→ Input<
JobQueueTimeouts?> ? -
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited