UNPKG

@pulumi/aws-native

Version:

The Pulumi AWS Cloud Control Provider enables you to build, deploy, and manage [any AWS resource that's supported by the AWS Cloud Control API](https://github.com/pulumi/pulumi-aws-native/blob/master/provider/cmd/pulumi-gen-aws-native/supported-types.txt)

76 lines 4.63 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! *** var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { if (k2 === undefined) k2 = k; var desc = Object.getOwnPropertyDescriptor(m, k); if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { desc = { enumerable: true, get: function() { return m[k]; } }; } Object.defineProperty(o, k2, desc); }) : (function(o, m, k, k2) { if (k2 === undefined) k2 = k; o[k2] = m[k]; })); var __exportStar = (this && this.__exportStar) || function(m, exports) { for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); }; Object.defineProperty(exports, "__esModule", { value: true }); exports.ServiceEnvironment = exports.SchedulingPolicy = exports.JobQueue = exports.JobDefinition = exports.getServiceEnvironmentOutput = exports.getServiceEnvironment = exports.getSchedulingPolicyOutput = exports.getSchedulingPolicy = exports.getJobQueueOutput = exports.getJobQueue = exports.getJobDefinitionOutput = exports.getJobDefinition = exports.getConsumableResourceOutput = exports.getConsumableResource = exports.getComputeEnvironmentOutput = exports.getComputeEnvironment = exports.ConsumableResource = exports.ComputeEnvironment = void 0; const pulumi = require("@pulumi/pulumi"); const utilities = require("../utilities"); exports.ComputeEnvironment = null; utilities.lazyLoad(exports, ["ComputeEnvironment"], () => require("./computeEnvironment")); exports.ConsumableResource = null; utilities.lazyLoad(exports, ["ConsumableResource"], () => require("./consumableResource")); exports.getComputeEnvironment = null; exports.getComputeEnvironmentOutput = null; utilities.lazyLoad(exports, ["getComputeEnvironment", "getComputeEnvironmentOutput"], () => require("./getComputeEnvironment")); exports.getConsumableResource = null; exports.getConsumableResourceOutput = null; utilities.lazyLoad(exports, ["getConsumableResource", "getConsumableResourceOutput"], () => require("./getConsumableResource")); exports.getJobDefinition = null; exports.getJobDefinitionOutput = null; utilities.lazyLoad(exports, ["getJobDefinition", "getJobDefinitionOutput"], () => require("./getJobDefinition")); exports.getJobQueue = null; exports.getJobQueueOutput = null; utilities.lazyLoad(exports, ["getJobQueue", "getJobQueueOutput"], () => require("./getJobQueue")); exports.getSchedulingPolicy = null; exports.getSchedulingPolicyOutput = null; utilities.lazyLoad(exports, ["getSchedulingPolicy", "getSchedulingPolicyOutput"], () => require("./getSchedulingPolicy")); exports.getServiceEnvironment = null; exports.getServiceEnvironmentOutput = null; utilities.lazyLoad(exports, ["getServiceEnvironment", "getServiceEnvironmentOutput"], () => require("./getServiceEnvironment")); exports.JobDefinition = null; utilities.lazyLoad(exports, ["JobDefinition"], () => require("./jobDefinition")); exports.JobQueue = null; utilities.lazyLoad(exports, ["JobQueue"], () => require("./jobQueue")); exports.SchedulingPolicy = null; utilities.lazyLoad(exports, ["SchedulingPolicy"], () => require("./schedulingPolicy")); exports.ServiceEnvironment = null; utilities.lazyLoad(exports, ["ServiceEnvironment"], () => require("./serviceEnvironment")); // Export enums: __exportStar(require("../types/enums/batch"), exports); const _module = { version: utilities.getVersion(), construct: (name, type, urn) => { switch (type) { case "aws-native:batch:ComputeEnvironment": return new exports.ComputeEnvironment(name, undefined, { urn }); case "aws-native:batch:ConsumableResource": return new exports.ConsumableResource(name, undefined, { urn }); case "aws-native:batch:JobDefinition": return new exports.JobDefinition(name, undefined, { urn }); case "aws-native:batch:JobQueue": return new exports.JobQueue(name, undefined, { urn }); case "aws-native:batch:SchedulingPolicy": return new exports.SchedulingPolicy(name, undefined, { urn }); case "aws-native:batch:ServiceEnvironment": return new exports.ServiceEnvironment(name, undefined, { urn }); default: throw new Error(`unknown resource type ${type}`); } }, }; pulumi.runtime.registerResourceModule("aws-native", "batch", _module); //# sourceMappingURL=index.js.map