@Generated(value="jsii-pacmak/1.15.0 (build 585166b)", date="2021-01-12T21:08:35.610Z") @Stability(value=Stable) public class SqsEventSource extends software.amazon.jsii.JsiiObject implements IEventSource
| Modifier and Type | Class and Description |
|---|---|
static class |
SqsEventSource.Builder
A fluent builder for
SqsEventSource. |
software.amazon.jsii.JsiiObject.InitializationModeIEventSource.Jsii$Default, IEventSource.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
|
SqsEventSource(IQueue queue) |
|
SqsEventSource(IQueue queue,
SqsEventSourceProps props) |
protected |
SqsEventSource(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
SqsEventSource(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
void |
bind(IFunction target)
Called by `lambda.addEventSource` to allow the event source to bind to this function.
|
String |
getEventSourceMappingId()
The identifier for this EventSourceMapping.
|
IQueue |
getQueue() |
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetprotected SqsEventSource(software.amazon.jsii.JsiiObjectRef objRef)
protected SqsEventSource(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
public SqsEventSource(@NotNull
IQueue queue,
@Nullable
SqsEventSourceProps props)
queue - This parameter is required.props - @Stability(value=Stable)
public SqsEventSource(@NotNull
IQueue queue)
queue - This parameter is required.@Stability(value=Stable)
public void bind(@NotNull
IFunction target)
bind in interface IEventSourcetarget - This parameter is required.@Stability(value=Stable) @NotNull public String getEventSourceMappingId()
@Stability(value=Stable) @NotNull public IQueue getQueue()
Copyright © 2021. All rights reserved.