Interface EventBusProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
EventBusProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.120.0 (build 192dc88)",
date="2025-12-05T22:26:36.968Z")
@Stability(Stable)
public interface EventBusProps
extends software.amazon.jsii.JsiiSerializable
Properties to define an event bus.
Example:
import software.amazon.awscdk.services.events.*;
EventBus myEventBus = EventBus.Builder.create(this, "EventBus")
.eventBusName("MyEventBus1")
.build();
EventBridgePutEvents.Builder.create(this, "Send an event to EventBridge")
.entries(List.of(EventBridgePutEventsEntry.builder()
.detail(TaskInput.fromObject(Map.of(
"Message", "Hello from Step Functions!")))
.eventBus(myEventBus)
.detailType("MessageFromStepFunctions")
.source("step.functions")
.build()))
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forEventBusPropsstatic final classAn implementation forEventBusProps -
Method Summary
Modifier and TypeMethodDescriptionstatic EventBusProps.Builderbuilder()default IQueueDead-letter queue for the event bus.default StringThe event bus description.default StringThe name of the event bus you are creating Note: If 'eventSourceName' is passed in, you cannot set this.default StringThe partner event source to associate with this event bus resource Note: If 'eventBusName' is passed in, you cannot set this.default IKeyThe customer managed key that encrypt events on this event bus.default LogConfigThe Logging Configuration of the Èvent Bus.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getDeadLetterQueue
Dead-letter queue for the event bus.Default: - no dead-letter queue
- See Also:
-
getDescription
The event bus description.The description can be up to 512 characters long.
Default: - no description
- See Also:
-
getEventBusName
The name of the event bus you are creating Note: If 'eventSourceName' is passed in, you cannot set this.Default: - automatically generated name
-
getEventSourceName
The partner event source to associate with this event bus resource Note: If 'eventBusName' is passed in, you cannot set this.Default: - no partner event source
-
getKmsKey
The customer managed key that encrypt events on this event bus.Default: - Use an AWS managed key
-
getLogConfig
The Logging Configuration of the Èvent Bus.Default: - no logging
-
builder
- Returns:
- a
EventBusProps.BuilderofEventBusProps
-