Class EventBridgeDestination
Use an Event Bridge event bus as a Lambda destination.
Inheritance
System.Object
EventBridgeDestination
Implements
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) | |
EventBridgeDestination(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
EventBridgeDestination(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
Methods
Bind(Construct, IFunction, IDestinationOptions) | Returns a destination configuration. |
Constructors
EventBridgeDestination(IEventBus)
public EventBridgeDestination(IEventBus eventBus = null)
Parameters
- eventBus IEventBus
Remarks
Default: - use the default event bus
EventBridgeDestination(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected EventBridgeDestination(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
EventBridgeDestination(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected EventBridgeDestination(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
Methods
Bind(Construct, IFunction, IDestinationOptions)
Returns a destination configuration.
public virtual IDestinationConfig Bind(Construct scope, IFunction fn, IDestinationOptions options = null)
Parameters
- scope Constructs.Construct
- fn IFunction
- options IDestinationOptions
Returns