1. Packages
  2. Auth0 Provider
  3. API Docs
  4. EventStream
Auth0 v3.27.0 published on Wednesday, Sep 10, 2025 by Pulumi

auth0.EventStream

Explore with Pulumi AI

auth0 logo
Auth0 v3.27.0 published on Wednesday, Sep 10, 2025 by Pulumi

    Allows you to manage Auth0 Event Streams.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as auth0 from "@pulumi/auth0";
    
    // Creates an event stream of type eventbridge
    const myEventStreamEventBridge = new auth0.EventStream("my_event_stream_event_bridge", {
        name: "my-eventbridge",
        destinationType: "eventbridge",
        subscriptions: [
            "user.created",
            "user.updated",
        ],
        eventbridgeConfiguration: {
            awsAccountId: "242849305777",
            awsRegion: "us-east-1",
        },
    });
    // Creates an event stream of type webhook
    const myEventStreamWebhook = new auth0.EventStream("my_event_stream_webhook", {
        name: "my-webhook",
        destinationType: "webhook",
        subscriptions: [
            "user.created",
            "user.updated",
        ],
        webhookConfiguration: {
            webhookEndpoint: "https://eof28wtn4v4506o.m.pipedream.net",
            webhookAuthorization: {
                method: "bearer",
                token: "123456789",
            },
        },
    });
    
    import pulumi
    import pulumi_auth0 as auth0
    
    # Creates an event stream of type eventbridge
    my_event_stream_event_bridge = auth0.EventStream("my_event_stream_event_bridge",
        name="my-eventbridge",
        destination_type="eventbridge",
        subscriptions=[
            "user.created",
            "user.updated",
        ],
        eventbridge_configuration={
            "aws_account_id": "242849305777",
            "aws_region": "us-east-1",
        })
    # Creates an event stream of type webhook
    my_event_stream_webhook = auth0.EventStream("my_event_stream_webhook",
        name="my-webhook",
        destination_type="webhook",
        subscriptions=[
            "user.created",
            "user.updated",
        ],
        webhook_configuration={
            "webhook_endpoint": "https://eof28wtn4v4506o.m.pipedream.net",
            "webhook_authorization": {
                "method": "bearer",
                "token": "123456789",
            },
        })
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-auth0/sdk/v3/go/auth0"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		// Creates an event stream of type eventbridge
    		_, err := auth0.NewEventStream(ctx, "my_event_stream_event_bridge", &auth0.EventStreamArgs{
    			Name:            pulumi.String("my-eventbridge"),
    			DestinationType: pulumi.String("eventbridge"),
    			Subscriptions: pulumi.StringArray{
    				pulumi.String("user.created"),
    				pulumi.String("user.updated"),
    			},
    			EventbridgeConfiguration: &auth0.EventStreamEventbridgeConfigurationArgs{
    				AwsAccountId: pulumi.String("242849305777"),
    				AwsRegion:    pulumi.String("us-east-1"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		// Creates an event stream of type webhook
    		_, err = auth0.NewEventStream(ctx, "my_event_stream_webhook", &auth0.EventStreamArgs{
    			Name:            pulumi.String("my-webhook"),
    			DestinationType: pulumi.String("webhook"),
    			Subscriptions: pulumi.StringArray{
    				pulumi.String("user.created"),
    				pulumi.String("user.updated"),
    			},
    			WebhookConfiguration: &auth0.EventStreamWebhookConfigurationArgs{
    				WebhookEndpoint: pulumi.String("https://eof28wtn4v4506o.m.pipedream.net"),
    				WebhookAuthorization: &auth0.EventStreamWebhookConfigurationWebhookAuthorizationArgs{
    					Method: pulumi.String("bearer"),
    					Token:  pulumi.String("123456789"),
    				},
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Auth0 = Pulumi.Auth0;
    
    return await Deployment.RunAsync(() => 
    {
        // Creates an event stream of type eventbridge
        var myEventStreamEventBridge = new Auth0.EventStream("my_event_stream_event_bridge", new()
        {
            Name = "my-eventbridge",
            DestinationType = "eventbridge",
            Subscriptions = new[]
            {
                "user.created",
                "user.updated",
            },
            EventbridgeConfiguration = new Auth0.Inputs.EventStreamEventbridgeConfigurationArgs
            {
                AwsAccountId = "242849305777",
                AwsRegion = "us-east-1",
            },
        });
    
        // Creates an event stream of type webhook
        var myEventStreamWebhook = new Auth0.EventStream("my_event_stream_webhook", new()
        {
            Name = "my-webhook",
            DestinationType = "webhook",
            Subscriptions = new[]
            {
                "user.created",
                "user.updated",
            },
            WebhookConfiguration = new Auth0.Inputs.EventStreamWebhookConfigurationArgs
            {
                WebhookEndpoint = "https://eof28wtn4v4506o.m.pipedream.net",
                WebhookAuthorization = new Auth0.Inputs.EventStreamWebhookConfigurationWebhookAuthorizationArgs
                {
                    Method = "bearer",
                    Token = "123456789",
                },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.auth0.EventStream;
    import com.pulumi.auth0.EventStreamArgs;
    import com.pulumi.auth0.inputs.EventStreamEventbridgeConfigurationArgs;
    import com.pulumi.auth0.inputs.EventStreamWebhookConfigurationArgs;
    import com.pulumi.auth0.inputs.EventStreamWebhookConfigurationWebhookAuthorizationArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            // Creates an event stream of type eventbridge
            var myEventStreamEventBridge = new EventStream("myEventStreamEventBridge", EventStreamArgs.builder()
                .name("my-eventbridge")
                .destinationType("eventbridge")
                .subscriptions(            
                    "user.created",
                    "user.updated")
                .eventbridgeConfiguration(EventStreamEventbridgeConfigurationArgs.builder()
                    .awsAccountId("242849305777")
                    .awsRegion("us-east-1")
                    .build())
                .build());
    
            // Creates an event stream of type webhook
            var myEventStreamWebhook = new EventStream("myEventStreamWebhook", EventStreamArgs.builder()
                .name("my-webhook")
                .destinationType("webhook")
                .subscriptions(            
                    "user.created",
                    "user.updated")
                .webhookConfiguration(EventStreamWebhookConfigurationArgs.builder()
                    .webhookEndpoint("https://eof28wtn4v4506o.m.pipedream.net")
                    .webhookAuthorization(EventStreamWebhookConfigurationWebhookAuthorizationArgs.builder()
                        .method("bearer")
                        .token("123456789")
                        .build())
                    .build())
                .build());
    
        }
    }
    
    resources:
      # Creates an event stream of type eventbridge
      myEventStreamEventBridge:
        type: auth0:EventStream
        name: my_event_stream_event_bridge
        properties:
          name: my-eventbridge
          destinationType: eventbridge
          subscriptions:
            - user.created
            - user.updated
          eventbridgeConfiguration:
            awsAccountId: '242849305777'
            awsRegion: us-east-1
      # Creates an event stream of type webhook
      myEventStreamWebhook:
        type: auth0:EventStream
        name: my_event_stream_webhook
        properties:
          name: my-webhook
          destinationType: webhook
          subscriptions:
            - user.created
            - user.updated
          webhookConfiguration:
            webhookEndpoint: https://eof28wtn4v4506o.m.pipedream.net
            webhookAuthorization:
              method: bearer
              token: '123456789'
    

    Create EventStream Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new EventStream(name: string, args: EventStreamArgs, opts?: CustomResourceOptions);
    @overload
    def EventStream(resource_name: str,
                    args: EventStreamArgs,
                    opts: Optional[ResourceOptions] = None)
    
    @overload
    def EventStream(resource_name: str,
                    opts: Optional[ResourceOptions] = None,
                    destination_type: Optional[str] = None,
                    subscriptions: Optional[Sequence[str]] = None,
                    eventbridge_configuration: Optional[EventStreamEventbridgeConfigurationArgs] = None,
                    name: Optional[str] = None,
                    webhook_configuration: Optional[EventStreamWebhookConfigurationArgs] = None)
    func NewEventStream(ctx *Context, name string, args EventStreamArgs, opts ...ResourceOption) (*EventStream, error)
    public EventStream(string name, EventStreamArgs args, CustomResourceOptions? opts = null)
    public EventStream(String name, EventStreamArgs args)
    public EventStream(String name, EventStreamArgs args, CustomResourceOptions options)
    
    type: auth0:EventStream
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args EventStreamArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args EventStreamArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args EventStreamArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args EventStreamArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args EventStreamArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var eventStreamResource = new Auth0.EventStream("eventStreamResource", new()
    {
        DestinationType = "string",
        Subscriptions = new[]
        {
            "string",
        },
        EventbridgeConfiguration = new Auth0.Inputs.EventStreamEventbridgeConfigurationArgs
        {
            AwsAccountId = "string",
            AwsRegion = "string",
            AwsPartnerEventSource = "string",
        },
        Name = "string",
        WebhookConfiguration = new Auth0.Inputs.EventStreamWebhookConfigurationArgs
        {
            WebhookAuthorization = new Auth0.Inputs.EventStreamWebhookConfigurationWebhookAuthorizationArgs
            {
                Method = "string",
                Password = "string",
                Token = "string",
                Username = "string",
            },
            WebhookEndpoint = "string",
        },
    });
    
    example, err := auth0.NewEventStream(ctx, "eventStreamResource", &auth0.EventStreamArgs{
    	DestinationType: pulumi.String("string"),
    	Subscriptions: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	EventbridgeConfiguration: &auth0.EventStreamEventbridgeConfigurationArgs{
    		AwsAccountId:          pulumi.String("string"),
    		AwsRegion:             pulumi.String("string"),
    		AwsPartnerEventSource: pulumi.String("string"),
    	},
    	Name: pulumi.String("string"),
    	WebhookConfiguration: &auth0.EventStreamWebhookConfigurationArgs{
    		WebhookAuthorization: &auth0.EventStreamWebhookConfigurationWebhookAuthorizationArgs{
    			Method:   pulumi.String("string"),
    			Password: pulumi.String("string"),
    			Token:    pulumi.String("string"),
    			Username: pulumi.String("string"),
    		},
    		WebhookEndpoint: pulumi.String("string"),
    	},
    })
    
    var eventStreamResource = new EventStream("eventStreamResource", EventStreamArgs.builder()
        .destinationType("string")
        .subscriptions("string")
        .eventbridgeConfiguration(EventStreamEventbridgeConfigurationArgs.builder()
            .awsAccountId("string")
            .awsRegion("string")
            .awsPartnerEventSource("string")
            .build())
        .name("string")
        .webhookConfiguration(EventStreamWebhookConfigurationArgs.builder()
            .webhookAuthorization(EventStreamWebhookConfigurationWebhookAuthorizationArgs.builder()
                .method("string")
                .password("string")
                .token("string")
                .username("string")
                .build())
            .webhookEndpoint("string")
            .build())
        .build());
    
    event_stream_resource = auth0.EventStream("eventStreamResource",
        destination_type="string",
        subscriptions=["string"],
        eventbridge_configuration={
            "aws_account_id": "string",
            "aws_region": "string",
            "aws_partner_event_source": "string",
        },
        name="string",
        webhook_configuration={
            "webhook_authorization": {
                "method": "string",
                "password": "string",
                "token": "string",
                "username": "string",
            },
            "webhook_endpoint": "string",
        })
    
    const eventStreamResource = new auth0.EventStream("eventStreamResource", {
        destinationType: "string",
        subscriptions: ["string"],
        eventbridgeConfiguration: {
            awsAccountId: "string",
            awsRegion: "string",
            awsPartnerEventSource: "string",
        },
        name: "string",
        webhookConfiguration: {
            webhookAuthorization: {
                method: "string",
                password: "string",
                token: "string",
                username: "string",
            },
            webhookEndpoint: "string",
        },
    });
    
    type: auth0:EventStream
    properties:
        destinationType: string
        eventbridgeConfiguration:
            awsAccountId: string
            awsPartnerEventSource: string
            awsRegion: string
        name: string
        subscriptions:
            - string
        webhookConfiguration:
            webhookAuthorization:
                method: string
                password: string
                token: string
                username: string
            webhookEndpoint: string
    

    EventStream Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The EventStream resource accepts the following input properties:

    DestinationType string
    The type of event stream destination (either 'eventbridge' or 'webhook').
    Subscriptions List<string>
    List of event types this stream is subscribed to.
    EventbridgeConfiguration EventStreamEventbridgeConfiguration
    Configuration for the EventBridge destination. This block is only applicable when destination_type is set to eventbridge. EventBridge configurations cannot be updated after creation. Any change to this block will force the resource to be recreated.
    Name string
    The name of the event stream.
    WebhookConfiguration EventStreamWebhookConfiguration
    Configuration for the Webhook destination. This block is only applicable when destination_type is set to webhook. Webhook configurations can be updated after creation, including the endpoint and authorization fields.
    DestinationType string
    The type of event stream destination (either 'eventbridge' or 'webhook').
    Subscriptions []string
    List of event types this stream is subscribed to.
    EventbridgeConfiguration EventStreamEventbridgeConfigurationArgs
    Configuration for the EventBridge destination. This block is only applicable when destination_type is set to eventbridge. EventBridge configurations cannot be updated after creation. Any change to this block will force the resource to be recreated.
    Name string
    The name of the event stream.
    WebhookConfiguration EventStreamWebhookConfigurationArgs
    Configuration for the Webhook destination. This block is only applicable when destination_type is set to webhook. Webhook configurations can be updated after creation, including the endpoint and authorization fields.
    destinationType String
    The type of event stream destination (either 'eventbridge' or 'webhook').
    subscriptions List<String>
    List of event types this stream is subscribed to.
    eventbridgeConfiguration EventStreamEventbridgeConfiguration
    Configuration for the EventBridge destination. This block is only applicable when destination_type is set to eventbridge. EventBridge configurations cannot be updated after creation. Any change to this block will force the resource to be recreated.
    name String
    The name of the event stream.
    webhookConfiguration EventStreamWebhookConfiguration
    Configuration for the Webhook destination. This block is only applicable when destination_type is set to webhook. Webhook configurations can be updated after creation, including the endpoint and authorization fields.
    destinationType string
    The type of event stream destination (either 'eventbridge' or 'webhook').
    subscriptions string[]
    List of event types this stream is subscribed to.
    eventbridgeConfiguration EventStreamEventbridgeConfiguration
    Configuration for the EventBridge destination. This block is only applicable when destination_type is set to eventbridge. EventBridge configurations cannot be updated after creation. Any change to this block will force the resource to be recreated.
    name string
    The name of the event stream.
    webhookConfiguration EventStreamWebhookConfiguration
    Configuration for the Webhook destination. This block is only applicable when destination_type is set to webhook. Webhook configurations can be updated after creation, including the endpoint and authorization fields.
    destination_type str
    The type of event stream destination (either 'eventbridge' or 'webhook').
    subscriptions Sequence[str]
    List of event types this stream is subscribed to.
    eventbridge_configuration EventStreamEventbridgeConfigurationArgs
    Configuration for the EventBridge destination. This block is only applicable when destination_type is set to eventbridge. EventBridge configurations cannot be updated after creation. Any change to this block will force the resource to be recreated.
    name str
    The name of the event stream.
    webhook_configuration EventStreamWebhookConfigurationArgs
    Configuration for the Webhook destination. This block is only applicable when destination_type is set to webhook. Webhook configurations can be updated after creation, including the endpoint and authorization fields.
    destinationType String
    The type of event stream destination (either 'eventbridge' or 'webhook').
    subscriptions List<String>
    List of event types this stream is subscribed to.
    eventbridgeConfiguration Property Map
    Configuration for the EventBridge destination. This block is only applicable when destination_type is set to eventbridge. EventBridge configurations cannot be updated after creation. Any change to this block will force the resource to be recreated.
    name String
    The name of the event stream.
    webhookConfiguration Property Map
    Configuration for the Webhook destination. This block is only applicable when destination_type is set to webhook. Webhook configurations can be updated after creation, including the endpoint and authorization fields.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the EventStream resource produces the following output properties:

    CreatedAt string
    The ISO 8601 timestamp when the stream was created.
    Id string
    The provider-assigned unique ID for this managed resource.
    Status string
    The current status of the event stream.
    UpdatedAt string
    The ISO 8601 timestamp when the stream was last updated.
    CreatedAt string
    The ISO 8601 timestamp when the stream was created.
    Id string
    The provider-assigned unique ID for this managed resource.
    Status string
    The current status of the event stream.
    UpdatedAt string
    The ISO 8601 timestamp when the stream was last updated.
    createdAt String
    The ISO 8601 timestamp when the stream was created.
    id String
    The provider-assigned unique ID for this managed resource.
    status String
    The current status of the event stream.
    updatedAt String
    The ISO 8601 timestamp when the stream was last updated.
    createdAt string
    The ISO 8601 timestamp when the stream was created.
    id string
    The provider-assigned unique ID for this managed resource.
    status string
    The current status of the event stream.
    updatedAt string
    The ISO 8601 timestamp when the stream was last updated.
    created_at str
    The ISO 8601 timestamp when the stream was created.
    id str
    The provider-assigned unique ID for this managed resource.
    status str
    The current status of the event stream.
    updated_at str
    The ISO 8601 timestamp when the stream was last updated.
    createdAt String
    The ISO 8601 timestamp when the stream was created.
    id String
    The provider-assigned unique ID for this managed resource.
    status String
    The current status of the event stream.
    updatedAt String
    The ISO 8601 timestamp when the stream was last updated.

    Look up Existing EventStream Resource

    Get an existing EventStream resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: EventStreamState, opts?: CustomResourceOptions): EventStream
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            created_at: Optional[str] = None,
            destination_type: Optional[str] = None,
            eventbridge_configuration: Optional[EventStreamEventbridgeConfigurationArgs] = None,
            name: Optional[str] = None,
            status: Optional[str] = None,
            subscriptions: Optional[Sequence[str]] = None,
            updated_at: Optional[str] = None,
            webhook_configuration: Optional[EventStreamWebhookConfigurationArgs] = None) -> EventStream
    func GetEventStream(ctx *Context, name string, id IDInput, state *EventStreamState, opts ...ResourceOption) (*EventStream, error)
    public static EventStream Get(string name, Input<string> id, EventStreamState? state, CustomResourceOptions? opts = null)
    public static EventStream get(String name, Output<String> id, EventStreamState state, CustomResourceOptions options)
    resources:  _:    type: auth0:EventStream    get:      id: ${id}
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    CreatedAt string
    The ISO 8601 timestamp when the stream was created.
    DestinationType string
    The type of event stream destination (either 'eventbridge' or 'webhook').
    EventbridgeConfiguration EventStreamEventbridgeConfiguration
    Configuration for the EventBridge destination. This block is only applicable when destination_type is set to eventbridge. EventBridge configurations cannot be updated after creation. Any change to this block will force the resource to be recreated.
    Name string
    The name of the event stream.
    Status string
    The current status of the event stream.
    Subscriptions List<string>
    List of event types this stream is subscribed to.
    UpdatedAt string
    The ISO 8601 timestamp when the stream was last updated.
    WebhookConfiguration EventStreamWebhookConfiguration
    Configuration for the Webhook destination. This block is only applicable when destination_type is set to webhook. Webhook configurations can be updated after creation, including the endpoint and authorization fields.
    CreatedAt string
    The ISO 8601 timestamp when the stream was created.
    DestinationType string
    The type of event stream destination (either 'eventbridge' or 'webhook').
    EventbridgeConfiguration EventStreamEventbridgeConfigurationArgs
    Configuration for the EventBridge destination. This block is only applicable when destination_type is set to eventbridge. EventBridge configurations cannot be updated after creation. Any change to this block will force the resource to be recreated.
    Name string
    The name of the event stream.
    Status string
    The current status of the event stream.
    Subscriptions []string
    List of event types this stream is subscribed to.
    UpdatedAt string
    The ISO 8601 timestamp when the stream was last updated.
    WebhookConfiguration EventStreamWebhookConfigurationArgs
    Configuration for the Webhook destination. This block is only applicable when destination_type is set to webhook. Webhook configurations can be updated after creation, including the endpoint and authorization fields.
    createdAt String
    The ISO 8601 timestamp when the stream was created.
    destinationType String
    The type of event stream destination (either 'eventbridge' or 'webhook').
    eventbridgeConfiguration EventStreamEventbridgeConfiguration
    Configuration for the EventBridge destination. This block is only applicable when destination_type is set to eventbridge. EventBridge configurations cannot be updated after creation. Any change to this block will force the resource to be recreated.
    name String
    The name of the event stream.
    status String
    The current status of the event stream.
    subscriptions List<String>
    List of event types this stream is subscribed to.
    updatedAt String
    The ISO 8601 timestamp when the stream was last updated.
    webhookConfiguration EventStreamWebhookConfiguration
    Configuration for the Webhook destination. This block is only applicable when destination_type is set to webhook. Webhook configurations can be updated after creation, including the endpoint and authorization fields.
    createdAt string
    The ISO 8601 timestamp when the stream was created.
    destinationType string
    The type of event stream destination (either 'eventbridge' or 'webhook').
    eventbridgeConfiguration EventStreamEventbridgeConfiguration
    Configuration for the EventBridge destination. This block is only applicable when destination_type is set to eventbridge. EventBridge configurations cannot be updated after creation. Any change to this block will force the resource to be recreated.
    name string
    The name of the event stream.
    status string
    The current status of the event stream.
    subscriptions string[]
    List of event types this stream is subscribed to.
    updatedAt string
    The ISO 8601 timestamp when the stream was last updated.
    webhookConfiguration EventStreamWebhookConfiguration
    Configuration for the Webhook destination. This block is only applicable when destination_type is set to webhook. Webhook configurations can be updated after creation, including the endpoint and authorization fields.
    created_at str
    The ISO 8601 timestamp when the stream was created.
    destination_type str
    The type of event stream destination (either 'eventbridge' or 'webhook').
    eventbridge_configuration EventStreamEventbridgeConfigurationArgs
    Configuration for the EventBridge destination. This block is only applicable when destination_type is set to eventbridge. EventBridge configurations cannot be updated after creation. Any change to this block will force the resource to be recreated.
    name str
    The name of the event stream.
    status str
    The current status of the event stream.
    subscriptions Sequence[str]
    List of event types this stream is subscribed to.
    updated_at str
    The ISO 8601 timestamp when the stream was last updated.
    webhook_configuration EventStreamWebhookConfigurationArgs
    Configuration for the Webhook destination. This block is only applicable when destination_type is set to webhook. Webhook configurations can be updated after creation, including the endpoint and authorization fields.
    createdAt String
    The ISO 8601 timestamp when the stream was created.
    destinationType String
    The type of event stream destination (either 'eventbridge' or 'webhook').
    eventbridgeConfiguration Property Map
    Configuration for the EventBridge destination. This block is only applicable when destination_type is set to eventbridge. EventBridge configurations cannot be updated after creation. Any change to this block will force the resource to be recreated.
    name String
    The name of the event stream.
    status String
    The current status of the event stream.
    subscriptions List<String>
    List of event types this stream is subscribed to.
    updatedAt String
    The ISO 8601 timestamp when the stream was last updated.
    webhookConfiguration Property Map
    Configuration for the Webhook destination. This block is only applicable when destination_type is set to webhook. Webhook configurations can be updated after creation, including the endpoint and authorization fields.

    Supporting Types

    EventStreamEventbridgeConfiguration, EventStreamEventbridgeConfigurationArgs

    EventStreamWebhookConfiguration, EventStreamWebhookConfigurationArgs

    WebhookAuthorization EventStreamWebhookConfigurationWebhookAuthorization
    Authorization details for the webhook endpoint. Supports basic authentication using username and password, or bearer authentication using a token. The appropriate fields must be set based on the chosen method.
    WebhookEndpoint string
    The HTTPS endpoint that will receive the webhook events. Must be a valid, publicly accessible URL.
    WebhookAuthorization EventStreamWebhookConfigurationWebhookAuthorization
    Authorization details for the webhook endpoint. Supports basic authentication using username and password, or bearer authentication using a token. The appropriate fields must be set based on the chosen method.
    WebhookEndpoint string
    The HTTPS endpoint that will receive the webhook events. Must be a valid, publicly accessible URL.
    webhookAuthorization EventStreamWebhookConfigurationWebhookAuthorization
    Authorization details for the webhook endpoint. Supports basic authentication using username and password, or bearer authentication using a token. The appropriate fields must be set based on the chosen method.
    webhookEndpoint String
    The HTTPS endpoint that will receive the webhook events. Must be a valid, publicly accessible URL.
    webhookAuthorization EventStreamWebhookConfigurationWebhookAuthorization
    Authorization details for the webhook endpoint. Supports basic authentication using username and password, or bearer authentication using a token. The appropriate fields must be set based on the chosen method.
    webhookEndpoint string
    The HTTPS endpoint that will receive the webhook events. Must be a valid, publicly accessible URL.
    webhook_authorization EventStreamWebhookConfigurationWebhookAuthorization
    Authorization details for the webhook endpoint. Supports basic authentication using username and password, or bearer authentication using a token. The appropriate fields must be set based on the chosen method.
    webhook_endpoint str
    The HTTPS endpoint that will receive the webhook events. Must be a valid, publicly accessible URL.
    webhookAuthorization Property Map
    Authorization details for the webhook endpoint. Supports basic authentication using username and password, or bearer authentication using a token. The appropriate fields must be set based on the chosen method.
    webhookEndpoint String
    The HTTPS endpoint that will receive the webhook events. Must be a valid, publicly accessible URL.

    EventStreamWebhookConfigurationWebhookAuthorization, EventStreamWebhookConfigurationWebhookAuthorizationArgs

    Method string
    The authorization method used to secure the webhook endpoint. Can be either basic or bearer.
    Password string
    The password for basic authentication. Required when method is set to basic.
    Token string
    The token used for bearer authentication. Required when method is set to bearer.
    Username string
    The username for basic authentication. Required when method is set to basic.
    Method string
    The authorization method used to secure the webhook endpoint. Can be either basic or bearer.
    Password string
    The password for basic authentication. Required when method is set to basic.
    Token string
    The token used for bearer authentication. Required when method is set to bearer.
    Username string
    The username for basic authentication. Required when method is set to basic.
    method String
    The authorization method used to secure the webhook endpoint. Can be either basic or bearer.
    password String
    The password for basic authentication. Required when method is set to basic.
    token String
    The token used for bearer authentication. Required when method is set to bearer.
    username String
    The username for basic authentication. Required when method is set to basic.
    method string
    The authorization method used to secure the webhook endpoint. Can be either basic or bearer.
    password string
    The password for basic authentication. Required when method is set to basic.
    token string
    The token used for bearer authentication. Required when method is set to bearer.
    username string
    The username for basic authentication. Required when method is set to basic.
    method str
    The authorization method used to secure the webhook endpoint. Can be either basic or bearer.
    password str
    The password for basic authentication. Required when method is set to basic.
    token str
    The token used for bearer authentication. Required when method is set to bearer.
    username str
    The username for basic authentication. Required when method is set to basic.
    method String
    The authorization method used to secure the webhook endpoint. Can be either basic or bearer.
    password String
    The password for basic authentication. Required when method is set to basic.
    token String
    The token used for bearer authentication. Required when method is set to bearer.
    username String
    The username for basic authentication. Required when method is set to basic.

    Import

    This resource can be imported by specifying the Event Stream ID.

    Example:

    $ pulumi import auth0:index/eventStream:EventStream my_stream "est_XXXXXXXXXXXXXXXX"
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    Auth0 pulumi/pulumi-auth0
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the auth0 Terraform Provider.
    auth0 logo
    Auth0 v3.27.0 published on Wednesday, Sep 10, 2025 by Pulumi