Skip to content

Latest commit

 

History

History
31 lines (26 loc) · 1.06 KB

add-sqs-event-source.md

File metadata and controls

31 lines (26 loc) · 1.06 KB

add-sqs-event-source

Set up SQS event triggers

Usage

claudia add-sqs-event-source {OPTIONS}

Options

  • --queue: SQS Queue name or ARN
    • For example: analytics-events
  • --batch-size: (optional) The batch size for the Lambda event source mapping
    • For example: 2
    • Defaults to: 10
  • --skip-iam: (optional) Do not try to modify the IAM role for Lambda to allow SQS execution
    • For example: true
  • --version: (optional) Alias or numerical version of the lambda function to execute the trigger
    • For example: production
  • --source: (optional) Directory with project files
    • Defaults to: current directory
  • --config: (optional) Config file containing the resource names
    • Defaults to: claudia.json
  • --aws-delay: (optional) number of milliseconds betweeen retrying AWS operations if they fail
    • For example: 3000
    • Defaults to: 5000
  • --aws-retries: (optional) number of times to retry AWS operations if they fail
    • For example: 15
    • Defaults to: 15