@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)
69 lines • 3.96 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.PackagingGroup = exports.PackagingConfiguration = exports.OriginEndpoint = exports.getPackagingGroupOutput = exports.getPackagingGroup = exports.getPackagingConfigurationOutput = exports.getPackagingConfiguration = exports.getOriginEndpointOutput = exports.getOriginEndpoint = exports.getChannelOutput = exports.getChannel = exports.getAssetOutput = exports.getAsset = exports.Channel = exports.Asset = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("../utilities");
exports.Asset = null;
utilities.lazyLoad(exports, ["Asset"], () => require("./asset"));
exports.Channel = null;
utilities.lazyLoad(exports, ["Channel"], () => require("./channel"));
exports.getAsset = null;
exports.getAssetOutput = null;
utilities.lazyLoad(exports, ["getAsset", "getAssetOutput"], () => require("./getAsset"));
exports.getChannel = null;
exports.getChannelOutput = null;
utilities.lazyLoad(exports, ["getChannel", "getChannelOutput"], () => require("./getChannel"));
exports.getOriginEndpoint = null;
exports.getOriginEndpointOutput = null;
utilities.lazyLoad(exports, ["getOriginEndpoint", "getOriginEndpointOutput"], () => require("./getOriginEndpoint"));
exports.getPackagingConfiguration = null;
exports.getPackagingConfigurationOutput = null;
utilities.lazyLoad(exports, ["getPackagingConfiguration", "getPackagingConfigurationOutput"], () => require("./getPackagingConfiguration"));
exports.getPackagingGroup = null;
exports.getPackagingGroupOutput = null;
utilities.lazyLoad(exports, ["getPackagingGroup", "getPackagingGroupOutput"], () => require("./getPackagingGroup"));
exports.OriginEndpoint = null;
utilities.lazyLoad(exports, ["OriginEndpoint"], () => require("./originEndpoint"));
exports.PackagingConfiguration = null;
utilities.lazyLoad(exports, ["PackagingConfiguration"], () => require("./packagingConfiguration"));
exports.PackagingGroup = null;
utilities.lazyLoad(exports, ["PackagingGroup"], () => require("./packagingGroup"));
// Export enums:
__exportStar(require("../types/enums/mediapackage"), exports);
const _module = {
version: utilities.getVersion(),
construct: (name, type, urn) => {
switch (type) {
case "aws-native:mediapackage:Asset":
return new exports.Asset(name, undefined, { urn });
case "aws-native:mediapackage:Channel":
return new exports.Channel(name, undefined, { urn });
case "aws-native:mediapackage:OriginEndpoint":
return new exports.OriginEndpoint(name, undefined, { urn });
case "aws-native:mediapackage:PackagingConfiguration":
return new exports.PackagingConfiguration(name, undefined, { urn });
case "aws-native:mediapackage:PackagingGroup":
return new exports.PackagingGroup(name, undefined, { urn });
default:
throw new Error(`unknown resource type ${type}`);
}
},
};
pulumi.runtime.registerResourceModule("aws-native", "mediapackage", _module);
//# sourceMappingURL=index.js.map