import * as pulumi from "@pulumi/pulumi"; export declare class Webhook extends pulumi.CustomResource { /** * Get an existing Webhook resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: WebhookState, opts?: pulumi.CustomResourceOptions): Webhook; /** * Returns true if the given object is an instance of Webhook. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is Webhook; /** * The slug of the environment the webhook listens to. */ readonly environment: pulumi.Output; /** * The events that trigger the webhook. Options: secrets.modified, secrets.rotation-failed. An empty set means the webhook fires on every supported event. */ readonly eventsFilters: pulumi.Output; /** * Whether the webhook is disabled. Defaults to false. */ readonly isDisabled: pulumi.Output; /** * The ID of the project the webhook belongs to. */ readonly projectId: pulumi.Output; /** * The secret path the webhook listens to. Defaults to '/'. */ readonly secretPath: pulumi.Output; /** * The webhook type. Options: general, slack, microsoft-teams. Defaults to 'general'. */ readonly type: pulumi.Output; /** * The secret key used to sign the webhook payload so the receiver can verify it. Write-only: it is never returned by the API, so it cannot be imported. */ readonly webhookSecretKey: pulumi.Output; /** * The URL Infisical sends the event payload to. */ readonly webhookUrl: pulumi.Output; /** * Create a Webhook resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: WebhookArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering Webhook resources. */ export interface WebhookState { /** * The slug of the environment the webhook listens to. */ environment?: pulumi.Input; /** * The events that trigger the webhook. Options: secrets.modified, secrets.rotation-failed. An empty set means the webhook fires on every supported event. */ eventsFilters?: pulumi.Input[] | undefined>; /** * Whether the webhook is disabled. Defaults to false. */ isDisabled?: pulumi.Input; /** * The ID of the project the webhook belongs to. */ projectId?: pulumi.Input; /** * The secret path the webhook listens to. Defaults to '/'. */ secretPath?: pulumi.Input; /** * The webhook type. Options: general, slack, microsoft-teams. Defaults to 'general'. */ type?: pulumi.Input; /** * The secret key used to sign the webhook payload so the receiver can verify it. Write-only: it is never returned by the API, so it cannot be imported. */ webhookSecretKey?: pulumi.Input; /** * The URL Infisical sends the event payload to. */ webhookUrl?: pulumi.Input; } /** * The set of arguments for constructing a Webhook resource. */ export interface WebhookArgs { /** * The slug of the environment the webhook listens to. */ environment: pulumi.Input; /** * The events that trigger the webhook. Options: secrets.modified, secrets.rotation-failed. An empty set means the webhook fires on every supported event. */ eventsFilters?: pulumi.Input[] | undefined>; /** * Whether the webhook is disabled. Defaults to false. */ isDisabled?: pulumi.Input; /** * The ID of the project the webhook belongs to. */ projectId: pulumi.Input; /** * The secret path the webhook listens to. Defaults to '/'. */ secretPath?: pulumi.Input; /** * The webhook type. Options: general, slack, microsoft-teams. Defaults to 'general'. */ type?: pulumi.Input; /** * The secret key used to sign the webhook payload so the receiver can verify it. Write-only: it is never returned by the API, so it cannot be imported. */ webhookSecretKey?: pulumi.Input; /** * The URL Infisical sends the event payload to. */ webhookUrl: pulumi.Input; } //# sourceMappingURL=webhook.d.ts.map