CloudWatch Synthetics Canary
Headless browser / API probe that runs on a schedule.
Configuration
Section titled “Configuration”| Setting | Type | Required | Default |
|---|---|---|---|
| Canary name | Text | Yes | — |
| Artifact S3 location | Text | Yes | — |
| Execution role ARN | Text | Yes | — |
| Handler | Text | Yes | index.handler |
| Runtime Options: Node.js Puppeteer 9, Python Selenium 3 | Choice | — | syn-nodejs-puppeteer-9.0 |
| Schedule expression | Text | — | rate(5 minutes) |
| Schedule duration (s) | Number | — | 0 |
| Run timeout (s) | Number | — | 60 |
| Run memory (MB) | Number | — | 1000 |
| Active tracing | Toggle | — | false |
| Success retention (days) | Number | — | 31 |
| Failure retention (days) | Number | — | 31 |
| Start canary on apply | Toggle | — | true |
| Delete underlying Lambda on destroy | Toggle | — | false |
| Tags | Key–value | — | — |
Connections
Section titled “Connections”| Socket | Direction | Accepts | Terraform arg |
|---|---|---|---|
| Execution role | Input | aws.iam-role | execution_role_arn |
| Alarms | Output | aws.cloudwatch-alarm | — |