Posted On: Nov 16, 2020
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.
Canaries are modular, lightweight scripts that you can configure to run on a schedule in order to monitor your endpoints and APIs from the outside-in. With this release, you can now use environment variables to extend a single canary script to create multiple canaries with different values. For example, if you have endpoints such as prod, dev, and pre-release for the different stages of your software development and you need to create canaries to test each of these endpoints, you can use this new functionality to write a single canary script that tests your application and then specify different values for the endpoint environment variable to create each of the three canaries.
This feature is available in the following Regions: US East (N. Virginia), US East (Ohio), US West (N. California), US West (Oregon), Africa (Cape Town), Asia Pacific (Hong Kong), Asia Pacific (Mumbai), Asia Pacific (Seoul), Asia Pacific (Singapore), Asia Pacific (Sydney), Asia Pacific (Tokyo), Canada (Central), Europe (Frankfurt), Europe (Ireland), Europe (London), Europe (Milan), Europe (Paris), Europe (Stockholm), Middle East (Bahrain), South America (São Paulo), AWS GovCloud (US-East), and AWS GovCloud (US-West).
To learn more about this feature, see the CloudWatch Synthetics documentation. For pricing, refer to Amazon CloudWatch pricing.