UNPKG

@pulumi/aws

Version:

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

54 lines 1.97 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.getSchedulingPolicyOutput = exports.getSchedulingPolicy = void 0; const pulumi = require("@pulumi/pulumi"); const utilities = require("../utilities"); /** * The Batch Scheduling Policy data source allows access to details of a specific Scheduling Policy within AWS Batch. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aws from "@pulumi/aws"; * * const test = aws.batch.getSchedulingPolicy({ * arn: "arn:aws:batch:us-east-1:012345678910:scheduling-policy/example", * }); * ``` */ function getSchedulingPolicy(args, opts) { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws:batch/getSchedulingPolicy:getSchedulingPolicy", { "arn": args.arn, "region": args.region, "tags": args.tags, }, opts); } exports.getSchedulingPolicy = getSchedulingPolicy; /** * The Batch Scheduling Policy data source allows access to details of a specific Scheduling Policy within AWS Batch. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aws from "@pulumi/aws"; * * const test = aws.batch.getSchedulingPolicy({ * arn: "arn:aws:batch:us-east-1:012345678910:scheduling-policy/example", * }); * ``` */ function getSchedulingPolicyOutput(args, opts) { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("aws:batch/getSchedulingPolicy:getSchedulingPolicy", { "arn": args.arn, "region": args.region, "tags": args.tags, }, opts); } exports.getSchedulingPolicyOutput = getSchedulingPolicyOutput; //# sourceMappingURL=getSchedulingPolicy.js.map