import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * The Batch Job Queue data source allows access to details of a specific * job queue within AWS Batch. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aws from "@pulumi/aws"; * * const test_queue = aws.batch.getJobQueue({ * name: "tf-test-batch-job-queue", * }); * ``` */ export declare function getJobQueue(args: GetJobQueueArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getJobQueue. */ export interface GetJobQueueArgs { /** * Name of the job queue. */ name: string; /** * Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration. */ region?: string; /** * Key-value map of resource tags. */ tags?: { [key: string]: string; }; } /** * A collection of values returned by getJobQueue. */ export interface GetJobQueueResult { /** * ARN of the job queue. */ readonly arn: string; /** * Compute environments that are attached to the job queue and the order in which job placement is preferred. Compute environments are selected for job placement in ascending order. */ readonly computeEnvironmentOrders: outputs.batch.GetJobQueueComputeEnvironmentOrder[]; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * Action that AWS Batch takes after the job has remained at the head of the queue in the specified state for longer than the specified time. */ readonly jobStateTimeLimitActions: outputs.batch.GetJobQueueJobStateTimeLimitAction[]; readonly name: string; /** * Priority of the job queue. Job queues with a higher priority are evaluated first when associated with the same compute environment. */ readonly priority: number; readonly region: string; /** * ARN of the fair share scheduling policy. If this attribute has a value, the job queue uses a fair share scheduling policy. If this attribute does not have a value, the job queue uses a first in, first out (FIFO) scheduling policy. */ readonly schedulingPolicyArn: string; /** * Ability of the queue to accept new jobs (for example, `ENABLED` or `DISABLED`). */ readonly state: string; /** * Current status of the job queue (for example, `CREATING` or `VALID`). */ readonly status: string; /** * Short, human-readable string to provide additional details about the current status of the job queue. */ readonly statusReason: string; /** * Key-value map of resource tags. */ readonly tags: { [key: string]: string; }; } /** * The Batch Job Queue data source allows access to details of a specific * job queue within AWS Batch. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aws from "@pulumi/aws"; * * const test_queue = aws.batch.getJobQueue({ * name: "tf-test-batch-job-queue", * }); * ``` */ export declare function getJobQueueOutput(args: GetJobQueueOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getJobQueue. */ export interface GetJobQueueOutputArgs { /** * Name of the job queue. */ name: pulumi.Input; /** * Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration. */ region?: pulumi.Input; /** * Key-value map of resource tags. */ tags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; } //# sourceMappingURL=getJobQueue.d.ts.map