Skip to main content

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

  1. Install the package
npm i --save cdk-datadog-integration
  1. 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.

Contributing

PRs are welcome!

Releasing

To release, use npm version and push the tag.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cdk-datadog-integration-1.0.0.tar.gz (42.0 kB view hashes)

Uploaded Source

Built Distribution

cdk_datadog_integration-1.0.0-py3-none-any.whl (41.0 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page