@pulumi/aws
Version:
A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.
55 lines • 3.39 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! ***
Object.defineProperty(exports, "__esModule", { value: true });
exports.SecretVersion = exports.SecretRotation = exports.SecretPolicy = exports.Secret = exports.getSecretsOutput = exports.getSecrets = exports.getSecretVersionsOutput = exports.getSecretVersions = exports.getSecretVersionOutput = exports.getSecretVersion = exports.getSecretRotationOutput = exports.getSecretRotation = exports.getSecretOutput = exports.getSecret = exports.getRandomPasswordOutput = exports.getRandomPassword = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("../utilities");
exports.getRandomPassword = null;
exports.getRandomPasswordOutput = null;
utilities.lazyLoad(exports, ["getRandomPassword", "getRandomPasswordOutput"], () => require("./getRandomPassword"));
exports.getSecret = null;
exports.getSecretOutput = null;
utilities.lazyLoad(exports, ["getSecret", "getSecretOutput"], () => require("./getSecret"));
exports.getSecretRotation = null;
exports.getSecretRotationOutput = null;
utilities.lazyLoad(exports, ["getSecretRotation", "getSecretRotationOutput"], () => require("./getSecretRotation"));
exports.getSecretVersion = null;
exports.getSecretVersionOutput = null;
utilities.lazyLoad(exports, ["getSecretVersion", "getSecretVersionOutput"], () => require("./getSecretVersion"));
exports.getSecretVersions = null;
exports.getSecretVersionsOutput = null;
utilities.lazyLoad(exports, ["getSecretVersions", "getSecretVersionsOutput"], () => require("./getSecretVersions"));
exports.getSecrets = null;
exports.getSecretsOutput = null;
utilities.lazyLoad(exports, ["getSecrets", "getSecretsOutput"], () => require("./getSecrets"));
exports.Secret = null;
utilities.lazyLoad(exports, ["Secret"], () => require("./secret"));
exports.SecretPolicy = null;
utilities.lazyLoad(exports, ["SecretPolicy"], () => require("./secretPolicy"));
exports.SecretRotation = null;
utilities.lazyLoad(exports, ["SecretRotation"], () => require("./secretRotation"));
exports.SecretVersion = null;
utilities.lazyLoad(exports, ["SecretVersion"], () => require("./secretVersion"));
const _module = {
version: utilities.getVersion(),
construct: (name, type, urn) => {
switch (type) {
case "aws:secretsmanager/secret:Secret":
return new exports.Secret(name, undefined, { urn });
case "aws:secretsmanager/secretPolicy:SecretPolicy":
return new exports.SecretPolicy(name, undefined, { urn });
case "aws:secretsmanager/secretRotation:SecretRotation":
return new exports.SecretRotation(name, undefined, { urn });
case "aws:secretsmanager/secretVersion:SecretVersion":
return new exports.SecretVersion(name, undefined, { urn });
default:
throw new Error(`unknown resource type ${type}`);
}
},
};
pulumi.runtime.registerResourceModule("aws", "secretsmanager/secret", _module);
pulumi.runtime.registerResourceModule("aws", "secretsmanager/secretPolicy", _module);
pulumi.runtime.registerResourceModule("aws", "secretsmanager/secretRotation", _module);
pulumi.runtime.registerResourceModule("aws", "secretsmanager/secretVersion", _module);
//# sourceMappingURL=index.js.map
;