@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)
97 lines • 6.21 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.Workflow = exports.LifecyclePolicy = exports.InfrastructureConfiguration = exports.ImageRecipe = exports.ImagePipeline = exports.Image = exports.getWorkflowOutput = exports.getWorkflow = exports.getLifecyclePolicyOutput = exports.getLifecyclePolicy = exports.getInfrastructureConfigurationOutput = exports.getInfrastructureConfiguration = exports.getImageRecipeOutput = exports.getImageRecipe = exports.getImagePipelineOutput = exports.getImagePipeline = exports.getImageOutput = exports.getImage = exports.getDistributionConfigurationOutput = exports.getDistributionConfiguration = exports.getContainerRecipeOutput = exports.getContainerRecipe = exports.getComponentOutput = exports.getComponent = exports.DistributionConfiguration = exports.ContainerRecipe = exports.Component = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("../utilities");
exports.Component = null;
utilities.lazyLoad(exports, ["Component"], () => require("./component"));
exports.ContainerRecipe = null;
utilities.lazyLoad(exports, ["ContainerRecipe"], () => require("./containerRecipe"));
exports.DistributionConfiguration = null;
utilities.lazyLoad(exports, ["DistributionConfiguration"], () => require("./distributionConfiguration"));
exports.getComponent = null;
exports.getComponentOutput = null;
utilities.lazyLoad(exports, ["getComponent", "getComponentOutput"], () => require("./getComponent"));
exports.getContainerRecipe = null;
exports.getContainerRecipeOutput = null;
utilities.lazyLoad(exports, ["getContainerRecipe", "getContainerRecipeOutput"], () => require("./getContainerRecipe"));
exports.getDistributionConfiguration = null;
exports.getDistributionConfigurationOutput = null;
utilities.lazyLoad(exports, ["getDistributionConfiguration", "getDistributionConfigurationOutput"], () => require("./getDistributionConfiguration"));
exports.getImage = null;
exports.getImageOutput = null;
utilities.lazyLoad(exports, ["getImage", "getImageOutput"], () => require("./getImage"));
exports.getImagePipeline = null;
exports.getImagePipelineOutput = null;
utilities.lazyLoad(exports, ["getImagePipeline", "getImagePipelineOutput"], () => require("./getImagePipeline"));
exports.getImageRecipe = null;
exports.getImageRecipeOutput = null;
utilities.lazyLoad(exports, ["getImageRecipe", "getImageRecipeOutput"], () => require("./getImageRecipe"));
exports.getInfrastructureConfiguration = null;
exports.getInfrastructureConfigurationOutput = null;
utilities.lazyLoad(exports, ["getInfrastructureConfiguration", "getInfrastructureConfigurationOutput"], () => require("./getInfrastructureConfiguration"));
exports.getLifecyclePolicy = null;
exports.getLifecyclePolicyOutput = null;
utilities.lazyLoad(exports, ["getLifecyclePolicy", "getLifecyclePolicyOutput"], () => require("./getLifecyclePolicy"));
exports.getWorkflow = null;
exports.getWorkflowOutput = null;
utilities.lazyLoad(exports, ["getWorkflow", "getWorkflowOutput"], () => require("./getWorkflow"));
exports.Image = null;
utilities.lazyLoad(exports, ["Image"], () => require("./image"));
exports.ImagePipeline = null;
utilities.lazyLoad(exports, ["ImagePipeline"], () => require("./imagePipeline"));
exports.ImageRecipe = null;
utilities.lazyLoad(exports, ["ImageRecipe"], () => require("./imageRecipe"));
exports.InfrastructureConfiguration = null;
utilities.lazyLoad(exports, ["InfrastructureConfiguration"], () => require("./infrastructureConfiguration"));
exports.LifecyclePolicy = null;
utilities.lazyLoad(exports, ["LifecyclePolicy"], () => require("./lifecyclePolicy"));
exports.Workflow = null;
utilities.lazyLoad(exports, ["Workflow"], () => require("./workflow"));
// Export enums:
__exportStar(require("../types/enums/imagebuilder"), exports);
const _module = {
version: utilities.getVersion(),
construct: (name, type, urn) => {
switch (type) {
case "aws-native:imagebuilder:Component":
return new exports.Component(name, undefined, { urn });
case "aws-native:imagebuilder:ContainerRecipe":
return new exports.ContainerRecipe(name, undefined, { urn });
case "aws-native:imagebuilder:DistributionConfiguration":
return new exports.DistributionConfiguration(name, undefined, { urn });
case "aws-native:imagebuilder:Image":
return new exports.Image(name, undefined, { urn });
case "aws-native:imagebuilder:ImagePipeline":
return new exports.ImagePipeline(name, undefined, { urn });
case "aws-native:imagebuilder:ImageRecipe":
return new exports.ImageRecipe(name, undefined, { urn });
case "aws-native:imagebuilder:InfrastructureConfiguration":
return new exports.InfrastructureConfiguration(name, undefined, { urn });
case "aws-native:imagebuilder:LifecyclePolicy":
return new exports.LifecyclePolicy(name, undefined, { urn });
case "aws-native:imagebuilder:Workflow":
return new exports.Workflow(name, undefined, { urn });
default:
throw new Error(`unknown resource type ${type}`);
}
},
};
pulumi.runtime.registerResourceModule("aws-native", "imagebuilder", _module);
//# sourceMappingURL=index.js.map