@pulumi/aws
Version:
A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.
79 lines • 4.41 kB
JavaScript
;
// *** 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.TrafficSourceAttachment = exports.Tag = exports.Schedule = exports.Policy = exports.Notification = exports.LifecycleHook = exports.Group = exports.getGroupOutput = exports.getGroup = exports.getAmiIdsOutput = exports.getAmiIds = exports.Attachment = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("../utilities");
exports.Attachment = null;
utilities.lazyLoad(exports, ["Attachment"], () => require("./attachment"));
exports.getAmiIds = null;
exports.getAmiIdsOutput = null;
utilities.lazyLoad(exports, ["getAmiIds", "getAmiIdsOutput"], () => require("./getAmiIds"));
exports.getGroup = null;
exports.getGroupOutput = null;
utilities.lazyLoad(exports, ["getGroup", "getGroupOutput"], () => require("./getGroup"));
exports.Group = null;
utilities.lazyLoad(exports, ["Group"], () => require("./group"));
exports.LifecycleHook = null;
utilities.lazyLoad(exports, ["LifecycleHook"], () => require("./lifecycleHook"));
exports.Notification = null;
utilities.lazyLoad(exports, ["Notification"], () => require("./notification"));
exports.Policy = null;
utilities.lazyLoad(exports, ["Policy"], () => require("./policy"));
exports.Schedule = null;
utilities.lazyLoad(exports, ["Schedule"], () => require("./schedule"));
exports.Tag = null;
utilities.lazyLoad(exports, ["Tag"], () => require("./tag"));
exports.TrafficSourceAttachment = null;
utilities.lazyLoad(exports, ["TrafficSourceAttachment"], () => require("./trafficSourceAttachment"));
// Export enums:
__exportStar(require("../types/enums/autoscaling"), exports);
const _module = {
version: utilities.getVersion(),
construct: (name, type, urn) => {
switch (type) {
case "aws:autoscaling/attachment:Attachment":
return new exports.Attachment(name, undefined, { urn });
case "aws:autoscaling/group:Group":
return new exports.Group(name, undefined, { urn });
case "aws:autoscaling/lifecycleHook:LifecycleHook":
return new exports.LifecycleHook(name, undefined, { urn });
case "aws:autoscaling/notification:Notification":
return new exports.Notification(name, undefined, { urn });
case "aws:autoscaling/policy:Policy":
return new exports.Policy(name, undefined, { urn });
case "aws:autoscaling/schedule:Schedule":
return new exports.Schedule(name, undefined, { urn });
case "aws:autoscaling/tag:Tag":
return new exports.Tag(name, undefined, { urn });
case "aws:autoscaling/trafficSourceAttachment:TrafficSourceAttachment":
return new exports.TrafficSourceAttachment(name, undefined, { urn });
default:
throw new Error(`unknown resource type ${type}`);
}
},
};
pulumi.runtime.registerResourceModule("aws", "autoscaling/attachment", _module);
pulumi.runtime.registerResourceModule("aws", "autoscaling/group", _module);
pulumi.runtime.registerResourceModule("aws", "autoscaling/lifecycleHook", _module);
pulumi.runtime.registerResourceModule("aws", "autoscaling/notification", _module);
pulumi.runtime.registerResourceModule("aws", "autoscaling/policy", _module);
pulumi.runtime.registerResourceModule("aws", "autoscaling/schedule", _module);
pulumi.runtime.registerResourceModule("aws", "autoscaling/tag", _module);
pulumi.runtime.registerResourceModule("aws", "autoscaling/trafficSourceAttachment", _module);
//# sourceMappingURL=index.js.map