Table of Contents

Class EventBridgeOptions

Namespace
AWS.Messaging.Publishers.EventBridge
Assembly
AWS.Messaging.dll

This class contains additional properties that can be set while publishing a message to Amazon EventBridge.

public class EventBridgeOptions
Inheritance
EventBridgeOptions

Properties

DetailType

Specifies the type of event being sent.

public string? DetailType { get; set; }

Property Value

string

EndpointID

The ID of the global EventBridge endpoint. This can be used to override the EndpointID that is configured for a given message type when publishing a specific message.

public string? EndpointID { get; set; }

Property Value

string

EventBusName

The EventBridge Event Bus name or ARN which the publisher will use to route the message. This can be used to override the EventBusName that is configured for a given message type when publishing a specific message.

public string? EventBusName { get; set; }

Property Value

string

OverrideClient

An alternative EventBridge client that can be used to publish a specific message, instead of the client provided by the registered IAWSClientProvider implementation.

public IAmazonEventBridge? OverrideClient { get; set; }

Property Value

IAmazonEventBridge

Resources

Contains a list of Amazon Resource Names that the event primarily concerns.

public List<string>? Resources { get; set; }

Property Value

List<string>

Source

The source of the event.

public string? Source { get; set; }

Property Value

string

Time

The time stamp of the event, per RFC3339. If no time stamp is provided, the time stamp of the PutEvents call is used.

public DateTimeOffset Time { get; set; }

Property Value

DateTimeOffset

TraceHeader

An X-Ray trace header, which is an http header(X-Amzn-Trace-Id) that contains the trace-id associated with the event. To learn more about X-Ray trace headers, see Tracing header in the X-Ray Developer Guide.

public string? TraceHeader { get; set; }

Property Value

string