We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 237534d commit 4d0258fCopy full SHA for 4d0258f
packages/aws-cdk-lib/aws-sns/README.md
@@ -121,11 +121,13 @@ declare const fn: lambda.Function;
121
122
// Lambda should receive only message matching the following conditions on message body:
123
// color: 'red' or 'orange'
124
+// store: attribute must not be present
125
myTopic.addSubscription(new subscriptions.LambdaSubscription(fn, {
126
filterPolicyWithMessageBody: {
127
background: sns.FilterOrPolicy.policy({
128
color: sns.FilterOrPolicy.filter(sns.SubscriptionFilter.stringFilter({
129
allowlist: ['red', 'orange'],
130
+ store: sns.SubscriptionFilter.existsFilter(false),
131
})),
132
}),
133
},
0 commit comments