Show / Hide Table of Contents

Class EventBridgeDestination

Use an Event Bridge event bus as a Lambda destination.

Inheritance
object
EventBridgeDestination
Implements
IDestination
Namespace: Amazon.CDK.AWS.Lambda.Destinations
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class EventBridgeDestination : DeputyBase, IDestination
Syntax (vb)
Public Class EventBridgeDestination Inherits DeputyBase Implements IDestination
Remarks

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

ExampleMetadata: fixture=_generated

Examples
// The code below shows an example of how to instantiate this type.
             // The values are placeholders you should change.
             using Amazon.CDK.AWS.Events;
             using Amazon.CDK.AWS.Lambda.Destinations;

             EventBus eventBus;

             var eventBridgeDestination = new EventBridgeDestination(eventBus);

Synopsis

Constructors

EventBridgeDestination(IEventBus?)

Use an Event Bridge event bus as a Lambda destination.

Methods

Bind(Construct, IFunction, IDestinationOptions?)

Returns a destination configuration.

Constructors

EventBridgeDestination(IEventBus?)

Use an Event Bridge event bus as a Lambda destination.

public EventBridgeDestination(IEventBus? eventBus = null)
Parameters
eventBus IEventBus
Remarks

Default: - use the default event bus

Methods

Bind(Construct, IFunction, IDestinationOptions?)

Returns a destination configuration.

public virtual IDestinationConfig Bind(Construct scope, IFunction fn, IDestinationOptions? options = null)
Parameters
scope Construct
fn IFunction
options IDestinationOptions
Returns

IDestinationConfig

Remarks

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

ExampleMetadata: fixture=_generated

Implements

IDestination
Back to top Generated by DocFX