EventBusProps¶
-
class
aws_cdk.aws_events.
EventBusProps
(*, event_bus_name=None, event_source_name=None)¶ Bases:
object
Properties to define an event bus.
- Parameters
event_bus_name (
Optional
[str
]) – The name of the event bus you are creating Note: If ‘eventSourceName’ is passed in, you cannot set this. Default: - automatically generated nameevent_source_name (
Optional
[str
]) – 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
Attributes
-
event_bus_name
¶ If ‘eventSourceName’ is passed in, you cannot set this.
- Default
automatically generated name
- Link
- Type
The name of the event bus you are creating Note
- Return type
Optional
[str
]
-
event_source_name
¶ If ‘eventBusName’ is passed in, you cannot set this.
- Default
no partner event source
- Link
- Type
The partner event source to associate with this event bus resource Note
- Return type
Optional
[str
]