AWS Cloud Development Kit (CDK) Datadog Integration
This construct makes it easy to integrate your AWS account with Datadog. It
creates nested stacks based on the official
Datadog Cloudformation templates
using Amazon Cloud Development Kit (CDK).
Basic Usage
- Install the package
npm i --save cdk-datadog-integration
- Import the stack and pass the required parameters.
import * as cdk from "@aws-cdk/core";
import * as secrets from "@aws-cdk/aws-secretsmanager";
import { DatadogIntegrationStack } from "cdk-datadog-integration";
const app = new cdk.App();
new DatadogIntegrationStack(app, "DatadogIntegration", {
externalId: "",
apiKey: secrets.Secret.fromSecretArn(
app,
"DatadogApiKey",
"arn:aws:secretsmanager:<your region>:<your account>:secret:<your secret name>"
),
});
Configuration
Use DatadogIntegrationConfig
to set additional configuration parameters.
Check out docs
for more details on what's available.
Contributing
PRs are welcome!
Releasing
To release, use npm version
and push the tag.