@Generated(value="jsii-pacmak/1.15.0 (build 585166b)", date="2021-01-12T21:08:35.607Z") @Stability(value=Stable) public class ApiEventSource extends software.amazon.jsii.JsiiObject implements IEventSource
software.amazon.jsii.JsiiObject.InitializationModeIEventSource.Jsii$Default, IEventSource.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
ApiEventSource(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
ApiEventSource(software.amazon.jsii.JsiiObjectRef objRef) |
|
ApiEventSource(String method,
String path) |
|
ApiEventSource(String method,
String path,
MethodOptions options) |
| Modifier and Type | Method and Description |
|---|---|
void |
bind(IFunction target)
Called by `lambda.addEventSource` to allow the event source to bind to this function.
|
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetprotected ApiEventSource(software.amazon.jsii.JsiiObjectRef objRef)
protected ApiEventSource(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
public ApiEventSource(@NotNull
String method,
@NotNull
String path,
@Nullable
MethodOptions options)
method - This parameter is required.path - This parameter is required.options - @Stability(value=Stable)
public void bind(@NotNull
IFunction target)
bind in interface IEventSourcetarget - This parameter is required.Copyright © 2021. All rights reserved.