🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Sign inDemoInstall
Socket

@goodnotes-oss/cdk-datadog-resources

Package Overview
Dependencies
Maintainers
0
Versions
330
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@goodnotes-oss/cdk-datadog-resources

[![npm version](https://badge.fury.io/js/%40goodnotes-oss%2Fcdk-datadog-resources.svg)](https://badge.fury.io/js/%goodnotes-oss%2Fcdk-datadog-resources)

0.0.332
latest
Source
npm
Version published
Weekly downloads
3K
-14.62%
Maintainers
0
Weekly downloads
 
Created
Source

AWS CDK Datadog Resources

npm version

An AWS CDK construct library that wraps DataDog/datadog-cloudformation-resources.

Requirements

Before using this library, register datadog-cloudformation-resources to your AWS account.

You need to register the correct version listed in Supported Resources.

Supported CDK Languages

  • TypeScript
  • Python. Not currently supported
  • Java Sorry, there is a problem with the release. (#22)

Supported Resources

Supported?ResourceDatadog CF Resource NameDescriptionDatadog CF Version
DashboardsDatadog::Dashboards::DashboardCreate, update, and delete Datadog dashboards.2.1.0
MonitorsDatadog::Monitors::MonitorCreate, update, and delete Datadog monitors.4.6.0
SLOsDatadog::SLOs::SLOCreate, update, and delete Datadog SLOs.1.1.0

Installation

TypeScript

npm install @goodnotes-oss/cdk-datadog-resources

Usage

Below are examples of TypeScript. Credentials are not required because that is configured at CFN extension level Check requirements

Monitors

import { DatadogMonitor } from '@goodnotes-oss/cdk-datadog-resources';

new DatadogMonitor(yourStack, 'TestMonitor', {
  query: 'avg(last_1h):sum:system.cpu.system{host:host0} > 100',
  type: MonitorType.QUERY_ALERT,
  name: 'Test Monitor',
  options: {
    thresholds: {
      critical: 100,
      warning: 80,
      oK: 90,
    },
    notifyNoData: true,
    evaluationDelay: 60,
  },
});

Fork

This is a fork of https://github.com/NomadBlacky/cdk-datadog-resources, which is currently unmaintained.

Notes

Keywords

cdk

FAQs

Package last updated on 02 Sep 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts