Skip to content

Latest commit

 

History

History
24 lines (19 loc) · 825 Bytes

add-sns-event-source.md

File metadata and controls

24 lines (19 loc) · 825 Bytes

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