@queues
Define SQS topics with Lambda handler functions.
Syntax
- Lowercase alphanumeric string
- Maximum of 50 characters
- Dashes are allowed; underscores are not 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"
]
}
toml
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