Interface EventBusProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
EventBusProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2024-12-17T21:37:31.471Z")
@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
Modifier and TypeInterfaceDescriptionstatic final class
A builder forEventBusProps
static final class
An implementation forEventBusProps
-
Method Summary
Modifier and TypeMethodDescriptionstatic EventBusProps.Builder
builder()
default IQueue
Dead-letter queue for the event bus.default String
The event bus description.default String
The name of the event bus you are creating Note: If 'eventSourceName' is passed in, you cannot set this.default String
The partner event source to associate with this event bus resource Note: If 'eventBusName' is passed in, you cannot set this.default IKey
The customer managed key that encrypt events on this event 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
-
builder
- Returns:
- a
EventBusProps.Builder
ofEventBusProps
-