import * as pulumi from "@pulumi/pulumi"; export declare class WebhookEndpoint extends pulumi.CustomResource { /** * Get an existing WebhookEndpoint 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?: WebhookEndpointState, opts?: pulumi.CustomResourceOptions): WebhookEndpoint; /** * Returns true if the given object is an instance of WebhookEndpoint. 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 WebhookEndpoint; /** * Events sent to this endpoint will be generated with this Stripe Version instead of your account’s default Stripe * Version. */ readonly apiVersion: pulumi.Output; /** * The ID of the associated Connect application. */ readonly application: pulumi.Output; /** * Whether this endpoint should receive events from connected accounts (true), or from your account (false). Defaults to * false */ readonly connect: pulumi.Output; /** * An optional description of what the webhook is used for. */ readonly description: pulumi.Output; /** * Disable the webhook endpoint if set to true. */ readonly disabled: pulumi.Output; /** * The list of events to enable for this endpoint. [’*’] indicates that all events are enabled, except those that * require explicit selection. */ readonly enabledEvents: pulumi.Output; /** * Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the * object in a structured format. */ readonly metadata: pulumi.Output<{ [key: string]: string; } | undefined>; /** * The endpoint’s secret, used to generate webhook signatures. Only returned at creation. */ readonly secret: pulumi.Output; /** * The URL of the webhook endpoint. */ readonly url: pulumi.Output; /** * Create a WebhookEndpoint 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: WebhookEndpointArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering WebhookEndpoint resources. */ export interface WebhookEndpointState { /** * Events sent to this endpoint will be generated with this Stripe Version instead of your account’s default Stripe * Version. */ apiVersion?: pulumi.Input; /** * The ID of the associated Connect application. */ application?: pulumi.Input; /** * Whether this endpoint should receive events from connected accounts (true), or from your account (false). Defaults to * false */ connect?: pulumi.Input; /** * An optional description of what the webhook is used for. */ description?: pulumi.Input; /** * Disable the webhook endpoint if set to true. */ disabled?: pulumi.Input; /** * The list of events to enable for this endpoint. [’*’] indicates that all events are enabled, except those that * require explicit selection. */ enabledEvents?: pulumi.Input[]>; /** * Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the * object in a structured format. */ metadata?: pulumi.Input<{ [key: string]: pulumi.Input; }>; /** * The endpoint’s secret, used to generate webhook signatures. Only returned at creation. */ secret?: pulumi.Input; /** * The URL of the webhook endpoint. */ url?: pulumi.Input; } /** * The set of arguments for constructing a WebhookEndpoint resource. */ export interface WebhookEndpointArgs { /** * Events sent to this endpoint will be generated with this Stripe Version instead of your account’s default Stripe * Version. */ apiVersion?: pulumi.Input; /** * Whether this endpoint should receive events from connected accounts (true), or from your account (false). Defaults to * false */ connect?: pulumi.Input; /** * An optional description of what the webhook is used for. */ description?: pulumi.Input; /** * Disable the webhook endpoint if set to true. */ disabled?: pulumi.Input; /** * The list of events to enable for this endpoint. [’*’] indicates that all events are enabled, except those that * require explicit selection. */ enabledEvents: pulumi.Input[]>; /** * Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the * object in a structured format. */ metadata?: pulumi.Input<{ [key: string]: pulumi.Input; }>; /** * The URL of the webhook endpoint. */ url: pulumi.Input; }