@queues

Define SQS topics with Lambda handler functions.

Syntax

  • Lower + upper case alphanumeric string
  • Maximum of 240 characters
  • Dashes, periods, and underscores are allowed
  • Must begin with a letter

Example

This app.arc file defines two @queues:

arc
@app
myapp

@queues
convert-image
publish-log
json
{
  "app": "myapp",
  "queues": [
    "convert-image",
    "publish-log"
  ]
}
yaml
---
app: myapp
queues:
- convert-image
- publish-log

Which generates the corresponding code:

/
├── queues
│   ├── convert-image/
│   └── publish-log/
└── app.arc