cdk-datadog-integration
Project description
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
Or via pypi, NuGet, or GitHub Packages.
-
Import the stack and pass the required parameters.
# Example automatically generated without compilation. See https://github.com/aws/jsii/issues/826 import aws_cdk.core as cdk import aws_cdk.aws_secretsmanager as secrets from cdk_datadog_integration import DatadogIntegrationStack app = cdk.App() DatadogIntegrationStack(app, "DatadogIntegration", # Generate an ID here: https://app.datadoghq.com/account/settings#integrations/amazon-web-services external_id="", # Create or lookup a `Secret` that contains your Datadog API Key # Get your API key here: https://app.datadoghq.com/account/settings#api api_key=secrets.Secret.from_secret_arn(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.
Additionally, a CDK Construct
is exposed, should you want to add additional
customizations vs. using the out-of-the-box Stack
.
CDK Version Compatibility
This package is expected to work with all recent versions of CDK v1. It has been tested with 1.55.0 so almost certainly works will all newer versions, and probably works with some older versions too, but is untested.
How it Works
This module uses the
CfnStack
CDK Construct
to import the three CloudFormation stacks referenced by the
main Datadog CloudFormation template.
By referencing the Datadog-provided templates, you can be confident that the
integration works exactly as Datadog intends.
Author
This package is created and maintained by Ben Limmer, a freelance architect and consultant. I love helping businesses of all sizes solve their hardest technology problems. Let's connect if I can be of help!
Contributing
PRs are welcome!
Releasing
To release, use npm version
and push the tag.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for cdk-datadog-integration-1.3.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 26ad704fcb49c524677b8bb713c50c39cf6222f1248ea91f05d0b42e55495e89 |
|
MD5 | 5cb82ffe7dc3fd03693c3cafe0b45feb |
|
BLAKE2b-256 | 1b5b50442b2c0316e69d49bb7817d0dc5515a0a09b41ac134eedbfc5c3b8e2ef |
Hashes for cdk_datadog_integration-1.3.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e5ab312cdb35bf9cebc30cdea768c443757894bf064b01c064a52c7d57074843 |
|
MD5 | fa172e603e6d554ecd588fdf5db1b4ee |
|
BLAKE2b-256 | 516450513d65f42daebdb75c26007b648232855b41995384891242d34b166e61 |