@Generated(value="jsii-pacmak/1.74.0 (build 6d08790)", date="2023-03-08T16:00:34.522Z") @Stability(value=Stable) public class EventBridgeDestination extends software.amazon.jsii.JsiiObject implements IDestination
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);
software.amazon.jsii.JsiiObject.InitializationModeIDestination.Jsii$Default, IDestination.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
|
EventBridgeDestination()
Default: - use the default event bus
|
|
EventBridgeDestination(IEventBus eventBus)
Default: - use the default event bus
|
protected |
EventBridgeDestination(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
EventBridgeDestination(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
DestinationConfig |
bind(Construct _scope,
IFunction fn)
Returns a destination configuration.
|
DestinationConfig |
bind(Construct _scope,
IFunction fn,
DestinationOptions _options)
Returns a destination configuration.
|
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetprotected EventBridgeDestination(software.amazon.jsii.JsiiObjectRef objRef)
protected EventBridgeDestination(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
public EventBridgeDestination(@Nullable
IEventBus eventBus)
eventBus - @Stability(value=Stable) public EventBridgeDestination()
@Stability(value=Stable) @NotNull public DestinationConfig bind(@NotNull Construct _scope, @NotNull IFunction fn, @Nullable DestinationOptions _options)
bind in interface IDestination_scope - This parameter is required.fn - This parameter is required._options - @Stability(value=Stable) @NotNull public DestinationConfig bind(@NotNull Construct _scope, @NotNull IFunction fn)
bind in interface IDestination_scope - This parameter is required.fn - This parameter is required.Copyright © 2023. All rights reserved.