@pulumi/gcp
Version:
A Pulumi package for creating and managing Google Cloud Platform resources.
86 lines • 4.82 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 __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
Object.defineProperty(o, "default", { enumerable: true, value: v });
}) : function(o, v) {
o["default"] = v;
});
var __importStar = (this && this.__importStar) || function (mod) {
if (mod && mod.__esModule) return mod;
var result = {};
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
__setModuleDefault(result, mod);
return result;
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.Key = exports.IAMPolicy = exports.IAMMember = exports.IAMBinding = exports.getSOutput = exports.getS = exports.getIamPolicyOutput = exports.getIamPolicy = exports.getAccountKeyOutput = exports.getAccountKey = exports.getAccountJwtOutput = exports.getAccountJwt = exports.getAccountIdTokenOutput = exports.getAccountIdToken = exports.getAccountAccessTokenOutput = exports.getAccountAccessToken = exports.getAccountOutput = exports.getAccount = exports.Account = void 0;
const pulumi = __importStar(require("@pulumi/pulumi"));
const utilities = __importStar(require("../utilities"));
exports.Account = null;
utilities.lazyLoad(exports, ["Account"], () => require("./account"));
exports.getAccount = null;
exports.getAccountOutput = null;
utilities.lazyLoad(exports, ["getAccount", "getAccountOutput"], () => require("./getAccount"));
exports.getAccountAccessToken = null;
exports.getAccountAccessTokenOutput = null;
utilities.lazyLoad(exports, ["getAccountAccessToken", "getAccountAccessTokenOutput"], () => require("./getAccountAccessToken"));
exports.getAccountIdToken = null;
exports.getAccountIdTokenOutput = null;
utilities.lazyLoad(exports, ["getAccountIdToken", "getAccountIdTokenOutput"], () => require("./getAccountIdToken"));
exports.getAccountJwt = null;
exports.getAccountJwtOutput = null;
utilities.lazyLoad(exports, ["getAccountJwt", "getAccountJwtOutput"], () => require("./getAccountJwt"));
exports.getAccountKey = null;
exports.getAccountKeyOutput = null;
utilities.lazyLoad(exports, ["getAccountKey", "getAccountKeyOutput"], () => require("./getAccountKey"));
exports.getIamPolicy = null;
exports.getIamPolicyOutput = null;
utilities.lazyLoad(exports, ["getIamPolicy", "getIamPolicyOutput"], () => require("./getIamPolicy"));
exports.getS = null;
exports.getSOutput = null;
utilities.lazyLoad(exports, ["getS", "getSOutput"], () => require("./getS"));
exports.IAMBinding = null;
utilities.lazyLoad(exports, ["IAMBinding"], () => require("./iambinding"));
exports.IAMMember = null;
utilities.lazyLoad(exports, ["IAMMember"], () => require("./iammember"));
exports.IAMPolicy = null;
utilities.lazyLoad(exports, ["IAMPolicy"], () => require("./iampolicy"));
exports.Key = null;
utilities.lazyLoad(exports, ["Key"], () => require("./key"));
const _module = {
version: utilities.getVersion(),
construct: (name, type, urn) => {
switch (type) {
case "gcp:serviceaccount/account:Account":
return new exports.Account(name, undefined, { urn });
case "gcp:serviceaccount/iAMBinding:IAMBinding":
return new exports.IAMBinding(name, undefined, { urn });
case "gcp:serviceaccount/iAMMember:IAMMember":
return new exports.IAMMember(name, undefined, { urn });
case "gcp:serviceaccount/iAMPolicy:IAMPolicy":
return new exports.IAMPolicy(name, undefined, { urn });
case "gcp:serviceaccount/key:Key":
return new exports.Key(name, undefined, { urn });
default:
throw new Error(`unknown resource type ${type}`);
}
},
};
pulumi.runtime.registerResourceModule("gcp", "serviceaccount/account", _module);
pulumi.runtime.registerResourceModule("gcp", "serviceaccount/iAMBinding", _module);
pulumi.runtime.registerResourceModule("gcp", "serviceaccount/iAMMember", _module);
pulumi.runtime.registerResourceModule("gcp", "serviceaccount/iAMPolicy", _module);
pulumi.runtime.registerResourceModule("gcp", "serviceaccount/key", _module);
//# sourceMappingURL=index.js.map