"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.TaskSet = exports.TaskDefinition = exports.Service = exports.PrimaryTaskSet = exports.getTaskSetOutput = exports.getTaskSet = exports.getTaskDefinitionOutput = exports.getTaskDefinition = exports.getServiceOutput = exports.getService = exports.getPrimaryTaskSetOutput = exports.getPrimaryTaskSet = exports.getExpressGatewayServiceOutput = exports.getExpressGatewayService = exports.getDaemonTaskDefinitionOutput = exports.getDaemonTaskDefinition = exports.getDaemonOutput = exports.getDaemon = exports.getClusterCapacityProviderAssociationsOutput = exports.getClusterCapacityProviderAssociations = exports.getClusterOutput = exports.getCluster = exports.getCapacityProviderOutput = exports.getCapacityProvider = exports.ExpressGatewayService = exports.DaemonTaskDefinition = exports.Daemon = exports.ClusterCapacityProviderAssociations = exports.Cluster = exports.CapacityProvider = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("../utilities");
exports.CapacityProvider = null;
utilities.lazyLoad(exports, ["CapacityProvider"], () => require("./capacityProvider"));
exports.Cluster = null;
utilities.lazyLoad(exports, ["Cluster"], () => require("./cluster"));
exports.ClusterCapacityProviderAssociations = null;
utilities.lazyLoad(exports, ["ClusterCapacityProviderAssociations"], () => require("./clusterCapacityProviderAssociations"));
exports.Daemon = null;
utilities.lazyLoad(exports, ["Daemon"], () => require("./daemon"));
exports.DaemonTaskDefinition = null;
utilities.lazyLoad(exports, ["DaemonTaskDefinition"], () => require("./daemonTaskDefinition"));
exports.ExpressGatewayService = null;
utilities.lazyLoad(exports, ["ExpressGatewayService"], () => require("./expressGatewayService"));
exports.getCapacityProvider = null;
exports.getCapacityProviderOutput = null;
utilities.lazyLoad(exports, ["getCapacityProvider", "getCapacityProviderOutput"], () => require("./getCapacityProvider"));
exports.getCluster = null;
exports.getClusterOutput = null;
utilities.lazyLoad(exports, ["getCluster", "getClusterOutput"], () => require("./getCluster"));
exports.getClusterCapacityProviderAssociations = null;
exports.getClusterCapacityProviderAssociationsOutput = null;
utilities.lazyLoad(exports, ["getClusterCapacityProviderAssociations", "getClusterCapacityProviderAssociationsOutput"], () => require("./getClusterCapacityProviderAssociations"));
exports.getDaemon = null;
exports.getDaemonOutput = null;
utilities.lazyLoad(exports, ["getDaemon", "getDaemonOutput"], () => require("./getDaemon"));
exports.getDaemonTaskDefinition = null;
exports.getDaemonTaskDefinitionOutput = null;
utilities.lazyLoad(exports, ["getDaemonTaskDefinition", "getDaemonTaskDefinitionOutput"], () => require("./getDaemonTaskDefinition"));
exports.getExpressGatewayService = null;
exports.getExpressGatewayServiceOutput = null;
utilities.lazyLoad(exports, ["getExpressGatewayService", "getExpressGatewayServiceOutput"], () => require("./getExpressGatewayService"));
exports.getPrimaryTaskSet = null;
exports.getPrimaryTaskSetOutput = null;
utilities.lazyLoad(exports, ["getPrimaryTaskSet", "getPrimaryTaskSetOutput"], () => require("./getPrimaryTaskSet"));
exports.getService = null;
exports.getServiceOutput = null;
utilities.lazyLoad(exports, ["getService", "getServiceOutput"], () => require("./getService"));
exports.getTaskDefinition = null;
exports.getTaskDefinitionOutput = null;
utilities.lazyLoad(exports, ["getTaskDefinition", "getTaskDefinitionOutput"], () => require("./getTaskDefinition"));
exports.getTaskSet = null;
exports.getTaskSetOutput = null;
utilities.lazyLoad(exports, ["getTaskSet", "getTaskSetOutput"], () => require("./getTaskSet"));
exports.PrimaryTaskSet = null;
utilities.lazyLoad(exports, ["PrimaryTaskSet"], () => require("./primaryTaskSet"));
exports.Service = null;
utilities.lazyLoad(exports, ["Service"], () => require("./service"));
exports.TaskDefinition = null;
utilities.lazyLoad(exports, ["TaskDefinition"], () => require("./taskDefinition"));
exports.TaskSet = null;
utilities.lazyLoad(exports, ["TaskSet"], () => require("./taskSet"));
// Export enums:
__exportStar(require("../types/enums/ecs"), exports);
const _module = {
    version: utilities.getVersion(),
    construct: (name, type, urn) => {
        switch (type) {
            case "aws-native:ecs:CapacityProvider":
                return new exports.CapacityProvider(name, undefined, { urn });
            case "aws-native:ecs:Cluster":
                return new exports.Cluster(name, undefined, { urn });
            case "aws-native:ecs:ClusterCapacityProviderAssociations":
                return new exports.ClusterCapacityProviderAssociations(name, undefined, { urn });
            case "aws-native:ecs:Daemon":
                return new exports.Daemon(name, undefined, { urn });
            case "aws-native:ecs:DaemonTaskDefinition":
                return new exports.DaemonTaskDefinition(name, undefined, { urn });
            case "aws-native:ecs:ExpressGatewayService":
                return new exports.ExpressGatewayService(name, undefined, { urn });
            case "aws-native:ecs:PrimaryTaskSet":
                return new exports.PrimaryTaskSet(name, undefined, { urn });
            case "aws-native:ecs:Service":
                return new exports.Service(name, undefined, { urn });
            case "aws-native:ecs:TaskDefinition":
                return new exports.TaskDefinition(name, undefined, { urn });
            case "aws-native:ecs:TaskSet":
                return new exports.TaskSet(name, undefined, { urn });
            default:
                throw new Error(`unknown resource type ${type}`);
        }
    },
};
pulumi.runtime.registerResourceModule("aws-native", "ecs", _module);
//# sourceMappingURL=index.js.map