Add a notification event to Lambda when a message is published on a SNS topic
claudia add-sns-event-source {OPTIONS}
--topic
: the ARN of the SNS topic--version
: (optional) Bind to a particular version- For example: production
- Defaults to: latest version
--source
: (optional) Directory with project files- Defaults to: current directory
--config
: (optional) Config file containing the resource names- Defaults to: claudia.json
--filter-policy
: (optional) JSON filter policy for the subscription- For example: {"payment-type": ["card"]}
--filter-policy-file
: (optional) name of a file containing the JSON filter policy for the subscription- For example: sns-filter-policy.json