AWS – Amazon CloudWatch Synthetics now supports Environment Variables
CloudWatch Synthetics now supports the use of environment variables with canaries. This allows you to save time by using a single canary script to create different canaries that have a similar task.
Read More for the details.