Class EventBridgeDestination
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.lambda.destinations.EventBridgeDestination
- All Implemented Interfaces:
IDestination
,software.amazon.jsii.JsiiSerializable
@Generated(value="jsii-pacmak/1.103.1 (build bef2dea)",
date="2024-09-18T22:16:58.643Z")
@Stability(Stable)
public class EventBridgeDestination
extends software.amazon.jsii.JsiiObject
implements IDestination
Use an Event Bridge event bus as a Lambda destination.
If no event bus is specified, the default event bus is used.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.events.*; import software.amazon.awscdk.services.lambda.destinations.*; EventBus eventBus; EventBridgeDestination eventBridgeDestination = new EventBridgeDestination(eventBus);
-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.amazon.awscdk.services.lambda.IDestination
IDestination.Jsii$Default, IDestination.Jsii$Proxy
-
Constructor Summary
ModifierConstructorDescriptionDefault: - use the default event busEventBridgeDestination
(IEventBus eventBus) Default: - use the default event busprotected
EventBridgeDestination
(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protected
EventBridgeDestination
(software.amazon.jsii.JsiiObjectRef objRef) -
Method Summary
Modifier and TypeMethodDescriptionReturns a destination configuration.bind
(software.constructs.Construct _scope, IFunction fn, DestinationOptions _options) Returns a destination configuration.Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Constructor Details
-
EventBridgeDestination
protected EventBridgeDestination(software.amazon.jsii.JsiiObjectRef objRef) -
EventBridgeDestination
protected EventBridgeDestination(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
EventBridgeDestination
Default: - use the default event bus- Parameters:
eventBus
-
-
EventBridgeDestination
@Stability(Stable) public EventBridgeDestination()Default: - use the default event bus
-
-
Method Details
-
bind
@Stability(Stable) @NotNull public DestinationConfig bind(@NotNull software.constructs.Construct _scope, @NotNull IFunction fn, @Nullable DestinationOptions _options) Returns a destination configuration.- Specified by:
bind
in interfaceIDestination
- Parameters:
_scope
- This parameter is required.fn
- This parameter is required._options
-
-
bind
@Stability(Stable) @NotNull public DestinationConfig bind(@NotNull software.constructs.Construct _scope, @NotNull IFunction fn) Returns a destination configuration.- Specified by:
bind
in interfaceIDestination
- Parameters:
_scope
- This parameter is required.fn
- This parameter is required.
-