@Generated(value="jsii-pacmak/1.30.0 (build adae23f)", date="2021-06-30T10:01:21.568Z") @Stability(value=Experimental) public class SnsEventSource extends software.amazon.jsii.JsiiObject implements IEventSource
| Modifier and Type | Class and Description |
|---|---|
static class |
SnsEventSource.Builder
(experimental) A fluent builder for
SnsEventSource. |
software.amazon.jsii.JsiiObject.InitializationModeIEventSource.Jsii$Default, IEventSource.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
|
SnsEventSource(ITopic topic) |
|
SnsEventSource(ITopic topic,
SnsEventSourceProps props) |
protected |
SnsEventSource(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
SnsEventSource(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
void |
bind(IFunction target)
(experimental) Called by `lambda.addEventSource` to allow the event source to bind to this function.
|
ITopic |
getTopic() |
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetprotected SnsEventSource(software.amazon.jsii.JsiiObjectRef objRef)
protected SnsEventSource(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Experimental)
public SnsEventSource(@NotNull
ITopic topic,
@Nullable
SnsEventSourceProps props)
topic - This parameter is required.props - @Stability(value=Experimental)
public SnsEventSource(@NotNull
ITopic topic)
topic - This parameter is required.@Stability(value=Experimental)
public void bind(@NotNull
IFunction target)
bind in interface IEventSourcetarget - This parameter is required.@Stability(value=Experimental) @NotNull public ITopic getTopic()
Copyright © 2021. All rights reserved.