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.

Files for cdk-datadog-integration, version 1.0.1
Filename, size File type Python version Upload date Hashes
Filename, size cdk_datadog_integration-1.0.1-py3-none-any.whl (41.0 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size cdk-datadog-integration-1.0.1.tar.gz (42.1 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page