@aws-cdk/aws-cloudwatch
Advanced tools
Comparing version 1.6.1 to 1.7.0
@@ -48,12 +48,2 @@ "use strict"; | ||
class Alarm extends core_1.Resource { | ||
static fromAlarmArn(scope, id, alarmArn) { | ||
class Import extends core_1.Resource { | ||
constructor() { | ||
super(...arguments); | ||
this.alarmArn = alarmArn; | ||
this.alarmName = core_1.Stack.of(scope).parseArn(alarmArn, ':').resourceName; | ||
} | ||
} | ||
return new Import(scope, id); | ||
} | ||
constructor(scope, id, props) { | ||
@@ -103,2 +93,12 @@ super(scope, id, { | ||
} | ||
static fromAlarmArn(scope, id, alarmArn) { | ||
class Import extends core_1.Resource { | ||
constructor() { | ||
super(...arguments); | ||
this.alarmArn = alarmArn; | ||
this.alarmName = core_1.Stack.of(scope).parseArn(alarmArn, ':').resourceName; | ||
} | ||
} | ||
return new Import(scope, id); | ||
} | ||
/** | ||
@@ -184,2 +184,2 @@ * Trigger this action if the alarm fires | ||
} | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWxhcm0uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJhbGFybS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOztBQUFBLHdDQUE0RTtBQUU1RSxpRUFBa0Q7QUFJbEQscURBQXNEO0FBMkJ0RDs7R0FFRztBQUNILElBQVksa0JBS1g7QUFMRCxXQUFZLGtCQUFrQjtJQUM1QiwwRkFBb0UsQ0FBQTtJQUNwRSxxRUFBK0MsQ0FBQTtJQUMvQywrREFBeUMsQ0FBQTtJQUN6QyxvRkFBOEQsQ0FBQTtBQUNoRSxDQUFDLEVBTFcsa0JBQWtCLEdBQWxCLDBCQUFrQixLQUFsQiwwQkFBa0IsUUFLN0I7QUFFRCxNQUFNLGdCQUFnQixHQUE0QjtJQUNoRCw2QkFBNkIsRUFBRSxJQUFJO0lBQ25DLG9CQUFvQixFQUFFLEdBQUc7SUFDekIsaUJBQWlCLEVBQUUsR0FBR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T0gNjApIHsgcmV0dXJuICcxIG1pbnV0ZSc7IH1cbiAgaWYgKHNlY29uZHMgPT09IDEpIHsgcmV0dXJuICcxIHNlY29uZCc7IH1cbiAgaWYgKHNlY29uZHMgPiA2MCkgeyByZXR1cm4gKHNlY29uZHMgLyA2MCkgKyAnIG1pbnV0ZXMnOyB9XG4gIHJldHVybiBzZWNvbmRzICsgJyBzZWNvbmRzJztcbn1cblxuZnVuY3Rpb24gZHJvcFVuZGVmPFQgZXh0ZW5kcyBvYmplY3Q+KHg6IFQpOiBUIHtcbiAgY29uc3QgcmV0OiBhbnkgPSB7fTtcbiAgZm9yIChjb25zdCBba2V5LCB2YWx1ZV0gb2YgT2JqZWN0LmVudHJpZXMoeCkpIHtcbiAgICBpZiAodmFsdWUgIT09IHVuZGVmaW5lZCkge1xuICAgICAgcmV0W2tleV0gPSB2YWx1ZTtcbiAgICB9XG4gIH1cbiAgcmV0dXJuIHJldDtcbn1cbiJdfQ== |
@@ -20,7 +20,2 @@ import cdk = require('@aws-cdk/core'); | ||
/** | ||
* `AWS::CloudWatch::Alarm.Threshold` | ||
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cw-alarm.html#cfn-cloudwatch-alarms-threshold | ||
*/ | ||
readonly threshold: number; | ||
/** | ||
* `AWS::CloudWatch::Alarm.ActionsEnabled` | ||
@@ -101,2 +96,12 @@ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cw-alarm.html#cfn-cloudwatch-alarms-actionsenabled | ||
/** | ||
* `AWS::CloudWatch::Alarm.Threshold` | ||
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cw-alarm.html#cfn-cloudwatch-alarms-threshold | ||
*/ | ||
readonly threshold?: number; | ||
/** | ||
* `AWS::CloudWatch::Alarm.ThresholdMetricId` | ||
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cw-alarm.html#cfn-cloudwatch-alarms-dynamic-threshold | ||
*/ | ||
readonly thresholdMetricId?: string; | ||
/** | ||
* `AWS::CloudWatch::Alarm.TreatMissingData` | ||
@@ -139,7 +144,2 @@ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cw-alarm.html#cfn-cloudwatch-alarms-treatmissingdata | ||
/** | ||
* `AWS::CloudWatch::Alarm.Threshold` | ||
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cw-alarm.html#cfn-cloudwatch-alarms-threshold | ||
*/ | ||
threshold: number; | ||
/** | ||
* `AWS::CloudWatch::Alarm.ActionsEnabled` | ||
@@ -220,2 +220,12 @@ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cw-alarm.html#cfn-cloudwatch-alarms-actionsenabled | ||
/** | ||
* `AWS::CloudWatch::Alarm.Threshold` | ||
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cw-alarm.html#cfn-cloudwatch-alarms-threshold | ||
*/ | ||
threshold: number | undefined; | ||
/** | ||
* `AWS::CloudWatch::Alarm.ThresholdMetricId` | ||
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cw-alarm.html#cfn-cloudwatch-alarms-dynamic-threshold | ||
*/ | ||
thresholdMetricId: string | undefined; | ||
/** | ||
* `AWS::CloudWatch::Alarm.TreatMissingData` | ||
@@ -222,0 +232,0 @@ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cw-alarm.html#cfn-cloudwatch-alarms-treatmissingdata |
@@ -22,14 +22,2 @@ "use strict"; | ||
class Metric { | ||
/** | ||
* Grant permissions to the given identity to write metrics. | ||
* | ||
* @param grantee The IAM identity to give permissions to. | ||
*/ | ||
static grantPutMetricData(grantee) { | ||
return iam.Grant.addToPrincipal({ | ||
grantee, | ||
actions: ['cloudwatch:PutMetricData'], | ||
resourceArns: ['*'] | ||
}); | ||
} | ||
constructor(props) { | ||
@@ -51,2 +39,14 @@ this.period = props.period || cdk.Duration.minutes(5); | ||
/** | ||
* Grant permissions to the given identity to write metrics. | ||
* | ||
* @param grantee The IAM identity to give permissions to. | ||
*/ | ||
static grantPutMetricData(grantee) { | ||
return iam.Grant.addToPrincipal({ | ||
grantee, | ||
actions: ['cloudwatch:PutMetricData'], | ||
resourceArns: ['*'] | ||
}); | ||
} | ||
/** | ||
* Return a copy of Metric with properties changed. | ||
@@ -140,2 +140,2 @@ * | ||
} | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWV0cmljLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsibWV0cmljLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7O0FBQUEsd0NBQXlDO0FBQ3pDLHFDQUFzQztBQUN0QyxtQ0FBc0U7QUFFdEUscURBQXNFO0FBMkV0RTs7Ozs7Ozs7Ozs7OztHQWFHO0FBQ0gsTUFBYSxNQUFNO0lBQ2pCOzs7O09BSUc7SUFDSSxNQUFNLENBQUMsa0JBQWtCLENBQUMsT0FBdUI7UUFDdEQsT0FBTyxHQUFHLENBQUMsS0FBSyxDQUFDLGNBQWMsQ0FBQztZQUM5QixPQUFPO1lBQ1AsT0FBTyxFQUFFLENBQUMsMEJBQTBCLENBQUM7WUFDckMsWUFBWSxFQUFFLENBQUMsR0FBRyxDQUFDO1NBQ3BCLENBQUMsQ0FBQztJQUNMLENBQUM7SUFXRCxZQUFZLEtBQWtCO1FBQzVCLElBQUksQ0FBQyxNQUFNLEdBQUcsS0FBSyxDQUFDLE1BQU0sSUFBSSxHQUFHLENBQUMsUUFBUSxDQUFDLE9BQU8sQ0FBQyxDQUFDLENBQUMsQ0FBQztRQUN0RCxNQUFNLFNBQVMsR0FBRyxJQUFJLENBQUMsTUFBTSxDQUFDLFNBQVMsRUFBRSxDQUFDO1FBQzFDLElBQUksU0FBUyxLQUFLLENBQUMsSUFBSSxTQUFTLEtBQUssQ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VmaW5lZDxUPih4OiBUIHwgdW5kZWZpbmVkLCBkZWY6IFQgfCB1bmRlZmluZWQpOiBUIHwgdW5kZWZpbmVkIHtcbiAgaWYgKHggIT09IHVuZGVmaW5lZCkge1xuICAgIHJldHVybiB4O1xuICB9XG4gIHJldHVybiBkZWY7XG59XG4iXX0= |
{ | ||
"name": "@aws-cdk/aws-cloudwatch", | ||
"version": "1.6.1", | ||
"version": "1.7.0", | ||
"description": "CDK Constructs for AWS CloudWatch", | ||
@@ -65,3 +65,3 @@ "main": "lib/index.js", | ||
"devDependencies": { | ||
"@aws-cdk/assert": "^1.6.1", | ||
"@aws-cdk/assert": "^1.7.0", | ||
"cdk-build-tools": "file:../../../tools/cdk-build-tools", | ||
@@ -73,9 +73,9 @@ "cdk-integ-tools": "file:../../../tools/cdk-integ-tools", | ||
"dependencies": { | ||
"@aws-cdk/aws-iam": "^1.6.1", | ||
"@aws-cdk/core": "^1.6.1" | ||
"@aws-cdk/aws-iam": "^1.7.0", | ||
"@aws-cdk/core": "^1.7.0" | ||
}, | ||
"homepage": "https://github.com/aws/aws-cdk", | ||
"peerDependencies": { | ||
"@aws-cdk/aws-iam": "^1.6.1", | ||
"@aws-cdk/core": "^1.6.1" | ||
"@aws-cdk/aws-iam": "^1.7.0", | ||
"@aws-cdk/core": "^1.7.0" | ||
}, | ||
@@ -92,2 +92,2 @@ "awslint": { | ||
"stability": "stable" | ||
} | ||
} |
@@ -10,5 +10,3 @@ { | ||
"lib": [ | ||
"es2016", | ||
"es2017.object", | ||
"es2017.string" | ||
"es2016" | ||
], | ||
@@ -15,0 +13,0 @@ "module": "CommonJS", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
566131
3693
Updated@aws-cdk/aws-iam@^1.7.0
Updated@aws-cdk/core@^1.7.0