EventBusReference

class aws_cdk.aws_events.EventBusReference(*, event_bus_arn, event_bus_name)

Bases: object

A reference to a EventBus resource.

Parameters:
  • event_bus_arn (str) – The ARN of the EventBus resource.

  • event_bus_name (str) – The Name of the EventBus resource.

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_events as events

event_bus_reference = events.EventBusReference(
    event_bus_arn="eventBusArn",
    event_bus_name="eventBusName"
)

Attributes

event_bus_arn

The ARN of the EventBus resource.

event_bus_name

The Name of the EventBus resource.