AWS CloudFormation gives you templates to describe, configure, and provision all of the AWS resources in your environment at once. The Datadog-AWS CloudFormation Resources allow you to interact with the supported Datadog resources, send resources to any Datadog datacenter, and privately register an extension in any region with Datadog resources.
To access these resources, use the AWS Management Console (UI) or the AWS Command Line Interface (CLI).
Select “Public extensions” from the left hand pane and filter Publisher by “Third Party”.
Use the search bar to filter by the “Datadog” prefix.
Note: All official Datadog resources begin with Datadog:: and specify that they are Published by Datadog.
Select the desired resource name to view more information about its schema, and click Activate.
On the Extension details page, specify:
Extension name
Execution role ARN
Automatic updates for minor version releases
Configuration
For the resource configuration, it is strongly recommended to use AWS Secrets Manager or similar service for storing your Datadog API and Application keys instead of clear text.
If using AWS Secrets Manager, you can dynamically reference your API and Application keys in the configuration. For more information, see the AWS documentation.
Specify the ApiURL if you are using an account in a region other than US1. For example, use https://api.datadoghq.eu for an account in the EU region or https://api.us5.datadoghq.com/ for an account in the US5 region.
After you have configured your resource, create your AWS stack that includes any of the activated Datadog resources.
For more information about available commands and workflows, see the official AWS documentation.