aws-cdk-datadog-ecs-integration
TypeScript icon, indicating that this package has built-in type declarations

0.2.2 • Public • Published

Fargate service with Datadog integration

Version npm

Provides an easy way to integrate Datadog agent to your ECS EC2 or Fargate task definition.

Usage

npm install --save-dev aws-cdk-datadog-ecs-integration

  import { DatadogFargateIntegration } from 'aws-cdk-datadog-ecs-integration';
 
  const stack = new cdk.Stack();
  const taskDefinition = new ecs.TaskDefinition(stack, 'TaskDefinition', {
    compatibility: ecs.Compatibility.FARGATE,
    memoryMiB: '2048',
    cpu: '2048',
  });
 
  // Include Datadog with the specific API key
  new DatadogFargateIntegration(stack, 'Service', taskDefinition, {
    datadogApiKey: '/path/to/DatadogApiKey'
  });

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
0.2.20latest

Version History

VersionDownloads (Last 7 Days)Published
0.2.20
0.2.10
0.2.00
0.1.10
0.1.00

Package Sidebar

Install

npm i aws-cdk-datadog-ecs-integration

Weekly Downloads

0

Version

0.2.2

License

MIT

Unpacked Size

68.4 kB

Total Files

17

Last publish

Collaborators

  • markusl