Socket
Socket
Sign inDemoInstall

@aws-cdk/aws-cloudwatch

Package Overview
Dependencies
Maintainers
5
Versions
288
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@aws-cdk/aws-cloudwatch - npm Package Compare versions

Comparing version 0.39.0 to 1.0.0

22

package.json
{
"name": "@aws-cdk/aws-cloudwatch",
"version": "0.39.0",
"version": "1.0.0",
"description": "CDK Constructs for AWS CloudWatch",

@@ -68,16 +68,16 @@ "main": "lib/index.js",

"devDependencies": {
"@aws-cdk/assert": "^0.39.0",
"cdk-build-tools": "^0.39.0",
"cdk-integ-tools": "^0.39.0",
"cfn2ts": "^0.39.0",
"pkglint": "^0.39.0"
"@aws-cdk/assert": "^1.0.0",
"cdk-build-tools": "^1.0.0",
"cdk-integ-tools": "^1.0.0",
"cfn2ts": "^1.0.0",
"pkglint": "^1.0.0"
},
"dependencies": {
"@aws-cdk/aws-iam": "^0.39.0",
"@aws-cdk/core": "^0.39.0"
"@aws-cdk/aws-iam": "^1.0.0",
"@aws-cdk/core": "^1.0.0"
},
"homepage": "https://github.com/awslabs/aws-cdk",
"peerDependencies": {
"@aws-cdk/aws-iam": "^0.39.0",
"@aws-cdk/core": "^0.39.0"
"@aws-cdk/aws-iam": "^1.0.0",
"@aws-cdk/core": "^1.0.0"
},

@@ -94,2 +94,2 @@ "awslint": {

"stability": "stable"
}
}

@@ -8,4 +8,2 @@ ## Amazon CloudWatch Construct Library

> **This is a _developer preview_ (public beta) module. Releases might lack important features and might have
> future breaking changes.**

@@ -47,3 +45,3 @@ ---

statistic: 'avg',
periodSec: 60,
period: Duration.minutes(1),
label: 'Lambda failure rate'

@@ -88,6 +86,6 @@ });

Alternatively, you can call `metric.newAlarm()`:
Alternatively, you can call `metric.createAlarm()`:
```ts
fn.metricErrors().newAlarm(this, 'Alarm', {
fn.metricErrors().createAlarm(this, 'Alarm', {
threshold: 100,

@@ -126,3 +124,3 @@ evaluationPeriods: 2,

```ts
dashboard.add(new GraphWidget({
dashboard.addWidgets(new GraphWidget({
title: "Executions vs error rate",

@@ -145,3 +143,3 @@

```ts
dashboard.add(new AlarmWidget({
dashboard.addWidgets(new AlarmWidget({
title: "Errors",

@@ -158,3 +156,3 @@ alarm: errorAlarm,

```ts
dashboard.add(new SingleValueWidget({
dashboard.addWidgets(new SingleValueWidget({
metrics: [visitorCount, purchaseCount],

@@ -170,3 +168,3 @@ }));

```ts
dashboard.add(new TextWidget({
dashboard.addWidgets(new TextWidget({
markdown: '# Key Performance Indicators'

@@ -173,0 +171,0 @@ }));

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc