@spacelift-io/pulumi-spacelift
Version:
A Pulumi package for creating and managing Spacelift resources.
25 lines • 1.24 kB
JavaScript
;
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
Object.defineProperty(exports, "__esModule", { value: true });
exports.getNamedWebhookOutput = exports.getNamedWebhook = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("./utilities");
/**
* `spacelift.NamedWebhook` represents a named webhook endpoint used for creating webhookswhich are referred to in Notification policies to route messages.
*/
function getNamedWebhook(args, opts) {
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invoke("spacelift:index/getNamedWebhook:getNamedWebhook", {
"webhookId": args.webhookId,
}, opts);
}
exports.getNamedWebhook = getNamedWebhook;
/**
* `spacelift.NamedWebhook` represents a named webhook endpoint used for creating webhookswhich are referred to in Notification policies to route messages.
*/
function getNamedWebhookOutput(args, opts) {
return pulumi.output(args).apply((a) => getNamedWebhook(a, opts));
}
exports.getNamedWebhookOutput = getNamedWebhookOutput;
//# sourceMappingURL=getNamedWebhook.js.map