-
Notifications
You must be signed in to change notification settings - Fork 3.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[aws-sns] SNS FIFO #11127
Comments
+1, really waiting for this. |
Is it just a documentation issue? Does that mean that I can build SNS FIFO already? |
Since FIFO Topic support has been added to Cloudformation already, and aws-sns already contain a Topic construct - you can use the cdk escape hatch approach and add raw property overrides to create an SNS fifo topic. That way you can have FIFO Topics created from CDK now, without waiting for a cdk release that includes it directly. I made a small helper method like this (typescript) - note we have a naming convention in our team so FIFO topics and queues end with .fifo - I'm not completely sure if that is actually needed:
Which called like this Will result in an SNS::Topic template like this:
See - https://docs.aws.amazon.com/sns/latest/dg/fifo-topic-code-examples.html |
@frjtrifork thank you, that was very helpful! |
It seems there is a bug in CloudFormation, the TopicName with the .fifo ending should be created correctly from CloudFormation, but this does not happen currently. That's why @frjtrifork uses fix name with .fifo ending probably? |
Hello, I'm opening a PR now to support content-based deduplication and FIFO topics using the |
Any idea when would it be released after merging PR? This is a super needed feature. |
|
When can we expect sns cdk to support FIFO? https://docs.aws.amazon.com/cdk/api/latest/docs/aws-sns-readme.html
This is a 📕 documentation issue
The text was updated successfully, but these errors were encountered: