x-sns ¶
Module to manage SNS Topics that are going to be used by your services or other AWS Resources you define in the compose files.
x-sns syntax reference
¶
x-sns:
TopicA:
Properties: {}
Settings: {}
Services: {}
Properties ¶
Refer to AWS SNS Topic Documentation for SNS Topics
Lookup ¶
Lookup is currently implemented for SNS topics!
Examples ¶
Create new topics
¶
x-sns:
abcd:
Properties: {}
Services:
app01:
Access: Publish
youtoo:
Access: Publish
Create and Lookup SNS topics
¶
x-sns:
abcd:
Properties: {}
Services:
app01:
Access: Publish
youtoo:
Access: Publish
hello:
Lookup:
Tags:
- costcentre: lambda
- composexdev: 'yes'
Services:
app03:
Access: Publish
Tip
You can find the test files here to use as reference for your use-case.