Interface SnsEventSourceProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
,LambdaSubscriptionProps
,SubscriptionProps
- All Known Implementing Classes:
SnsEventSourceProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2024-11-22T02:24:04.025Z")
@Stability(Stable)
public interface SnsEventSourceProps
extends software.amazon.jsii.JsiiSerializable, LambdaSubscriptionProps
Properties forwarded to the Lambda Subscription.
Example:
import software.amazon.awscdk.services.sns.*; import software.amazon.awscdk.services.lambda.eventsources.SnsEventSource; Topic topic; Function fn; Queue deadLetterQueue = new Queue(this, "deadLetterQueue"); fn.addEventSource(SnsEventSource.Builder.create(topic) .filterPolicy(Map.of()) .deadLetterQueue(deadLetterQueue) .build());
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forSnsEventSourceProps
static final class
An implementation forSnsEventSourceProps
-
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
Methods inherited from interface software.amazon.awscdk.services.sns.subscriptions.SubscriptionProps
getDeadLetterQueue, getFilterPolicy, getFilterPolicyWithMessageBody
-
Method Details
-
builder
- Returns:
- a
SnsEventSourceProps.Builder
ofSnsEventSourceProps
-