@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)
62 lines • 3.54 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.Listener = exports.getListenerOutput = exports.getListener = exports.getEndpointGroupOutput = exports.getEndpointGroup = exports.getCrossAccountAttachmentOutput = exports.getCrossAccountAttachment = exports.getAcceleratorOutput = exports.getAccelerator = exports.EndpointGroup = exports.CrossAccountAttachment = exports.Accelerator = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("../utilities");
exports.Accelerator = null;
utilities.lazyLoad(exports, ["Accelerator"], () => require("./accelerator"));
exports.CrossAccountAttachment = null;
utilities.lazyLoad(exports, ["CrossAccountAttachment"], () => require("./crossAccountAttachment"));
exports.EndpointGroup = null;
utilities.lazyLoad(exports, ["EndpointGroup"], () => require("./endpointGroup"));
exports.getAccelerator = null;
exports.getAcceleratorOutput = null;
utilities.lazyLoad(exports, ["getAccelerator", "getAcceleratorOutput"], () => require("./getAccelerator"));
exports.getCrossAccountAttachment = null;
exports.getCrossAccountAttachmentOutput = null;
utilities.lazyLoad(exports, ["getCrossAccountAttachment", "getCrossAccountAttachmentOutput"], () => require("./getCrossAccountAttachment"));
exports.getEndpointGroup = null;
exports.getEndpointGroupOutput = null;
utilities.lazyLoad(exports, ["getEndpointGroup", "getEndpointGroupOutput"], () => require("./getEndpointGroup"));
exports.getListener = null;
exports.getListenerOutput = null;
utilities.lazyLoad(exports, ["getListener", "getListenerOutput"], () => require("./getListener"));
exports.Listener = null;
utilities.lazyLoad(exports, ["Listener"], () => require("./listener"));
// Export enums:
__exportStar(require("../types/enums/globalaccelerator"), exports);
const _module = {
version: utilities.getVersion(),
construct: (name, type, urn) => {
switch (type) {
case "aws-native:globalaccelerator:Accelerator":
return new exports.Accelerator(name, undefined, { urn });
case "aws-native:globalaccelerator:CrossAccountAttachment":
return new exports.CrossAccountAttachment(name, undefined, { urn });
case "aws-native:globalaccelerator:EndpointGroup":
return new exports.EndpointGroup(name, undefined, { urn });
case "aws-native:globalaccelerator:Listener":
return new exports.Listener(name, undefined, { urn });
default:
throw new Error(`unknown resource type ${type}`);
}
},
};
pulumi.runtime.registerResourceModule("aws-native", "globalaccelerator", _module);
//# sourceMappingURL=index.js.map