EventBridgeDestination

class aws_cdk.aws_lambda_destinations.EventBridgeDestination(event_bus=None)

Bases: object

Use an Event Bridge event bus as a Lambda destination.

If no event bus is specified, the default event bus is used.

__init__(event_bus=None)
Parameters

event_bus (Optional[IEventBus]) –

default :default: - use the default event bus

Return type

None

Methods

bind(_scope, fn, *, type)

Returns a destination configuration.

Parameters
Return type

DestinationConfig