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 name

  • event_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

https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-events-eventbus.html#cfn-events-eventbus-name

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

https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-events-eventbus.html#cfn-events-eventbus-eventsourcename

Type

The partner event source to associate with this event bus resource Note

Return type

Optional[str]