UNPKG

@pulumi/aws

Version:

A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.

56 lines 1.76 kB
"use strict"; // *** WARNING: this file was generated by pulumi-language-nodejs. *** // *** Do not edit by hand unless you're certain you know what you are doing! *** Object.defineProperty(exports, "__esModule", { value: true }); exports.getJobQueueOutput = exports.getJobQueue = void 0; const pulumi = require("@pulumi/pulumi"); const utilities = require("../utilities"); /** * 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", * }); * ``` */ function getJobQueue(args, opts) { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws:batch/getJobQueue:getJobQueue", { "name": args.name, "region": args.region, "tags": args.tags, }, opts); } exports.getJobQueue = getJobQueue; /** * 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", * }); * ``` */ function getJobQueueOutput(args, opts) { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("aws:batch/getJobQueue:getJobQueue", { "name": args.name, "region": args.region, "tags": args.tags, }, opts); } exports.getJobQueueOutput = getJobQueueOutput; //# sourceMappingURL=getJobQueue.js.map