Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@aws-cdk/aws-cloudwatch

Package Overview
Dependencies
Maintainers
4
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.20.0 to 0.21.0

4

lib/alarm.js

@@ -51,3 +51,3 @@ "use strict";

const comparisonOperator = props.comparisonOperator || ComparisonOperator.GreaterThanOrEqualToThreshold;
const alarm = new cloudwatch_generated_1.cloudformation.AlarmResource(this, 'Resource', Object.assign({
const alarm = new cloudwatch_generated_1.CfnAlarm(this, 'Resource', Object.assign({
// Meta

@@ -155,2 +155,2 @@ alarmDescription: props.alarmDescription, alarmName: props.alarmName,

}
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWxhcm0uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJhbGFybS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOztBQUFBLHNDQUFnRDtBQUNoRCxpRUFBd0Q7QUFHeEQscURBQWtEO0FBb0VsRDs7R0FFRztBQUNILElBQVksa0JBS1g7QUFMRCxXQUFZLGtCQUFrQjtJQUM1QixxRkFBK0QsQ0FBQTtJQUMvRCxtRUFBNkMsQ0FBQTtJQUM3Qyw2REFBdUMsQ0FBQTtJQUN2QywrRUFBeUQsQ0FBQTtBQUMzRCxDQUFDLEVBTFcsa0JBQWtCLEdBQWxCLDBCQUFrQixLQUFsQiwwQkFBa0IsUUFLN0I7QUFFRCxNQUFNLGdCQUFnQixHQUE0QjtJQUNoRCw2QkFBNkIsRUFBRSxJQUFJO0lBQ25DLG9CQUFvQixFQUFFLEdBQUc7SUFDekIsaUJBQWlCLEVBQUUsR0FBRztJQUN0QiwwQkFBMEIsRUFBRSxJQUFJO0NBQ2pDLENBQUM7QUFFRjs7R0FFRztBQUNILElBQVksZ0JBb0JY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uLyoqXG4gKiBQcm9wZXJ0aWVzIHVzZWQgdG8gY29uc3RydWN0IHRoZSBNZXRyaWMgaWRlbnRpZnlpbmcgcGFydCBvZiBhbiBBbGFybVxuICovXG5leHBvcnQgaW50ZXJmYWNlIEFsYXJtTWV0cmljSnNvbiB7XG4gIC8qKlxuICAgKiBUaGUgZGltZW5zaW9ucyB0byBhcHBseSB0byB0aGUgYWxhcm1cbiAgICovXG4gIGRpbWVuc2lvbnM/OiBEaW1lbnNpb25bXTtcblxuICAvKipcbiAgICogTmFtZXNwYWNlIG9mIHRoZSBtZXRyaWNcbiAgICovXG4gIG5hbWVzcGFjZTogc3RyaW5nO1xuXG4gIC8qKlxuICAgKiBOYW1lIG9mIHRoZSBtZXRyaWNcbiAgICovXG4gIG1ldHJpY05hbWU6IHN0cmluZztcblxuICAvKipcbiAgICogSG93IG1hbnkgc2Vjb25kcyB0byBhZ2dyZWdhdGUgb3ZlclxuICAgKi9cbiAgcGVyaW9kOiBudW1iZXI7XG5cbiAgLyoqXG4gICAqIFNpbXBsZSBhZ2dyZWdhdGlvbiBmdW5jdGlvbiB0byB1c2VcbiAgICovXG4gIHN0YXRpc3RpYz86IFN0YXRpc3RpYztcblxuICAvKipcbiAgICogUGVyY2VudGlsZSBhZ2dyZWdhdGlvbiBmdW5jdGlvbiB0byB1c2VcbiAgICovXG4gIGV4dGVuZGVkU3RhdGlzdGljPzogc3RyaW5nO1xuXG4gIC8qKlxuICAgKiBUaGUgdW5pdCBvZiB0aGUgYWxhcm1cbiAgICovXG4gIHVuaXQ/OiBVbml0O1xufVxuIl19
import cdk = require('@aws-cdk/cdk');
/**
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cw-alarm.html
*/
export interface CfnAlarmProps {
/**
* ``AWS::CloudWatch::Alarm.ComparisonOperator``
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cw-alarm.html#cfn-cloudwatch-alarms-comparisonoperator
*/
comparisonOperator: string | cdk.Token;
/**
* ``AWS::CloudWatch::Alarm.EvaluationPeriods``
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cw-alarm.html#cfn-cloudwatch-alarms-evaluationperiods
*/
evaluationPeriods: number | cdk.Token;
/**
* ``AWS::CloudWatch::Alarm.Threshold``
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cw-alarm.html#cfn-cloudwatch-alarms-threshold
*/
threshold: number | cdk.Token;
/**
* ``AWS::CloudWatch::Alarm.ActionsEnabled``
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cw-alarm.html#cfn-cloudwatch-alarms-actionsenabled
*/
actionsEnabled?: boolean | cdk.Token;
/**
* ``AWS::CloudWatch::Alarm.AlarmActions``
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cw-alarm.html#cfn-cloudwatch-alarms-alarmactions
*/
alarmActions?: Array<string | cdk.Token> | cdk.Token;
/**
* ``AWS::CloudWatch::Alarm.AlarmDescription``
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cw-alarm.html#cfn-cloudwatch-alarms-alarmdescription
*/
alarmDescription?: string | cdk.Token;
/**
* ``AWS::CloudWatch::Alarm.AlarmName``
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cw-alarm.html#cfn-cloudwatch-alarms-alarmname
*/
alarmName?: string | cdk.Token;
/**
* ``AWS::CloudWatch::Alarm.DatapointsToAlarm``
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cw-alarm.html#cfn-cloudwatch-alarm-datapointstoalarm
*/
datapointsToAlarm?: number | cdk.Token;
/**
* ``AWS::CloudWatch::Alarm.Dimensions``
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cw-alarm.html#cfn-cloudwatch-alarms-dimension
*/
dimensions?: Array<CfnAlarm.DimensionProperty | cdk.Token> | cdk.Token;
/**
* ``AWS::CloudWatch::Alarm.EvaluateLowSampleCountPercentile``
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cw-alarm.html#cfn-cloudwatch-alarms-evaluatelowsamplecountpercentile
*/
evaluateLowSampleCountPercentile?: string | cdk.Token;
/**
* ``AWS::CloudWatch::Alarm.ExtendedStatistic``
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cw-alarm.html#cfn-cloudwatch-alarms-extendedstatistic
*/
extendedStatistic?: string | cdk.Token;
/**
* ``AWS::CloudWatch::Alarm.InsufficientDataActions``
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cw-alarm.html#cfn-cloudwatch-alarms-insufficientdataactions
*/
insufficientDataActions?: Array<string | cdk.Token> | cdk.Token;
/**
* ``AWS::CloudWatch::Alarm.MetricName``
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cw-alarm.html#cfn-cloudwatch-alarms-metricname
*/
metricName?: string | cdk.Token;
/**
* ``AWS::CloudWatch::Alarm.Namespace``
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cw-alarm.html#cfn-cloudwatch-alarms-namespace
*/
namespace?: string | cdk.Token;
/**
* ``AWS::CloudWatch::Alarm.OKActions``
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cw-alarm.html#cfn-cloudwatch-alarms-okactions
*/
okActions?: Array<string | cdk.Token> | cdk.Token;
/**
* ``AWS::CloudWatch::Alarm.Period``
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cw-alarm.html#cfn-cloudwatch-alarms-period
*/
period?: number | cdk.Token;
/**
* ``AWS::CloudWatch::Alarm.Statistic``
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cw-alarm.html#cfn-cloudwatch-alarms-statistic
*/
statistic?: string | cdk.Token;
/**
* ``AWS::CloudWatch::Alarm.TreatMissingData``
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cw-alarm.html#cfn-cloudwatch-alarms-treatmissingdata
*/
treatMissingData?: string | cdk.Token;
/**
* ``AWS::CloudWatch::Alarm.Unit``
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cw-alarm.html#cfn-cloudwatch-alarms-unit
*/
unit?: string | cdk.Token;
}
/**
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cw-alarm.html
*/
export declare class CfnAlarm extends cdk.Resource {
/**
* The CloudFormation resource type name for this resource class.
*/
static readonly resourceTypeName = "AWS::CloudWatch::Alarm";
/**
* @cloudformation_attribute Arn
*/
readonly alarmArn: string;
readonly alarmName: string;
/**
* Creates a new ``AWS::CloudWatch::Alarm``.
*
* @param parent the ``cdk.Construct`` this ``CfnAlarm`` is a part of
* @param name the name of the resource in the ``cdk.Construct`` tree
* @param properties the properties of this ``CfnAlarm``
*/
constructor(parent: cdk.Construct, name: string, properties: CfnAlarmProps);
readonly propertyOverrides: CfnAlarmProps;
protected renderProperties(properties: any): {
[key: string]: any;
};
}
export declare namespace CfnAlarm {
/**
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cw-dimension.html
*/
interface DimensionProperty {
/**
* ``CfnAlarm.DimensionProperty.Name``
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cw-dimension.html#cfn-cloudwatch-alarm-dimension-name
*/
name: string | cdk.Token;
/**
* ``CfnAlarm.DimensionProperty.Value``
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cw-dimension.html#cfn-cloudwatch-alarm-dimension-value
*/
value: string | cdk.Token;
}
}
export declare namespace cloudformation {

@@ -104,2 +247,3 @@ /**

/**
* @deprecated "cloudformation.AlarmResource" will be deprecated in a future release in favor of "CfnAlarm" (see https://github.com/awslabs/aws-cdk/issues/878)
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cw-alarm.html

@@ -148,2 +292,39 @@ */

}
/**
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudwatch-dashboard.html
*/
export interface CfnDashboardProps {
/**
* ``AWS::CloudWatch::Dashboard.DashboardBody``
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudwatch-dashboard.html#cfn-cloudwatch-dashboard-dashboardbody
*/
dashboardBody: string | cdk.Token;
/**
* ``AWS::CloudWatch::Dashboard.DashboardName``
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudwatch-dashboard.html#cfn-cloudwatch-dashboard-dashboardname
*/
dashboardName?: string | cdk.Token;
}
/**
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudwatch-dashboard.html
*/
export declare class CfnDashboard extends cdk.Resource {
/**
* The CloudFormation resource type name for this resource class.
*/
static readonly resourceTypeName = "AWS::CloudWatch::Dashboard";
readonly dashboardName: string;
/**
* Creates a new ``AWS::CloudWatch::Dashboard``.
*
* @param parent the ``cdk.Construct`` this ``CfnDashboard`` is a part of
* @param name the name of the resource in the ``cdk.Construct`` tree
* @param properties the properties of this ``CfnDashboard``
*/
constructor(parent: cdk.Construct, name: string, properties: CfnDashboardProps);
readonly propertyOverrides: CfnDashboardProps;
protected renderProperties(properties: any): {
[key: string]: any;
};
}
export declare namespace cloudformation {

@@ -166,2 +347,3 @@ /**

/**
* @deprecated "cloudformation.DashboardResource" will be deprecated in a future release in favor of "CfnDashboard" (see https://github.com/awslabs/aws-cdk/issues/878)
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudwatch-dashboard.html

@@ -168,0 +350,0 @@ */

@@ -18,3 +18,3 @@ "use strict";

const dashboardName = (props && props.dashboardName) || new cdk_1.Token(() => this.generateDashboardName());
this.dashboard = new cloudwatch_generated_1.cloudformation.DashboardResource(this, 'Resource', {
this.dashboard = new cloudwatch_generated_1.CfnDashboard(this, 'Resource', {
dashboardName,

@@ -54,2 +54,2 @@ dashboardBody: new cdk_1.Token(() => {

exports.Dashboard = Dashboard;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGFzaGJvYXJkLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiZGFzaGJvYXJkLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7O0FBQUEsc0NBQTJFO0FBQzNFLGlFQUF3RDtBQUN4RCxxQ0FBdUM7QUFZdkM7O0dBRUc7QUFDSCxNQUFhLFNBQVUsU0FBUSxlQUFTO0lBSXRDLFlBQVksTUFBaUIsRUFBRSxJQUFZLEVBQUUsS0FBc0I7UUFDakUsS0FBSyxDQUFDLE1BQU0sRUFBRSxJQUFJLENBQUMsQ0FBQztRQUpMLFNBQUksR0FBYyxFQUFFLENBQUM7UUFNcEMsNkVBQTZFO1FBQzdFLDZFQUE2RTtRQUM3RSxvRUFBb0U7UUFDcEUscURBQXFEO1FBQ3JELE1BQU0sYUFBYSxHQUFHLENBQUMsS0FBSyxJQUFJLEtBQUssQ0FBQyxhQUFhLENBQUMsSUFBSSxJQUFJLFdBQUssQ0FBQyxHQUFHLEVBQUUsQ0FBQyxJQUFJLENBQUMscUJBQXFCLEVBQUUsQ0FBQyxDQUFDO1FBRXRHLElBQUksQ0FBQyxTQUFTLEdBQUcsSUFBSSxxQ0FBYyxDQUFDLGlCQUFpQixDQUFDLElBQUksRUFBRSxVQUFVLEVBQUU7WUFDdEUsYUFBYTtZQUNiLGFBQWEsRUFBRSxJQUFJLFdBQUssQ0FBQyxHQUFHLEVBQUU7Z0JBQzVCLE1BQU0sTUFBTSxHQUFHLElBQUksZUFBTSxDQUFDLEdBQUcsSUFBSSxDQUFDLElBQUksQ0FBQyxDQUFDO2dCQUN4QyxNQUFNLENBQUMsUUFBUSxDQU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Ym9hcmQuXG4gICAqXG4gICAqIFdpZGdldHMgZ2l2ZW4gaW4gbXVsdGlwbGUgY2FsbHMgdG8gYWRkKCkgd2lsbCBiZSBsYWlkIG91dCBzdGFja2VkIG9uXG4gICAqIHRvcCBvZiBlYWNoIG90aGVyLlxuICAgKlxuICAgKiBNdWx0aXBsZSB3aWRnZXRzIGFkZGVkIGluIHRoZSBzYW1lIGNhbGwgdG8gYWRkKCkgd2lsbCBiZSBsYWlkIG91dCBuZXh0XG4gICAqIHRvIGVhY2ggb3RoZXIuXG4gICAqL1xuICBwdWJsaWMgYWRkKC4uLndpZGdldHM6IElXaWRnZXRbXSkge1xuICAgIGlmICh3aWRnZXRzLmxlbmd0aCA9PT0gMCkge1xuICAgICAgcmV0dXJuO1xuICAgIH1cblxuICAgIGNvbnN0IHcgPSB3aWRnZXRzLmxlbmd0aCA+IDEgPyBuZXcgUm93KC4uLndpZGdldHMpIDogd2lkZ2V0c1swXTtcbiAgICB0aGlzLnJvd3MucHVzaCh3KTtcbiAgfVxuXG4gIC8qKlxuICAgKiBHZW5lcmF0ZSBhIHVuaXF1ZSBkYXNoYm9hcmQgbmFtZSBpbiBjYXNlIHRoZSB1c2VyIGRpZG4ndCBzdXBwbHkgb25lXG4gICAqL1xuICBwcml2YXRlIGdlbmVyYXRlRGFzaGJvYXJkTmFtZSgpOiBzdHJpbmcge1xuICAgIC8vIENvbWJpbmF0aW9uIG9mIHN0YWNrIG5hbWUgYW5kIExvZ2ljYWxJRCwgd2hpY2ggYXJlIGd1YXJhbnRlZWQgdG8gYmUgdW5pcXVlLlxuICAgIGNvbnN0IHN0YWNrID0gU3RhY2suZmluZCh0aGlzKTtcbiAgICByZXR1cm4gc3RhY2submFtZSArICctJyArIHRoaXMuZGFzaGJvYXJkLmxvZ2ljYWxJZDtcbiAgfVxufVxuIl19
{
"name": "@aws-cdk/aws-cloudwatch",
"version": "0.20.0",
"version": "0.21.0",
"description": "CDK Constructs for AWS CloudWatch",

@@ -55,17 +55,20 @@ "main": "lib/index.js",

"devDependencies": {
"@aws-cdk/assert": "^0.20.0",
"cdk-build-tools": "^0.20.0",
"cdk-integ-tools": "^0.20.0",
"cfn2ts": "^0.20.0",
"pkglint": "^0.20.0"
"@aws-cdk/assert": "^0.21.0",
"cdk-build-tools": "^0.21.0",
"cdk-integ-tools": "^0.21.0",
"cfn2ts": "^0.21.0",
"pkglint": "^0.21.0"
},
"dependencies": {
"@aws-cdk/aws-iam": "^0.20.0",
"@aws-cdk/cdk": "^0.20.0"
"@aws-cdk/aws-iam": "^0.21.0",
"@aws-cdk/cdk": "^0.21.0"
},
"homepage": "https://github.com/awslabs/aws-cdk",
"peerDependencies": {
"@aws-cdk/aws-iam": "^0.20.0",
"@aws-cdk/cdk": "^0.20.0"
"@aws-cdk/aws-iam": "^0.21.0",
"@aws-cdk/cdk": "^0.21.0"
},
"engines": {
"node": ">= 8.10.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