import * as pulumi from "@pulumi/pulumi"; import * as outputs from "./types/output"; /** * Data source to retrieve a specific Auth0 Event Stream by `id`. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as auth0 from "@pulumi/auth0"; * * // An Auth0 Event Stream loaded using its ID. * const test = auth0.getEventStream({ * id: "est_XXXXXXXXXXXXXXX", * }); * ``` */ export declare function getEventStream(args: GetEventStreamArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getEventStream. */ export interface GetEventStreamArgs { /** * The ID of the Event Stream. */ id: string; } /** * A collection of values returned by getEventStream. */ export interface GetEventStreamResult { /** * The ISO 8601 timestamp when the stream was created. */ readonly createdAt: string; /** * The type of event stream destination (either 'eventbridge' or 'webhook'). */ readonly destinationType: string; /** * Configuration for the EventBridge destination. This block is only applicable when `destinationType` is set to `eventbridge`. EventBridge configurations **cannot** be updated after creation. Any change to this block will force the resource to be recreated. */ readonly eventbridgeConfigurations: outputs.GetEventStreamEventbridgeConfiguration[]; /** * The ID of the Event Stream. */ readonly id: string; /** * The name of the event stream. */ readonly name: string; /** * The current status of the event stream. */ readonly status: string; /** * List of event types this stream is subscribed to. */ readonly subscriptions: string[]; /** * The ISO 8601 timestamp when the stream was last updated. */ readonly updatedAt: string; /** * Configuration for the Webhook destination. This block is only applicable when `destinationType` is set to `webhook`. Webhook configurations **can** be updated after creation, including the endpoint and authorization fields. */ readonly webhookConfigurations: outputs.GetEventStreamWebhookConfiguration[]; } /** * Data source to retrieve a specific Auth0 Event Stream by `id`. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as auth0 from "@pulumi/auth0"; * * // An Auth0 Event Stream loaded using its ID. * const test = auth0.getEventStream({ * id: "est_XXXXXXXXXXXXXXX", * }); * ``` */ export declare function getEventStreamOutput(args: GetEventStreamOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getEventStream. */ export interface GetEventStreamOutputArgs { /** * The ID of the Event Stream. */ id: pulumi.Input; }