Skip to content

Commit 6c0eb9d

Browse files
committed
fix code examples in readme
1 parent 0f02725 commit 6c0eb9d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/aws-cdk-lib/aws-sns/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ myTopic.addSubscription(new subscriptions.LambdaSubscription(fn, {
129129
allowlist: ['red', 'orange'],
130130
})),
131131
}),
132-
store: sns.SubscriptionFilter.notExistsFilter(),
132+
store: sns.FilterOrPolicy.filter(sns.SubscriptionFilter.notExistsFilter()),
133133
},
134134
}));
135135
```

0 commit comments

Comments
 (0)