Skip to content
Permalink
master
Switch branches/tags
Go to file
 
 
Cannot retrieve contributors at this time

add-sns-event-source

Add a notification event to Lambda when a message is published on a SNS topic

Usage

claudia add-sns-event-source {OPTIONS}

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