auth0.EventStream
Explore with Pulumi AI
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:
- Destination
Type string - The type of event stream destination (either 'eventbridge' or 'webhook').
- Subscriptions List<string>
- List of event types this stream is subscribed to.
- Eventbridge
Configuration EventStream Eventbridge Configuration - Configuration for the EventBridge destination. This block is only applicable when
destination_type
is set toeventbridge
. 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.
- Webhook
Configuration EventStream Webhook Configuration - Configuration for the Webhook destination. This block is only applicable when
destination_type
is set towebhook
. Webhook configurations can be updated after creation, including the endpoint and authorization fields.
- Destination
Type string - The type of event stream destination (either 'eventbridge' or 'webhook').
- Subscriptions []string
- List of event types this stream is subscribed to.
- Eventbridge
Configuration EventStream Eventbridge Configuration Args - Configuration for the EventBridge destination. This block is only applicable when
destination_type
is set toeventbridge
. 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.
- Webhook
Configuration EventStream Webhook Configuration Args - Configuration for the Webhook destination. This block is only applicable when
destination_type
is set towebhook
. Webhook configurations can be updated after creation, including the endpoint and authorization fields.
- destination
Type String - The type of event stream destination (either 'eventbridge' or 'webhook').
- subscriptions List<String>
- List of event types this stream is subscribed to.
- eventbridge
Configuration EventStream Eventbridge Configuration - Configuration for the EventBridge destination. This block is only applicable when
destination_type
is set toeventbridge
. 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.
- webhook
Configuration EventStream Webhook Configuration - Configuration for the Webhook destination. This block is only applicable when
destination_type
is set towebhook
. Webhook configurations can be updated after creation, including the endpoint and authorization fields.
- destination
Type string - The type of event stream destination (either 'eventbridge' or 'webhook').
- subscriptions string[]
- List of event types this stream is subscribed to.
- eventbridge
Configuration EventStream Eventbridge Configuration - Configuration for the EventBridge destination. This block is only applicable when
destination_type
is set toeventbridge
. 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.
- webhook
Configuration EventStream Webhook Configuration - Configuration for the Webhook destination. This block is only applicable when
destination_type
is set towebhook
. 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 EventStream Eventbridge Configuration Args - Configuration for the EventBridge destination. This block is only applicable when
destination_type
is set toeventbridge
. 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 EventStream Webhook Configuration Args - Configuration for the Webhook destination. This block is only applicable when
destination_type
is set towebhook
. Webhook configurations can be updated after creation, including the endpoint and authorization fields.
- destination
Type String - The type of event stream destination (either 'eventbridge' or 'webhook').
- subscriptions List<String>
- List of event types this stream is subscribed to.
- eventbridge
Configuration Property Map - Configuration for the EventBridge destination. This block is only applicable when
destination_type
is set toeventbridge
. 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.
- webhook
Configuration Property Map - Configuration for the Webhook destination. This block is only applicable when
destination_type
is set towebhook
. 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:
- 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.
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.
- Created
At string - The ISO 8601 timestamp when the stream was created.
- Destination
Type string - The type of event stream destination (either 'eventbridge' or 'webhook').
- Eventbridge
Configuration EventStream Eventbridge Configuration - Configuration for the EventBridge destination. This block is only applicable when
destination_type
is set toeventbridge
. 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.
- Updated
At string - The ISO 8601 timestamp when the stream was last updated.
- Webhook
Configuration EventStream Webhook Configuration - Configuration for the Webhook destination. This block is only applicable when
destination_type
is set towebhook
. Webhook configurations can be updated after creation, including the endpoint and authorization fields.
- Created
At string - The ISO 8601 timestamp when the stream was created.
- Destination
Type string - The type of event stream destination (either 'eventbridge' or 'webhook').
- Eventbridge
Configuration EventStream Eventbridge Configuration Args - Configuration for the EventBridge destination. This block is only applicable when
destination_type
is set toeventbridge
. 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.
- Updated
At string - The ISO 8601 timestamp when the stream was last updated.
- Webhook
Configuration EventStream Webhook Configuration Args - Configuration for the Webhook destination. This block is only applicable when
destination_type
is set towebhook
. Webhook configurations can be updated after creation, including the endpoint and authorization fields.
- created
At String - The ISO 8601 timestamp when the stream was created.
- destination
Type String - The type of event stream destination (either 'eventbridge' or 'webhook').
- eventbridge
Configuration EventStream Eventbridge Configuration - Configuration for the EventBridge destination. This block is only applicable when
destination_type
is set toeventbridge
. 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.
- updated
At String - The ISO 8601 timestamp when the stream was last updated.
- webhook
Configuration EventStream Webhook Configuration - Configuration for the Webhook destination. This block is only applicable when
destination_type
is set towebhook
. Webhook configurations can be updated after creation, including the endpoint and authorization fields.
- created
At string - The ISO 8601 timestamp when the stream was created.
- destination
Type string - The type of event stream destination (either 'eventbridge' or 'webhook').
- eventbridge
Configuration EventStream Eventbridge Configuration - Configuration for the EventBridge destination. This block is only applicable when
destination_type
is set toeventbridge
. 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.
- updated
At string - The ISO 8601 timestamp when the stream was last updated.
- webhook
Configuration EventStream Webhook Configuration - Configuration for the Webhook destination. This block is only applicable when
destination_type
is set towebhook
. 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 EventStream Eventbridge Configuration Args - Configuration for the EventBridge destination. This block is only applicable when
destination_type
is set toeventbridge
. 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 EventStream Webhook Configuration Args - Configuration for the Webhook destination. This block is only applicable when
destination_type
is set towebhook
. Webhook configurations can be updated after creation, including the endpoint and authorization fields.
- created
At String - The ISO 8601 timestamp when the stream was created.
- destination
Type String - The type of event stream destination (either 'eventbridge' or 'webhook').
- eventbridge
Configuration Property Map - Configuration for the EventBridge destination. This block is only applicable when
destination_type
is set toeventbridge
. 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.
- updated
At String - The ISO 8601 timestamp when the stream was last updated.
- webhook
Configuration Property Map - Configuration for the Webhook destination. This block is only applicable when
destination_type
is set towebhook
. Webhook configurations can be updated after creation, including the endpoint and authorization fields.
Supporting Types
EventStreamEventbridgeConfiguration, EventStreamEventbridgeConfigurationArgs
- Aws
Account stringId - Aws
Region string - Aws
Partner stringEvent Source
- Aws
Account stringId - Aws
Region string - Aws
Partner stringEvent Source
- aws
Account StringId - aws
Region String - aws
Partner StringEvent Source
- aws
Account stringId - aws
Region string - aws
Partner stringEvent Source
- aws_
account_ strid - aws_
region str - aws_
partner_ strevent_ source
- aws
Account StringId - aws
Region String - aws
Partner StringEvent Source
EventStreamWebhookConfiguration, EventStreamWebhookConfigurationArgs
- Event
Stream Webhook Configuration Webhook Authorization - Authorization details for the webhook endpoint. Supports
basic
authentication usingusername
andpassword
, orbearer
authentication using atoken
. The appropriate fields must be set based on the chosen method. - Webhook
Endpoint string - The HTTPS endpoint that will receive the webhook events. Must be a valid, publicly accessible URL.
- Event
Stream Webhook Configuration Webhook Authorization - Authorization details for the webhook endpoint. Supports
basic
authentication usingusername
andpassword
, orbearer
authentication using atoken
. The appropriate fields must be set based on the chosen method. - Webhook
Endpoint string - The HTTPS endpoint that will receive the webhook events. Must be a valid, publicly accessible URL.
- Event
Stream Webhook Configuration Webhook Authorization - Authorization details for the webhook endpoint. Supports
basic
authentication usingusername
andpassword
, orbearer
authentication using atoken
. The appropriate fields must be set based on the chosen method. - webhook
Endpoint String - The HTTPS endpoint that will receive the webhook events. Must be a valid, publicly accessible URL.
- Event
Stream Webhook Configuration Webhook Authorization - Authorization details for the webhook endpoint. Supports
basic
authentication usingusername
andpassword
, orbearer
authentication using atoken
. The appropriate fields must be set based on the chosen method. - webhook
Endpoint string - The HTTPS endpoint that will receive the webhook events. Must be a valid, publicly accessible URL.
- Event
Stream Webhook Configuration Webhook Authorization - Authorization details for the webhook endpoint. Supports
basic
authentication usingusername
andpassword
, orbearer
authentication using atoken
. 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.
- Property Map
- Authorization details for the webhook endpoint. Supports
basic
authentication usingusername
andpassword
, orbearer
authentication using atoken
. The appropriate fields must be set based on the chosen method. - webhook
Endpoint 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
orbearer
. - Password string
- The password for
basic
authentication. Required whenmethod
is set tobasic
. - Token string
- The token used for
bearer
authentication. Required whenmethod
is set tobearer
. - Username string
- The username for
basic
authentication. Required whenmethod
is set tobasic
.
- Method string
- The authorization method used to secure the webhook endpoint. Can be either
basic
orbearer
. - Password string
- The password for
basic
authentication. Required whenmethod
is set tobasic
. - Token string
- The token used for
bearer
authentication. Required whenmethod
is set tobearer
. - Username string
- The username for
basic
authentication. Required whenmethod
is set tobasic
.
- method String
- The authorization method used to secure the webhook endpoint. Can be either
basic
orbearer
. - password String
- The password for
basic
authentication. Required whenmethod
is set tobasic
. - token String
- The token used for
bearer
authentication. Required whenmethod
is set tobearer
. - username String
- The username for
basic
authentication. Required whenmethod
is set tobasic
.
- method string
- The authorization method used to secure the webhook endpoint. Can be either
basic
orbearer
. - password string
- The password for
basic
authentication. Required whenmethod
is set tobasic
. - token string
- The token used for
bearer
authentication. Required whenmethod
is set tobearer
. - username string
- The username for
basic
authentication. Required whenmethod
is set tobasic
.
- method str
- The authorization method used to secure the webhook endpoint. Can be either
basic
orbearer
. - password str
- The password for
basic
authentication. Required whenmethod
is set tobasic
. - token str
- The token used for
bearer
authentication. Required whenmethod
is set tobearer
. - username str
- The username for
basic
authentication. Required whenmethod
is set tobasic
.
- method String
- The authorization method used to secure the webhook endpoint. Can be either
basic
orbearer
. - password String
- The password for
basic
authentication. Required whenmethod
is set tobasic
. - token String
- The token used for
bearer
authentication. Required whenmethod
is set tobearer
. - username String
- The username for
basic
authentication. Required whenmethod
is set tobasic
.
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.