@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:40.493Z") @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(software.constructs.Construct _scope,
IFunction fn)
Returns a destination configuration.
|
DestinationConfig |
bind(software.constructs.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 software.constructs.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 software.constructs.Construct _scope, @NotNull IFunction fn)
bind in interface IDestination_scope - This parameter is required.fn - This parameter is required.Copyright © 2022. All rights reserved.