@aws-cdk/metrics-facade-alpha 2.261.0-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.jsii +1 -0
- package/.jsii.gz +0 -0
- package/.jsii.tabl.json.gz +0 -0
- package/.warnings.jsii.js +50 -0
- package/LICENSE +201 -0
- package/NOTICE +2 -0
- package/README.md +123 -0
- package/awslint.json +4 -0
- package/eslint-suppressions.json +2 -0
- package/jest.config.js +2 -0
- package/lib/index.d.ts +1 -0
- package/lib/index.js +3 -0
- package/lib/services/aws-amazonmq/.jsiirc.json +16 -0
- package/lib/services/aws-amazonmq/index.d.ts +1 -0
- package/lib/services/aws-amazonmq/index.js +17 -0
- package/lib/services/aws-amazonmq/metrics.generated.d.ts +141 -0
- package/lib/services/aws-amazonmq/metrics.generated.js +316 -0
- package/lib/services/aws-apigateway/.jsiirc.json +16 -0
- package/lib/services/aws-apigateway/index.d.ts +1 -0
- package/lib/services/aws-apigateway/index.js +17 -0
- package/lib/services/aws-apigateway/metrics.generated.d.ts +358 -0
- package/lib/services/aws-apigateway/metrics.generated.js +589 -0
- package/lib/services/aws-apigatewayv2/.jsiirc.json +16 -0
- package/lib/services/aws-apigatewayv2/index.d.ts +1 -0
- package/lib/services/aws-apigatewayv2/index.js +17 -0
- package/lib/services/aws-apigatewayv2/metrics.generated.d.ts +441 -0
- package/lib/services/aws-apigatewayv2/metrics.generated.js +779 -0
- package/lib/services/aws-appstream/.jsiirc.json +16 -0
- package/lib/services/aws-appstream/index.d.ts +1 -0
- package/lib/services/aws-appstream/index.js +17 -0
- package/lib/services/aws-appstream/metrics.generated.d.ts +255 -0
- package/lib/services/aws-appstream/metrics.generated.js +487 -0
- package/lib/services/aws-appsync/.jsiirc.json +16 -0
- package/lib/services/aws-appsync/index.d.ts +1 -0
- package/lib/services/aws-appsync/index.js +17 -0
- package/lib/services/aws-appsync/metrics.generated.d.ts +51 -0
- package/lib/services/aws-appsync/metrics.generated.js +106 -0
- package/lib/services/aws-autoscaling/.jsiirc.json +16 -0
- package/lib/services/aws-autoscaling/index.d.ts +1 -0
- package/lib/services/aws-autoscaling/index.js +17 -0
- package/lib/services/aws-autoscaling/metrics.generated.d.ts +86 -0
- package/lib/services/aws-autoscaling/metrics.generated.js +184 -0
- package/lib/services/aws-bedrock/.jsiirc.json +16 -0
- package/lib/services/aws-bedrock/index.d.ts +1 -0
- package/lib/services/aws-bedrock/index.js +17 -0
- package/lib/services/aws-bedrock/metrics.generated.d.ts +312 -0
- package/lib/services/aws-bedrock/metrics.generated.js +563 -0
- package/lib/services/aws-cloudfront/.jsiirc.json +16 -0
- package/lib/services/aws-cloudfront/index.d.ts +1 -0
- package/lib/services/aws-cloudfront/index.js +17 -0
- package/lib/services/aws-cloudfront/metrics.generated.d.ts +80 -0
- package/lib/services/aws-cloudfront/metrics.generated.js +157 -0
- package/lib/services/aws-cloudwatch/.jsiirc.json +16 -0
- package/lib/services/aws-cloudwatch/index.d.ts +1 -0
- package/lib/services/aws-cloudwatch/index.js +17 -0
- package/lib/services/aws-cloudwatch/metrics.generated.d.ts +56 -0
- package/lib/services/aws-cloudwatch/metrics.generated.js +114 -0
- package/lib/services/aws-codebuild/.jsiirc.json +16 -0
- package/lib/services/aws-codebuild/index.d.ts +1 -0
- package/lib/services/aws-codebuild/index.js +17 -0
- package/lib/services/aws-codebuild/metrics.generated.d.ts +62 -0
- package/lib/services/aws-codebuild/metrics.generated.js +128 -0
- package/lib/services/aws-codepipeline/.jsiirc.json +16 -0
- package/lib/services/aws-codepipeline/index.d.ts +1 -0
- package/lib/services/aws-codepipeline/index.js +17 -0
- package/lib/services/aws-codepipeline/metrics.generated.d.ts +27 -0
- package/lib/services/aws-codepipeline/metrics.generated.js +76 -0
- package/lib/services/aws-cognito/.jsiirc.json +16 -0
- package/lib/services/aws-cognito/index.d.ts +1 -0
- package/lib/services/aws-cognito/index.js +17 -0
- package/lib/services/aws-cognito/metrics.generated.d.ts +49 -0
- package/lib/services/aws-cognito/metrics.generated.js +93 -0
- package/lib/services/aws-datasync/.jsiirc.json +16 -0
- package/lib/services/aws-datasync/index.d.ts +1 -0
- package/lib/services/aws-datasync/index.js +17 -0
- package/lib/services/aws-datasync/metrics.generated.d.ts +138 -0
- package/lib/services/aws-datasync/metrics.generated.js +274 -0
- package/lib/services/aws-dax/.jsiirc.json +16 -0
- package/lib/services/aws-dax/index.d.ts +1 -0
- package/lib/services/aws-dax/index.js +17 -0
- package/lib/services/aws-dax/metrics.generated.d.ts +105 -0
- package/lib/services/aws-dax/metrics.generated.js +258 -0
- package/lib/services/aws-dms/.jsiirc.json +16 -0
- package/lib/services/aws-dms/index.d.ts +1 -0
- package/lib/services/aws-dms/index.js +17 -0
- package/lib/services/aws-dms/metrics.generated.d.ts +268 -0
- package/lib/services/aws-dms/metrics.generated.js +569 -0
- package/lib/services/aws-docdb/.jsiirc.json +16 -0
- package/lib/services/aws-docdb/index.d.ts +1 -0
- package/lib/services/aws-docdb/index.js +17 -0
- package/lib/services/aws-docdb/metrics.generated.d.ts +63 -0
- package/lib/services/aws-docdb/metrics.generated.js +134 -0
- package/lib/services/aws-dynamodb/.jsiirc.json +16 -0
- package/lib/services/aws-dynamodb/index.d.ts +1 -0
- package/lib/services/aws-dynamodb/index.js +17 -0
- package/lib/services/aws-dynamodb/metrics.generated.d.ts +444 -0
- package/lib/services/aws-dynamodb/metrics.generated.js +734 -0
- package/lib/services/aws-ec2/.jsiirc.json +16 -0
- package/lib/services/aws-ec2/index.d.ts +1 -0
- package/lib/services/aws-ec2/index.js +17 -0
- package/lib/services/aws-ec2/metrics.generated.d.ts +1226 -0
- package/lib/services/aws-ec2/metrics.generated.js +2434 -0
- package/lib/services/aws-ecs/.jsiirc.json +16 -0
- package/lib/services/aws-ecs/index.d.ts +1 -0
- package/lib/services/aws-ecs/index.js +17 -0
- package/lib/services/aws-ecs/metrics.generated.d.ts +105 -0
- package/lib/services/aws-ecs/metrics.generated.js +185 -0
- package/lib/services/aws-efs/.jsiirc.json +16 -0
- package/lib/services/aws-efs/index.d.ts +1 -0
- package/lib/services/aws-efs/index.js +17 -0
- package/lib/services/aws-efs/metrics.generated.d.ts +130 -0
- package/lib/services/aws-efs/metrics.generated.js +235 -0
- package/lib/services/aws-eks/.jsiirc.json +16 -0
- package/lib/services/aws-eks/index.d.ts +1 -0
- package/lib/services/aws-eks/index.js +17 -0
- package/lib/services/aws-eks/metrics.generated.d.ts +146 -0
- package/lib/services/aws-eks/metrics.generated.js +324 -0
- package/lib/services/aws-elasticache/.jsiirc.json +16 -0
- package/lib/services/aws-elasticache/index.d.ts +1 -0
- package/lib/services/aws-elasticache/index.js +17 -0
- package/lib/services/aws-elasticache/metrics.generated.d.ts +1729 -0
- package/lib/services/aws-elasticache/metrics.generated.js +3969 -0
- package/lib/services/aws-elasticbeanstalk/.jsiirc.json +16 -0
- package/lib/services/aws-elasticbeanstalk/index.d.ts +1 -0
- package/lib/services/aws-elasticbeanstalk/index.js +17 -0
- package/lib/services/aws-elasticbeanstalk/metrics.generated.d.ts +68 -0
- package/lib/services/aws-elasticbeanstalk/metrics.generated.js +142 -0
- package/lib/services/aws-elasticloadbalancing/.jsiirc.json +16 -0
- package/lib/services/aws-elasticloadbalancing/index.d.ts +1 -0
- package/lib/services/aws-elasticloadbalancing/index.js +17 -0
- package/lib/services/aws-elasticloadbalancing/metrics.generated.d.ts +231 -0
- package/lib/services/aws-elasticloadbalancing/metrics.generated.js +479 -0
- package/lib/services/aws-elasticloadbalancingv2/.jsiirc.json +16 -0
- package/lib/services/aws-elasticloadbalancingv2/index.d.ts +1 -0
- package/lib/services/aws-elasticloadbalancingv2/index.js +17 -0
- package/lib/services/aws-elasticloadbalancingv2/metrics.generated.d.ts +1110 -0
- package/lib/services/aws-elasticloadbalancingv2/metrics.generated.js +2168 -0
- package/lib/services/aws-emr/.jsiirc.json +16 -0
- package/lib/services/aws-emr/index.d.ts +1 -0
- package/lib/services/aws-emr/index.js +17 -0
- package/lib/services/aws-emr/metrics.generated.d.ts +333 -0
- package/lib/services/aws-emr/metrics.generated.js +764 -0
- package/lib/services/aws-events/.jsiirc.json +16 -0
- package/lib/services/aws-events/index.d.ts +1 -0
- package/lib/services/aws-events/index.js +17 -0
- package/lib/services/aws-events/metrics.generated.d.ts +75 -0
- package/lib/services/aws-events/metrics.generated.js +162 -0
- package/lib/services/aws-fsx/.jsiirc.json +16 -0
- package/lib/services/aws-fsx/index.d.ts +1 -0
- package/lib/services/aws-fsx/index.js +17 -0
- package/lib/services/aws-fsx/metrics.generated.d.ts +134 -0
- package/lib/services/aws-fsx/metrics.generated.js +296 -0
- package/lib/services/aws-gamelift/.jsiirc.json +16 -0
- package/lib/services/aws-gamelift/index.d.ts +1 -0
- package/lib/services/aws-gamelift/index.js +17 -0
- package/lib/services/aws-gamelift/metrics.generated.d.ts +80 -0
- package/lib/services/aws-gamelift/metrics.generated.js +170 -0
- package/lib/services/aws-iot/.jsiirc.json +16 -0
- package/lib/services/aws-iot/index.d.ts +1 -0
- package/lib/services/aws-iot/index.js +17 -0
- package/lib/services/aws-iot/metrics.generated.d.ts +62 -0
- package/lib/services/aws-iot/metrics.generated.js +128 -0
- package/lib/services/aws-kinesis/.jsiirc.json +16 -0
- package/lib/services/aws-kinesis/index.d.ts +1 -0
- package/lib/services/aws-kinesis/index.js +17 -0
- package/lib/services/aws-kinesis/metrics.generated.d.ts +110 -0
- package/lib/services/aws-kinesis/metrics.generated.js +240 -0
- package/lib/services/aws-kinesisanalytics/.jsiirc.json +16 -0
- package/lib/services/aws-kinesisanalytics/index.d.ts +1 -0
- package/lib/services/aws-kinesisanalytics/index.js +17 -0
- package/lib/services/aws-kinesisanalytics/metrics.generated.d.ts +39 -0
- package/lib/services/aws-kinesisanalytics/metrics.generated.js +78 -0
- package/lib/services/aws-kinesisfirehose/.jsiirc.json +16 -0
- package/lib/services/aws-kinesisfirehose/index.d.ts +1 -0
- package/lib/services/aws-kinesisfirehose/index.js +17 -0
- package/lib/services/aws-kinesisfirehose/metrics.generated.d.ts +182 -0
- package/lib/services/aws-kinesisfirehose/metrics.generated.js +408 -0
- package/lib/services/aws-kinesisvideo/.jsiirc.json +16 -0
- package/lib/services/aws-kinesisvideo/index.d.ts +1 -0
- package/lib/services/aws-kinesisvideo/index.js +17 -0
- package/lib/services/aws-kinesisvideo/metrics.generated.d.ts +86 -0
- package/lib/services/aws-kinesisvideo/metrics.generated.js +184 -0
- package/lib/services/aws-kms/.jsiirc.json +16 -0
- package/lib/services/aws-kms/index.d.ts +1 -0
- package/lib/services/aws-kms/index.js +17 -0
- package/lib/services/aws-kms/metrics.generated.d.ts +44 -0
- package/lib/services/aws-kms/metrics.generated.js +86 -0
- package/lib/services/aws-lambda/.jsiirc.json +16 -0
- package/lib/services/aws-lambda/index.d.ts +1 -0
- package/lib/services/aws-lambda/index.js +17 -0
- package/lib/services/aws-lambda/metrics.generated.d.ts +395 -0
- package/lib/services/aws-lambda/metrics.generated.js +801 -0
- package/lib/services/aws-lex/.jsiirc.json +16 -0
- package/lib/services/aws-lex/index.d.ts +1 -0
- package/lib/services/aws-lex/index.js +17 -0
- package/lib/services/aws-lex/metrics.generated.d.ts +95 -0
- package/lib/services/aws-lex/metrics.generated.js +192 -0
- package/lib/services/aws-logs/.jsiirc.json +16 -0
- package/lib/services/aws-logs/index.d.ts +1 -0
- package/lib/services/aws-logs/index.js +17 -0
- package/lib/services/aws-logs/metrics.generated.d.ts +110 -0
- package/lib/services/aws-logs/metrics.generated.js +240 -0
- package/lib/services/aws-mediaconvert/.jsiirc.json +16 -0
- package/lib/services/aws-mediaconvert/index.d.ts +1 -0
- package/lib/services/aws-mediaconvert/index.js +17 -0
- package/lib/services/aws-mediaconvert/metrics.generated.d.ts +87 -0
- package/lib/services/aws-mediaconvert/metrics.generated.js +190 -0
- package/lib/services/aws-medialive/.jsiirc.json +16 -0
- package/lib/services/aws-medialive/index.d.ts +1 -0
- package/lib/services/aws-medialive/index.js +17 -0
- package/lib/services/aws-medialive/metrics.generated.d.ts +121 -0
- package/lib/services/aws-medialive/metrics.generated.js +261 -0
- package/lib/services/aws-mediapackage/.jsiirc.json +16 -0
- package/lib/services/aws-mediapackage/index.d.ts +1 -0
- package/lib/services/aws-mediapackage/index.js +17 -0
- package/lib/services/aws-mediapackage/metrics.generated.d.ts +51 -0
- package/lib/services/aws-mediapackage/metrics.generated.js +106 -0
- package/lib/services/aws-mediastore/.jsiirc.json +16 -0
- package/lib/services/aws-mediastore/index.d.ts +1 -0
- package/lib/services/aws-mediastore/index.js +17 -0
- package/lib/services/aws-mediastore/metrics.generated.d.ts +79 -0
- package/lib/services/aws-mediastore/metrics.generated.js +163 -0
- package/lib/services/aws-memorydb/.jsiirc.json +16 -0
- package/lib/services/aws-memorydb/index.d.ts +1 -0
- package/lib/services/aws-memorydb/index.js +17 -0
- package/lib/services/aws-memorydb/metrics.generated.d.ts +236 -0
- package/lib/services/aws-memorydb/metrics.generated.js +534 -0
- package/lib/services/aws-neptune/.jsiirc.json +16 -0
- package/lib/services/aws-neptune/index.d.ts +1 -0
- package/lib/services/aws-neptune/index.js +17 -0
- package/lib/services/aws-neptune/metrics.generated.d.ts +116 -0
- package/lib/services/aws-neptune/metrics.generated.js +254 -0
- package/lib/services/aws-opsworks/.jsiirc.json +16 -0
- package/lib/services/aws-opsworks/index.d.ts +1 -0
- package/lib/services/aws-opsworks/index.js +17 -0
- package/lib/services/aws-opsworks/metrics.generated.d.ts +376 -0
- package/lib/services/aws-opsworks/metrics.generated.js +788 -0
- package/lib/services/aws-qldb/.jsiirc.json +16 -0
- package/lib/services/aws-qldb/index.d.ts +1 -0
- package/lib/services/aws-qldb/index.js +17 -0
- package/lib/services/aws-qldb/metrics.generated.d.ts +93 -0
- package/lib/services/aws-qldb/metrics.generated.js +204 -0
- package/lib/services/aws-quicksight/.jsiirc.json +16 -0
- package/lib/services/aws-quicksight/index.d.ts +1 -0
- package/lib/services/aws-quicksight/index.js +17 -0
- package/lib/services/aws-quicksight/metrics.generated.d.ts +217 -0
- package/lib/services/aws-quicksight/metrics.generated.js +394 -0
- package/lib/services/aws-rds/.jsiirc.json +16 -0
- package/lib/services/aws-rds/index.d.ts +1 -0
- package/lib/services/aws-rds/index.js +17 -0
- package/lib/services/aws-rds/metrics.generated.d.ts +189 -0
- package/lib/services/aws-rds/metrics.generated.js +388 -0
- package/lib/services/aws-redshift/.jsiirc.json +16 -0
- package/lib/services/aws-redshift/index.d.ts +1 -0
- package/lib/services/aws-redshift/index.js +17 -0
- package/lib/services/aws-redshift/metrics.generated.d.ts +594 -0
- package/lib/services/aws-redshift/metrics.generated.js +911 -0
- package/lib/services/aws-route53/.jsiirc.json +16 -0
- package/lib/services/aws-route53/index.d.ts +1 -0
- package/lib/services/aws-route53/index.js +17 -0
- package/lib/services/aws-route53/metrics.generated.d.ts +74 -0
- package/lib/services/aws-route53/metrics.generated.js +156 -0
- package/lib/services/aws-route53resolver/.jsiirc.json +16 -0
- package/lib/services/aws-route53resolver/index.d.ts +1 -0
- package/lib/services/aws-route53resolver/index.js +17 -0
- package/lib/services/aws-route53resolver/metrics.generated.d.ts +51 -0
- package/lib/services/aws-route53resolver/metrics.generated.js +106 -0
- package/lib/services/aws-s3/.jsiirc.json +16 -0
- package/lib/services/aws-s3/index.d.ts +1 -0
- package/lib/services/aws-s3/index.js +17 -0
- package/lib/services/aws-s3/metrics.generated.d.ts +58 -0
- package/lib/services/aws-s3/metrics.generated.js +103 -0
- package/lib/services/aws-sagemaker/.jsiirc.json +16 -0
- package/lib/services/aws-sagemaker/index.d.ts +1 -0
- package/lib/services/aws-sagemaker/index.js +17 -0
- package/lib/services/aws-sagemaker/metrics.generated.d.ts +73 -0
- package/lib/services/aws-sagemaker/metrics.generated.js +149 -0
- package/lib/services/aws-servicecatalog/.jsiirc.json +16 -0
- package/lib/services/aws-servicecatalog/index.d.ts +1 -0
- package/lib/services/aws-servicecatalog/index.js +17 -0
- package/lib/services/aws-servicecatalog/metrics.generated.d.ts +39 -0
- package/lib/services/aws-servicecatalog/metrics.generated.js +78 -0
- package/lib/services/aws-ses/.jsiirc.json +16 -0
- package/lib/services/aws-ses/index.d.ts +1 -0
- package/lib/services/aws-ses/index.js +17 -0
- package/lib/services/aws-ses/metrics.generated.d.ts +162 -0
- package/lib/services/aws-ses/metrics.generated.js +356 -0
- package/lib/services/aws-sns/.jsiirc.json +16 -0
- package/lib/services/aws-sns/index.d.ts +1 -0
- package/lib/services/aws-sns/index.js +17 -0
- package/lib/services/aws-sns/metrics.generated.d.ts +130 -0
- package/lib/services/aws-sns/metrics.generated.js +203 -0
- package/lib/services/aws-sqs/.jsiirc.json +16 -0
- package/lib/services/aws-sqs/index.d.ts +1 -0
- package/lib/services/aws-sqs/index.js +17 -0
- package/lib/services/aws-sqs/metrics.generated.d.ts +87 -0
- package/lib/services/aws-sqs/metrics.generated.js +190 -0
- package/lib/services/aws-stepfunctions/.jsiirc.json +16 -0
- package/lib/services/aws-stepfunctions/index.d.ts +1 -0
- package/lib/services/aws-stepfunctions/index.js +17 -0
- package/lib/services/aws-stepfunctions/metrics.generated.d.ts +159 -0
- package/lib/services/aws-stepfunctions/metrics.generated.js +318 -0
- package/lib/services/aws-synthetics/.jsiirc.json +16 -0
- package/lib/services/aws-synthetics/index.d.ts +1 -0
- package/lib/services/aws-synthetics/index.js +17 -0
- package/lib/services/aws-synthetics/metrics.generated.d.ts +80 -0
- package/lib/services/aws-synthetics/metrics.generated.js +170 -0
- package/lib/services/aws-timestream/.jsiirc.json +16 -0
- package/lib/services/aws-timestream/index.d.ts +1 -0
- package/lib/services/aws-timestream/index.js +17 -0
- package/lib/services/aws-timestream/metrics.generated.d.ts +54 -0
- package/lib/services/aws-timestream/metrics.generated.js +88 -0
- package/lib/services/aws-transfer/.jsiirc.json +16 -0
- package/lib/services/aws-transfer/index.d.ts +1 -0
- package/lib/services/aws-transfer/index.js +17 -0
- package/lib/services/aws-transfer/metrics.generated.d.ts +45 -0
- package/lib/services/aws-transfer/metrics.generated.js +92 -0
- package/lib/services/aws-workspaces/.jsiirc.json +16 -0
- package/lib/services/aws-workspaces/index.d.ts +1 -0
- package/lib/services/aws-workspaces/index.js +17 -0
- package/lib/services/aws-workspaces/metrics.generated.d.ts +836 -0
- package/lib/services/aws-workspaces/metrics.generated.js +1724 -0
- package/lib/services/index.d.ts +62 -0
- package/lib/services/index.js +99 -0
- package/package.json +189 -0
- package/rosetta/_generated.ts-fixture +6 -0
- package/rosetta/default.ts-fixture +5 -0
- package/scripts/config.d.ts +6 -0
- package/scripts/config.js +9 -0
- package/scripts/gen.d.ts +1 -0
- package/scripts/gen.js +133 -0
|
@@ -0,0 +1,3969 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
35
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
+
exports.ElastiCacheMetrics = void 0;
|
|
37
|
+
/* eslint-disable @stylistic/max-len, eol-last */
|
|
38
|
+
const cloudwatch = __importStar(require("aws-cdk-lib/aws-cloudwatch"));
|
|
39
|
+
/**
|
|
40
|
+
* CloudWatch metrics facade for AWS/ElastiCache
|
|
41
|
+
* This class contains helper functions to initialize the dimension-sets classes
|
|
42
|
+
* for selected resources if available.
|
|
43
|
+
*
|
|
44
|
+
* @stability external
|
|
45
|
+
*/
|
|
46
|
+
class ElastiCacheMetrics {
|
|
47
|
+
}
|
|
48
|
+
exports.ElastiCacheMetrics = ElastiCacheMetrics;
|
|
49
|
+
(function (ElastiCacheMetrics) {
|
|
50
|
+
/**
|
|
51
|
+
* Metrics for dimension set: CacheCluster {CacheClusterId}
|
|
52
|
+
*
|
|
53
|
+
* @stability external
|
|
54
|
+
*/
|
|
55
|
+
class CacheClusterMetrics {
|
|
56
|
+
dimensions;
|
|
57
|
+
constructor(props) {
|
|
58
|
+
this.dimensions = {
|
|
59
|
+
CacheClusterId: props.cacheClusterId
|
|
60
|
+
};
|
|
61
|
+
}
|
|
62
|
+
/**
|
|
63
|
+
* Sum of the ActiveDefragHits metric
|
|
64
|
+
*
|
|
65
|
+
* @default - Sum over 5 minutes
|
|
66
|
+
*/
|
|
67
|
+
activeDefragHits(options) {
|
|
68
|
+
return new cloudwatch.Metric({
|
|
69
|
+
namespace: "AWS/ElastiCache",
|
|
70
|
+
metricName: "ActiveDefragHits",
|
|
71
|
+
dimensionsMap: this.dimensions,
|
|
72
|
+
statistic: "Sum",
|
|
73
|
+
...options
|
|
74
|
+
});
|
|
75
|
+
}
|
|
76
|
+
/**
|
|
77
|
+
* Sum of the AuthenticationFailures metric
|
|
78
|
+
*
|
|
79
|
+
* @default - Sum over 5 minutes
|
|
80
|
+
*/
|
|
81
|
+
authenticationFailures(options) {
|
|
82
|
+
return new cloudwatch.Metric({
|
|
83
|
+
namespace: "AWS/ElastiCache",
|
|
84
|
+
metricName: "AuthenticationFailures",
|
|
85
|
+
dimensionsMap: this.dimensions,
|
|
86
|
+
statistic: "Sum",
|
|
87
|
+
...options
|
|
88
|
+
});
|
|
89
|
+
}
|
|
90
|
+
/**
|
|
91
|
+
* Average of the BytesReadIntoMemcached metric
|
|
92
|
+
*
|
|
93
|
+
* @default - Average over 5 minutes
|
|
94
|
+
*/
|
|
95
|
+
bytesReadIntoMemcached(options) {
|
|
96
|
+
return new cloudwatch.Metric({
|
|
97
|
+
namespace: "AWS/ElastiCache",
|
|
98
|
+
metricName: "BytesReadIntoMemcached",
|
|
99
|
+
dimensionsMap: this.dimensions,
|
|
100
|
+
statistic: "Average",
|
|
101
|
+
...options
|
|
102
|
+
});
|
|
103
|
+
}
|
|
104
|
+
/**
|
|
105
|
+
* Average of the BytesUsedForCache metric
|
|
106
|
+
*
|
|
107
|
+
* @default - Average over 5 minutes
|
|
108
|
+
*/
|
|
109
|
+
bytesUsedForCache(options) {
|
|
110
|
+
return new cloudwatch.Metric({
|
|
111
|
+
namespace: "AWS/ElastiCache",
|
|
112
|
+
metricName: "BytesUsedForCache",
|
|
113
|
+
dimensionsMap: this.dimensions,
|
|
114
|
+
statistic: "Average",
|
|
115
|
+
...options
|
|
116
|
+
});
|
|
117
|
+
}
|
|
118
|
+
/**
|
|
119
|
+
* Average of the BytesUsedForCacheItems metric
|
|
120
|
+
*
|
|
121
|
+
* @default - Average over 5 minutes
|
|
122
|
+
*/
|
|
123
|
+
bytesUsedForCacheItems(options) {
|
|
124
|
+
return new cloudwatch.Metric({
|
|
125
|
+
namespace: "AWS/ElastiCache",
|
|
126
|
+
metricName: "BytesUsedForCacheItems",
|
|
127
|
+
dimensionsMap: this.dimensions,
|
|
128
|
+
statistic: "Average",
|
|
129
|
+
...options
|
|
130
|
+
});
|
|
131
|
+
}
|
|
132
|
+
/**
|
|
133
|
+
* Average of the BytesUsedForHash metric
|
|
134
|
+
*
|
|
135
|
+
* @default - Average over 5 minutes
|
|
136
|
+
*/
|
|
137
|
+
bytesUsedForHash(options) {
|
|
138
|
+
return new cloudwatch.Metric({
|
|
139
|
+
namespace: "AWS/ElastiCache",
|
|
140
|
+
metricName: "BytesUsedForHash",
|
|
141
|
+
dimensionsMap: this.dimensions,
|
|
142
|
+
statistic: "Average",
|
|
143
|
+
...options
|
|
144
|
+
});
|
|
145
|
+
}
|
|
146
|
+
/**
|
|
147
|
+
* Average of the BytesWrittenOutFromMemcached metric
|
|
148
|
+
*
|
|
149
|
+
* @default - Average over 5 minutes
|
|
150
|
+
*/
|
|
151
|
+
bytesWrittenOutFromMemcached(options) {
|
|
152
|
+
return new cloudwatch.Metric({
|
|
153
|
+
namespace: "AWS/ElastiCache",
|
|
154
|
+
metricName: "BytesWrittenOutFromMemcached",
|
|
155
|
+
dimensionsMap: this.dimensions,
|
|
156
|
+
statistic: "Average",
|
|
157
|
+
...options
|
|
158
|
+
});
|
|
159
|
+
}
|
|
160
|
+
/**
|
|
161
|
+
* Average of the CacheHitRate metric
|
|
162
|
+
*
|
|
163
|
+
* @default - Average over 5 minutes
|
|
164
|
+
*/
|
|
165
|
+
cacheHitRate(options) {
|
|
166
|
+
return new cloudwatch.Metric({
|
|
167
|
+
namespace: "AWS/ElastiCache",
|
|
168
|
+
metricName: "CacheHitRate",
|
|
169
|
+
dimensionsMap: this.dimensions,
|
|
170
|
+
statistic: "Average",
|
|
171
|
+
...options
|
|
172
|
+
});
|
|
173
|
+
}
|
|
174
|
+
/**
|
|
175
|
+
* Sum of the CacheHits metric
|
|
176
|
+
*
|
|
177
|
+
* @default - Sum over 5 minutes
|
|
178
|
+
*/
|
|
179
|
+
cacheHits(options) {
|
|
180
|
+
return new cloudwatch.Metric({
|
|
181
|
+
namespace: "AWS/ElastiCache",
|
|
182
|
+
metricName: "CacheHits",
|
|
183
|
+
dimensionsMap: this.dimensions,
|
|
184
|
+
statistic: "Sum",
|
|
185
|
+
...options
|
|
186
|
+
});
|
|
187
|
+
}
|
|
188
|
+
/**
|
|
189
|
+
* Sum of the CacheMisses metric
|
|
190
|
+
*
|
|
191
|
+
* @default - Sum over 5 minutes
|
|
192
|
+
*/
|
|
193
|
+
cacheMisses(options) {
|
|
194
|
+
return new cloudwatch.Metric({
|
|
195
|
+
namespace: "AWS/ElastiCache",
|
|
196
|
+
metricName: "CacheMisses",
|
|
197
|
+
dimensionsMap: this.dimensions,
|
|
198
|
+
statistic: "Sum",
|
|
199
|
+
...options
|
|
200
|
+
});
|
|
201
|
+
}
|
|
202
|
+
/**
|
|
203
|
+
* Sum of the CasBadval metric
|
|
204
|
+
*
|
|
205
|
+
* @default - Sum over 5 minutes
|
|
206
|
+
*/
|
|
207
|
+
casBadval(options) {
|
|
208
|
+
return new cloudwatch.Metric({
|
|
209
|
+
namespace: "AWS/ElastiCache",
|
|
210
|
+
metricName: "CasBadval",
|
|
211
|
+
dimensionsMap: this.dimensions,
|
|
212
|
+
statistic: "Sum",
|
|
213
|
+
...options
|
|
214
|
+
});
|
|
215
|
+
}
|
|
216
|
+
/**
|
|
217
|
+
* Sum of the CasHits metric
|
|
218
|
+
*
|
|
219
|
+
* @default - Sum over 5 minutes
|
|
220
|
+
*/
|
|
221
|
+
casHits(options) {
|
|
222
|
+
return new cloudwatch.Metric({
|
|
223
|
+
namespace: "AWS/ElastiCache",
|
|
224
|
+
metricName: "CasHits",
|
|
225
|
+
dimensionsMap: this.dimensions,
|
|
226
|
+
statistic: "Sum",
|
|
227
|
+
...options
|
|
228
|
+
});
|
|
229
|
+
}
|
|
230
|
+
/**
|
|
231
|
+
* Sum of the CasMisses metric
|
|
232
|
+
*
|
|
233
|
+
* @default - Sum over 5 minutes
|
|
234
|
+
*/
|
|
235
|
+
casMisses(options) {
|
|
236
|
+
return new cloudwatch.Metric({
|
|
237
|
+
namespace: "AWS/ElastiCache",
|
|
238
|
+
metricName: "CasMisses",
|
|
239
|
+
dimensionsMap: this.dimensions,
|
|
240
|
+
statistic: "Sum",
|
|
241
|
+
...options
|
|
242
|
+
});
|
|
243
|
+
}
|
|
244
|
+
/**
|
|
245
|
+
* Sum of the CmdConfigGet metric
|
|
246
|
+
*
|
|
247
|
+
* @default - Sum over 5 minutes
|
|
248
|
+
*/
|
|
249
|
+
cmdConfigGet(options) {
|
|
250
|
+
return new cloudwatch.Metric({
|
|
251
|
+
namespace: "AWS/ElastiCache",
|
|
252
|
+
metricName: "CmdConfigGet",
|
|
253
|
+
dimensionsMap: this.dimensions,
|
|
254
|
+
statistic: "Sum",
|
|
255
|
+
...options
|
|
256
|
+
});
|
|
257
|
+
}
|
|
258
|
+
/**
|
|
259
|
+
* Sum of the CmdConfigSet metric
|
|
260
|
+
*
|
|
261
|
+
* @default - Sum over 5 minutes
|
|
262
|
+
*/
|
|
263
|
+
cmdConfigSet(options) {
|
|
264
|
+
return new cloudwatch.Metric({
|
|
265
|
+
namespace: "AWS/ElastiCache",
|
|
266
|
+
metricName: "CmdConfigSet",
|
|
267
|
+
dimensionsMap: this.dimensions,
|
|
268
|
+
statistic: "Sum",
|
|
269
|
+
...options
|
|
270
|
+
});
|
|
271
|
+
}
|
|
272
|
+
/**
|
|
273
|
+
* Sum of the CmdFlush metric
|
|
274
|
+
*
|
|
275
|
+
* @default - Sum over 5 minutes
|
|
276
|
+
*/
|
|
277
|
+
cmdFlush(options) {
|
|
278
|
+
return new cloudwatch.Metric({
|
|
279
|
+
namespace: "AWS/ElastiCache",
|
|
280
|
+
metricName: "CmdFlush",
|
|
281
|
+
dimensionsMap: this.dimensions,
|
|
282
|
+
statistic: "Sum",
|
|
283
|
+
...options
|
|
284
|
+
});
|
|
285
|
+
}
|
|
286
|
+
/**
|
|
287
|
+
* Sum of the CmdGet metric
|
|
288
|
+
*
|
|
289
|
+
* @default - Sum over 5 minutes
|
|
290
|
+
*/
|
|
291
|
+
cmdGet(options) {
|
|
292
|
+
return new cloudwatch.Metric({
|
|
293
|
+
namespace: "AWS/ElastiCache",
|
|
294
|
+
metricName: "CmdGet",
|
|
295
|
+
dimensionsMap: this.dimensions,
|
|
296
|
+
statistic: "Sum",
|
|
297
|
+
...options
|
|
298
|
+
});
|
|
299
|
+
}
|
|
300
|
+
/**
|
|
301
|
+
* Sum of the CmdSet metric
|
|
302
|
+
*
|
|
303
|
+
* @default - Sum over 5 minutes
|
|
304
|
+
*/
|
|
305
|
+
cmdSet(options) {
|
|
306
|
+
return new cloudwatch.Metric({
|
|
307
|
+
namespace: "AWS/ElastiCache",
|
|
308
|
+
metricName: "CmdSet",
|
|
309
|
+
dimensionsMap: this.dimensions,
|
|
310
|
+
statistic: "Sum",
|
|
311
|
+
...options
|
|
312
|
+
});
|
|
313
|
+
}
|
|
314
|
+
/**
|
|
315
|
+
* Sum of the CmdTouch metric
|
|
316
|
+
*
|
|
317
|
+
* @default - Sum over 5 minutes
|
|
318
|
+
*/
|
|
319
|
+
cmdTouch(options) {
|
|
320
|
+
return new cloudwatch.Metric({
|
|
321
|
+
namespace: "AWS/ElastiCache",
|
|
322
|
+
metricName: "CmdTouch",
|
|
323
|
+
dimensionsMap: this.dimensions,
|
|
324
|
+
statistic: "Sum",
|
|
325
|
+
...options
|
|
326
|
+
});
|
|
327
|
+
}
|
|
328
|
+
/**
|
|
329
|
+
* Sum of the CommandAuthorizationFailures metric
|
|
330
|
+
*
|
|
331
|
+
* @default - Sum over 5 minutes
|
|
332
|
+
*/
|
|
333
|
+
commandAuthorizationFailures(options) {
|
|
334
|
+
return new cloudwatch.Metric({
|
|
335
|
+
namespace: "AWS/ElastiCache",
|
|
336
|
+
metricName: "CommandAuthorizationFailures",
|
|
337
|
+
dimensionsMap: this.dimensions,
|
|
338
|
+
statistic: "Sum",
|
|
339
|
+
...options
|
|
340
|
+
});
|
|
341
|
+
}
|
|
342
|
+
/**
|
|
343
|
+
* Average of the CPUCreditBalance metric
|
|
344
|
+
*
|
|
345
|
+
* @default - Average over 5 minutes
|
|
346
|
+
*/
|
|
347
|
+
cpuCreditBalance(options) {
|
|
348
|
+
return new cloudwatch.Metric({
|
|
349
|
+
namespace: "AWS/ElastiCache",
|
|
350
|
+
metricName: "CPUCreditBalance",
|
|
351
|
+
dimensionsMap: this.dimensions,
|
|
352
|
+
statistic: "Average",
|
|
353
|
+
...options
|
|
354
|
+
});
|
|
355
|
+
}
|
|
356
|
+
/**
|
|
357
|
+
* Average of the CPUCreditUsage metric
|
|
358
|
+
*
|
|
359
|
+
* @default - Average over 5 minutes
|
|
360
|
+
*/
|
|
361
|
+
cpuCreditUsage(options) {
|
|
362
|
+
return new cloudwatch.Metric({
|
|
363
|
+
namespace: "AWS/ElastiCache",
|
|
364
|
+
metricName: "CPUCreditUsage",
|
|
365
|
+
dimensionsMap: this.dimensions,
|
|
366
|
+
statistic: "Average",
|
|
367
|
+
...options
|
|
368
|
+
});
|
|
369
|
+
}
|
|
370
|
+
/**
|
|
371
|
+
* Average of the CPUUtilization metric
|
|
372
|
+
*
|
|
373
|
+
* @default - Average over 5 minutes
|
|
374
|
+
*/
|
|
375
|
+
cpuUtilization(options) {
|
|
376
|
+
return new cloudwatch.Metric({
|
|
377
|
+
namespace: "AWS/ElastiCache",
|
|
378
|
+
metricName: "CPUUtilization",
|
|
379
|
+
dimensionsMap: this.dimensions,
|
|
380
|
+
statistic: "Average",
|
|
381
|
+
...options
|
|
382
|
+
});
|
|
383
|
+
}
|
|
384
|
+
/**
|
|
385
|
+
* Sum of the CurrConfig metric
|
|
386
|
+
*
|
|
387
|
+
* @default - Sum over 5 minutes
|
|
388
|
+
*/
|
|
389
|
+
currConfig(options) {
|
|
390
|
+
return new cloudwatch.Metric({
|
|
391
|
+
namespace: "AWS/ElastiCache",
|
|
392
|
+
metricName: "CurrConfig",
|
|
393
|
+
dimensionsMap: this.dimensions,
|
|
394
|
+
statistic: "Sum",
|
|
395
|
+
...options
|
|
396
|
+
});
|
|
397
|
+
}
|
|
398
|
+
/**
|
|
399
|
+
* Sum of the CurrConnections metric
|
|
400
|
+
*
|
|
401
|
+
* @default - Sum over 5 minutes
|
|
402
|
+
*/
|
|
403
|
+
currConnections(options) {
|
|
404
|
+
return new cloudwatch.Metric({
|
|
405
|
+
namespace: "AWS/ElastiCache",
|
|
406
|
+
metricName: "CurrConnections",
|
|
407
|
+
dimensionsMap: this.dimensions,
|
|
408
|
+
statistic: "Sum",
|
|
409
|
+
...options
|
|
410
|
+
});
|
|
411
|
+
}
|
|
412
|
+
/**
|
|
413
|
+
* Sum of the CurrItems metric
|
|
414
|
+
*
|
|
415
|
+
* @default - Sum over 5 minutes
|
|
416
|
+
*/
|
|
417
|
+
currItems(options) {
|
|
418
|
+
return new cloudwatch.Metric({
|
|
419
|
+
namespace: "AWS/ElastiCache",
|
|
420
|
+
metricName: "CurrItems",
|
|
421
|
+
dimensionsMap: this.dimensions,
|
|
422
|
+
statistic: "Sum",
|
|
423
|
+
...options
|
|
424
|
+
});
|
|
425
|
+
}
|
|
426
|
+
/**
|
|
427
|
+
* Average of the DatabaseMemoryUsagePercentage metric
|
|
428
|
+
*
|
|
429
|
+
* @default - Average over 5 minutes
|
|
430
|
+
*/
|
|
431
|
+
databaseMemoryUsagePercentage(options) {
|
|
432
|
+
return new cloudwatch.Metric({
|
|
433
|
+
namespace: "AWS/ElastiCache",
|
|
434
|
+
metricName: "DatabaseMemoryUsagePercentage",
|
|
435
|
+
dimensionsMap: this.dimensions,
|
|
436
|
+
statistic: "Average",
|
|
437
|
+
...options
|
|
438
|
+
});
|
|
439
|
+
}
|
|
440
|
+
/**
|
|
441
|
+
* Average of the DB0AverageTTL metric
|
|
442
|
+
*
|
|
443
|
+
* @default - Average over 5 minutes
|
|
444
|
+
*/
|
|
445
|
+
db0AverageTtl(options) {
|
|
446
|
+
return new cloudwatch.Metric({
|
|
447
|
+
namespace: "AWS/ElastiCache",
|
|
448
|
+
metricName: "DB0AverageTTL",
|
|
449
|
+
dimensionsMap: this.dimensions,
|
|
450
|
+
statistic: "Average",
|
|
451
|
+
...options
|
|
452
|
+
});
|
|
453
|
+
}
|
|
454
|
+
/**
|
|
455
|
+
* Sum of the DecrHits metric
|
|
456
|
+
*
|
|
457
|
+
* @default - Sum over 5 minutes
|
|
458
|
+
*/
|
|
459
|
+
decrHits(options) {
|
|
460
|
+
return new cloudwatch.Metric({
|
|
461
|
+
namespace: "AWS/ElastiCache",
|
|
462
|
+
metricName: "DecrHits",
|
|
463
|
+
dimensionsMap: this.dimensions,
|
|
464
|
+
statistic: "Sum",
|
|
465
|
+
...options
|
|
466
|
+
});
|
|
467
|
+
}
|
|
468
|
+
/**
|
|
469
|
+
* Sum of the DecrMisses metric
|
|
470
|
+
*
|
|
471
|
+
* @default - Sum over 5 minutes
|
|
472
|
+
*/
|
|
473
|
+
decrMisses(options) {
|
|
474
|
+
return new cloudwatch.Metric({
|
|
475
|
+
namespace: "AWS/ElastiCache",
|
|
476
|
+
metricName: "DecrMisses",
|
|
477
|
+
dimensionsMap: this.dimensions,
|
|
478
|
+
statistic: "Sum",
|
|
479
|
+
...options
|
|
480
|
+
});
|
|
481
|
+
}
|
|
482
|
+
/**
|
|
483
|
+
* Sum of the DeleteHits metric
|
|
484
|
+
*
|
|
485
|
+
* @default - Sum over 5 minutes
|
|
486
|
+
*/
|
|
487
|
+
deleteHits(options) {
|
|
488
|
+
return new cloudwatch.Metric({
|
|
489
|
+
namespace: "AWS/ElastiCache",
|
|
490
|
+
metricName: "DeleteHits",
|
|
491
|
+
dimensionsMap: this.dimensions,
|
|
492
|
+
statistic: "Sum",
|
|
493
|
+
...options
|
|
494
|
+
});
|
|
495
|
+
}
|
|
496
|
+
/**
|
|
497
|
+
* Sum of the DeleteMisses metric
|
|
498
|
+
*
|
|
499
|
+
* @default - Sum over 5 minutes
|
|
500
|
+
*/
|
|
501
|
+
deleteMisses(options) {
|
|
502
|
+
return new cloudwatch.Metric({
|
|
503
|
+
namespace: "AWS/ElastiCache",
|
|
504
|
+
metricName: "DeleteMisses",
|
|
505
|
+
dimensionsMap: this.dimensions,
|
|
506
|
+
statistic: "Sum",
|
|
507
|
+
...options
|
|
508
|
+
});
|
|
509
|
+
}
|
|
510
|
+
/**
|
|
511
|
+
* Average of the EngineCPUUtilization metric
|
|
512
|
+
*
|
|
513
|
+
* @default - Average over 5 minutes
|
|
514
|
+
*/
|
|
515
|
+
engineCpuUtilization(options) {
|
|
516
|
+
return new cloudwatch.Metric({
|
|
517
|
+
namespace: "AWS/ElastiCache",
|
|
518
|
+
metricName: "EngineCPUUtilization",
|
|
519
|
+
dimensionsMap: this.dimensions,
|
|
520
|
+
statistic: "Average",
|
|
521
|
+
...options
|
|
522
|
+
});
|
|
523
|
+
}
|
|
524
|
+
/**
|
|
525
|
+
* Sum of the EvalBasedCmds metric
|
|
526
|
+
*
|
|
527
|
+
* @default - Sum over 5 minutes
|
|
528
|
+
*/
|
|
529
|
+
evalBasedCmds(options) {
|
|
530
|
+
return new cloudwatch.Metric({
|
|
531
|
+
namespace: "AWS/ElastiCache",
|
|
532
|
+
metricName: "EvalBasedCmds",
|
|
533
|
+
dimensionsMap: this.dimensions,
|
|
534
|
+
statistic: "Sum",
|
|
535
|
+
...options
|
|
536
|
+
});
|
|
537
|
+
}
|
|
538
|
+
/**
|
|
539
|
+
* Average of the EvalBasedCmdsLatency metric
|
|
540
|
+
*
|
|
541
|
+
* @default - Average over 5 minutes
|
|
542
|
+
*/
|
|
543
|
+
evalBasedCmdsLatency(options) {
|
|
544
|
+
return new cloudwatch.Metric({
|
|
545
|
+
namespace: "AWS/ElastiCache",
|
|
546
|
+
metricName: "EvalBasedCmdsLatency",
|
|
547
|
+
dimensionsMap: this.dimensions,
|
|
548
|
+
statistic: "Average",
|
|
549
|
+
...options
|
|
550
|
+
});
|
|
551
|
+
}
|
|
552
|
+
/**
|
|
553
|
+
* Sum of the EvictedUnfetched metric
|
|
554
|
+
*
|
|
555
|
+
* @default - Sum over 5 minutes
|
|
556
|
+
*/
|
|
557
|
+
evictedUnfetched(options) {
|
|
558
|
+
return new cloudwatch.Metric({
|
|
559
|
+
namespace: "AWS/ElastiCache",
|
|
560
|
+
metricName: "EvictedUnfetched",
|
|
561
|
+
dimensionsMap: this.dimensions,
|
|
562
|
+
statistic: "Sum",
|
|
563
|
+
...options
|
|
564
|
+
});
|
|
565
|
+
}
|
|
566
|
+
/**
|
|
567
|
+
* Sum of the Evictions metric
|
|
568
|
+
*
|
|
569
|
+
* @default - Sum over 5 minutes
|
|
570
|
+
*/
|
|
571
|
+
evictions(options) {
|
|
572
|
+
return new cloudwatch.Metric({
|
|
573
|
+
namespace: "AWS/ElastiCache",
|
|
574
|
+
metricName: "Evictions",
|
|
575
|
+
dimensionsMap: this.dimensions,
|
|
576
|
+
statistic: "Sum",
|
|
577
|
+
...options
|
|
578
|
+
});
|
|
579
|
+
}
|
|
580
|
+
/**
|
|
581
|
+
* Sum of the ExpiredUnfetched metric
|
|
582
|
+
*
|
|
583
|
+
* @default - Sum over 5 minutes
|
|
584
|
+
*/
|
|
585
|
+
expiredUnfetched(options) {
|
|
586
|
+
return new cloudwatch.Metric({
|
|
587
|
+
namespace: "AWS/ElastiCache",
|
|
588
|
+
metricName: "ExpiredUnfetched",
|
|
589
|
+
dimensionsMap: this.dimensions,
|
|
590
|
+
statistic: "Sum",
|
|
591
|
+
...options
|
|
592
|
+
});
|
|
593
|
+
}
|
|
594
|
+
/**
|
|
595
|
+
* Average of the FreeableMemory metric
|
|
596
|
+
*
|
|
597
|
+
* @default - Average over 5 minutes
|
|
598
|
+
*/
|
|
599
|
+
freeableMemory(options) {
|
|
600
|
+
return new cloudwatch.Metric({
|
|
601
|
+
namespace: "AWS/ElastiCache",
|
|
602
|
+
metricName: "FreeableMemory",
|
|
603
|
+
dimensionsMap: this.dimensions,
|
|
604
|
+
statistic: "Average",
|
|
605
|
+
...options
|
|
606
|
+
});
|
|
607
|
+
}
|
|
608
|
+
/**
|
|
609
|
+
* Sum of the GeoSpatialBasedCmds metric
|
|
610
|
+
*
|
|
611
|
+
* @default - Sum over 5 minutes
|
|
612
|
+
*/
|
|
613
|
+
geoSpatialBasedCmds(options) {
|
|
614
|
+
return new cloudwatch.Metric({
|
|
615
|
+
namespace: "AWS/ElastiCache",
|
|
616
|
+
metricName: "GeoSpatialBasedCmds",
|
|
617
|
+
dimensionsMap: this.dimensions,
|
|
618
|
+
statistic: "Sum",
|
|
619
|
+
...options
|
|
620
|
+
});
|
|
621
|
+
}
|
|
622
|
+
/**
|
|
623
|
+
* Average of the GeoSpatialBasedCmdsLatency metric
|
|
624
|
+
*
|
|
625
|
+
* @default - Average over 5 minutes
|
|
626
|
+
*/
|
|
627
|
+
geoSpatialBasedCmdsLatency(options) {
|
|
628
|
+
return new cloudwatch.Metric({
|
|
629
|
+
namespace: "AWS/ElastiCache",
|
|
630
|
+
metricName: "GeoSpatialBasedCmdsLatency",
|
|
631
|
+
dimensionsMap: this.dimensions,
|
|
632
|
+
statistic: "Average",
|
|
633
|
+
...options
|
|
634
|
+
});
|
|
635
|
+
}
|
|
636
|
+
/**
|
|
637
|
+
* Sum of the GetHits metric
|
|
638
|
+
*
|
|
639
|
+
* @default - Sum over 5 minutes
|
|
640
|
+
*/
|
|
641
|
+
getHits(options) {
|
|
642
|
+
return new cloudwatch.Metric({
|
|
643
|
+
namespace: "AWS/ElastiCache",
|
|
644
|
+
metricName: "GetHits",
|
|
645
|
+
dimensionsMap: this.dimensions,
|
|
646
|
+
statistic: "Sum",
|
|
647
|
+
...options
|
|
648
|
+
});
|
|
649
|
+
}
|
|
650
|
+
/**
|
|
651
|
+
* Sum of the GetMisses metric
|
|
652
|
+
*
|
|
653
|
+
* @default - Sum over 5 minutes
|
|
654
|
+
*/
|
|
655
|
+
getMisses(options) {
|
|
656
|
+
return new cloudwatch.Metric({
|
|
657
|
+
namespace: "AWS/ElastiCache",
|
|
658
|
+
metricName: "GetMisses",
|
|
659
|
+
dimensionsMap: this.dimensions,
|
|
660
|
+
statistic: "Sum",
|
|
661
|
+
...options
|
|
662
|
+
});
|
|
663
|
+
}
|
|
664
|
+
/**
|
|
665
|
+
* Sum of the GetTypeCmds metric
|
|
666
|
+
*
|
|
667
|
+
* @default - Sum over 5 minutes
|
|
668
|
+
*/
|
|
669
|
+
getTypeCmds(options) {
|
|
670
|
+
return new cloudwatch.Metric({
|
|
671
|
+
namespace: "AWS/ElastiCache",
|
|
672
|
+
metricName: "GetTypeCmds",
|
|
673
|
+
dimensionsMap: this.dimensions,
|
|
674
|
+
statistic: "Sum",
|
|
675
|
+
...options
|
|
676
|
+
});
|
|
677
|
+
}
|
|
678
|
+
/**
|
|
679
|
+
* Average of the GetTypeCmdsLatency metric
|
|
680
|
+
*
|
|
681
|
+
* @default - Average over 5 minutes
|
|
682
|
+
*/
|
|
683
|
+
getTypeCmdsLatency(options) {
|
|
684
|
+
return new cloudwatch.Metric({
|
|
685
|
+
namespace: "AWS/ElastiCache",
|
|
686
|
+
metricName: "GetTypeCmdsLatency",
|
|
687
|
+
dimensionsMap: this.dimensions,
|
|
688
|
+
statistic: "Average",
|
|
689
|
+
...options
|
|
690
|
+
});
|
|
691
|
+
}
|
|
692
|
+
/**
|
|
693
|
+
* Sum of the HashBasedCmds metric
|
|
694
|
+
*
|
|
695
|
+
* @default - Sum over 5 minutes
|
|
696
|
+
*/
|
|
697
|
+
hashBasedCmds(options) {
|
|
698
|
+
return new cloudwatch.Metric({
|
|
699
|
+
namespace: "AWS/ElastiCache",
|
|
700
|
+
metricName: "HashBasedCmds",
|
|
701
|
+
dimensionsMap: this.dimensions,
|
|
702
|
+
statistic: "Sum",
|
|
703
|
+
...options
|
|
704
|
+
});
|
|
705
|
+
}
|
|
706
|
+
/**
|
|
707
|
+
* Average of the HashBasedCmdsLatency metric
|
|
708
|
+
*
|
|
709
|
+
* @default - Average over 5 minutes
|
|
710
|
+
*/
|
|
711
|
+
hashBasedCmdsLatency(options) {
|
|
712
|
+
return new cloudwatch.Metric({
|
|
713
|
+
namespace: "AWS/ElastiCache",
|
|
714
|
+
metricName: "HashBasedCmdsLatency",
|
|
715
|
+
dimensionsMap: this.dimensions,
|
|
716
|
+
statistic: "Average",
|
|
717
|
+
...options
|
|
718
|
+
});
|
|
719
|
+
}
|
|
720
|
+
/**
|
|
721
|
+
* Sum of the HyperLogLogBasedCmds metric
|
|
722
|
+
*
|
|
723
|
+
* @default - Sum over 5 minutes
|
|
724
|
+
*/
|
|
725
|
+
hyperLogLogBasedCmds(options) {
|
|
726
|
+
return new cloudwatch.Metric({
|
|
727
|
+
namespace: "AWS/ElastiCache",
|
|
728
|
+
metricName: "HyperLogLogBasedCmds",
|
|
729
|
+
dimensionsMap: this.dimensions,
|
|
730
|
+
statistic: "Sum",
|
|
731
|
+
...options
|
|
732
|
+
});
|
|
733
|
+
}
|
|
734
|
+
/**
|
|
735
|
+
* Average of the HyperLogLogBasedCmdsLatency metric
|
|
736
|
+
*
|
|
737
|
+
* @default - Average over 5 minutes
|
|
738
|
+
*/
|
|
739
|
+
hyperLogLogBasedCmdsLatency(options) {
|
|
740
|
+
return new cloudwatch.Metric({
|
|
741
|
+
namespace: "AWS/ElastiCache",
|
|
742
|
+
metricName: "HyperLogLogBasedCmdsLatency",
|
|
743
|
+
dimensionsMap: this.dimensions,
|
|
744
|
+
statistic: "Average",
|
|
745
|
+
...options
|
|
746
|
+
});
|
|
747
|
+
}
|
|
748
|
+
/**
|
|
749
|
+
* Sum of the IncrHits metric
|
|
750
|
+
*
|
|
751
|
+
* @default - Sum over 5 minutes
|
|
752
|
+
*/
|
|
753
|
+
incrHits(options) {
|
|
754
|
+
return new cloudwatch.Metric({
|
|
755
|
+
namespace: "AWS/ElastiCache",
|
|
756
|
+
metricName: "IncrHits",
|
|
757
|
+
dimensionsMap: this.dimensions,
|
|
758
|
+
statistic: "Sum",
|
|
759
|
+
...options
|
|
760
|
+
});
|
|
761
|
+
}
|
|
762
|
+
/**
|
|
763
|
+
* Sum of the IncrMisses metric
|
|
764
|
+
*
|
|
765
|
+
* @default - Sum over 5 minutes
|
|
766
|
+
*/
|
|
767
|
+
incrMisses(options) {
|
|
768
|
+
return new cloudwatch.Metric({
|
|
769
|
+
namespace: "AWS/ElastiCache",
|
|
770
|
+
metricName: "IncrMisses",
|
|
771
|
+
dimensionsMap: this.dimensions,
|
|
772
|
+
statistic: "Sum",
|
|
773
|
+
...options
|
|
774
|
+
});
|
|
775
|
+
}
|
|
776
|
+
/**
|
|
777
|
+
* Average of the IsMaster metric
|
|
778
|
+
*
|
|
779
|
+
* @default - Average over 5 minutes
|
|
780
|
+
*/
|
|
781
|
+
isMaster(options) {
|
|
782
|
+
return new cloudwatch.Metric({
|
|
783
|
+
namespace: "AWS/ElastiCache",
|
|
784
|
+
metricName: "IsMaster",
|
|
785
|
+
dimensionsMap: this.dimensions,
|
|
786
|
+
statistic: "Average",
|
|
787
|
+
...options
|
|
788
|
+
});
|
|
789
|
+
}
|
|
790
|
+
/**
|
|
791
|
+
* Sum of the KeyAuthorizationFailures metric
|
|
792
|
+
*
|
|
793
|
+
* @default - Sum over 5 minutes
|
|
794
|
+
*/
|
|
795
|
+
keyAuthorizationFailures(options) {
|
|
796
|
+
return new cloudwatch.Metric({
|
|
797
|
+
namespace: "AWS/ElastiCache",
|
|
798
|
+
metricName: "KeyAuthorizationFailures",
|
|
799
|
+
dimensionsMap: this.dimensions,
|
|
800
|
+
statistic: "Sum",
|
|
801
|
+
...options
|
|
802
|
+
});
|
|
803
|
+
}
|
|
804
|
+
/**
|
|
805
|
+
* Sum of the KeyBasedCmds metric
|
|
806
|
+
*
|
|
807
|
+
* @default - Sum over 5 minutes
|
|
808
|
+
*/
|
|
809
|
+
keyBasedCmds(options) {
|
|
810
|
+
return new cloudwatch.Metric({
|
|
811
|
+
namespace: "AWS/ElastiCache",
|
|
812
|
+
metricName: "KeyBasedCmds",
|
|
813
|
+
dimensionsMap: this.dimensions,
|
|
814
|
+
statistic: "Sum",
|
|
815
|
+
...options
|
|
816
|
+
});
|
|
817
|
+
}
|
|
818
|
+
/**
|
|
819
|
+
* Average of the KeyBasedCmdsLatency metric
|
|
820
|
+
*
|
|
821
|
+
* @default - Average over 5 minutes
|
|
822
|
+
*/
|
|
823
|
+
keyBasedCmdsLatency(options) {
|
|
824
|
+
return new cloudwatch.Metric({
|
|
825
|
+
namespace: "AWS/ElastiCache",
|
|
826
|
+
metricName: "KeyBasedCmdsLatency",
|
|
827
|
+
dimensionsMap: this.dimensions,
|
|
828
|
+
statistic: "Average",
|
|
829
|
+
...options
|
|
830
|
+
});
|
|
831
|
+
}
|
|
832
|
+
/**
|
|
833
|
+
* Sum of the KeysTracked metric
|
|
834
|
+
*
|
|
835
|
+
* @default - Sum over 5 minutes
|
|
836
|
+
*/
|
|
837
|
+
keysTracked(options) {
|
|
838
|
+
return new cloudwatch.Metric({
|
|
839
|
+
namespace: "AWS/ElastiCache",
|
|
840
|
+
metricName: "KeysTracked",
|
|
841
|
+
dimensionsMap: this.dimensions,
|
|
842
|
+
statistic: "Sum",
|
|
843
|
+
...options
|
|
844
|
+
});
|
|
845
|
+
}
|
|
846
|
+
/**
|
|
847
|
+
* Sum of the ListBasedCmds metric
|
|
848
|
+
*
|
|
849
|
+
* @default - Sum over 5 minutes
|
|
850
|
+
*/
|
|
851
|
+
listBasedCmds(options) {
|
|
852
|
+
return new cloudwatch.Metric({
|
|
853
|
+
namespace: "AWS/ElastiCache",
|
|
854
|
+
metricName: "ListBasedCmds",
|
|
855
|
+
dimensionsMap: this.dimensions,
|
|
856
|
+
statistic: "Sum",
|
|
857
|
+
...options
|
|
858
|
+
});
|
|
859
|
+
}
|
|
860
|
+
/**
|
|
861
|
+
* Average of the ListBasedCmdsLatency metric
|
|
862
|
+
*
|
|
863
|
+
* @default - Average over 5 minutes
|
|
864
|
+
*/
|
|
865
|
+
listBasedCmdsLatency(options) {
|
|
866
|
+
return new cloudwatch.Metric({
|
|
867
|
+
namespace: "AWS/ElastiCache",
|
|
868
|
+
metricName: "ListBasedCmdsLatency",
|
|
869
|
+
dimensionsMap: this.dimensions,
|
|
870
|
+
statistic: "Average",
|
|
871
|
+
...options
|
|
872
|
+
});
|
|
873
|
+
}
|
|
874
|
+
/**
|
|
875
|
+
* Average of the MasterLinkHealthStatus metric
|
|
876
|
+
*
|
|
877
|
+
* @default - Average over 5 minutes
|
|
878
|
+
*/
|
|
879
|
+
masterLinkHealthStatus(options) {
|
|
880
|
+
return new cloudwatch.Metric({
|
|
881
|
+
namespace: "AWS/ElastiCache",
|
|
882
|
+
metricName: "MasterLinkHealthStatus",
|
|
883
|
+
dimensionsMap: this.dimensions,
|
|
884
|
+
statistic: "Average",
|
|
885
|
+
...options
|
|
886
|
+
});
|
|
887
|
+
}
|
|
888
|
+
/**
|
|
889
|
+
* Average of the MemoryFragmentationRatio metric
|
|
890
|
+
*
|
|
891
|
+
* @default - Average over 5 minutes
|
|
892
|
+
*/
|
|
893
|
+
memoryFragmentationRatio(options) {
|
|
894
|
+
return new cloudwatch.Metric({
|
|
895
|
+
namespace: "AWS/ElastiCache",
|
|
896
|
+
metricName: "MemoryFragmentationRatio",
|
|
897
|
+
dimensionsMap: this.dimensions,
|
|
898
|
+
statistic: "Average",
|
|
899
|
+
...options
|
|
900
|
+
});
|
|
901
|
+
}
|
|
902
|
+
/**
|
|
903
|
+
* Average of the NetworkBandwidthInAllowanceExceeded metric
|
|
904
|
+
*
|
|
905
|
+
* @default - Average over 5 minutes
|
|
906
|
+
*/
|
|
907
|
+
networkBandwidthInAllowanceExceeded(options) {
|
|
908
|
+
return new cloudwatch.Metric({
|
|
909
|
+
namespace: "AWS/ElastiCache",
|
|
910
|
+
metricName: "NetworkBandwidthInAllowanceExceeded",
|
|
911
|
+
dimensionsMap: this.dimensions,
|
|
912
|
+
statistic: "Average",
|
|
913
|
+
...options
|
|
914
|
+
});
|
|
915
|
+
}
|
|
916
|
+
/**
|
|
917
|
+
* Average of the NetworkBandwidthOutAllowanceExceeded metric
|
|
918
|
+
*
|
|
919
|
+
* @default - Average over 5 minutes
|
|
920
|
+
*/
|
|
921
|
+
networkBandwidthOutAllowanceExceeded(options) {
|
|
922
|
+
return new cloudwatch.Metric({
|
|
923
|
+
namespace: "AWS/ElastiCache",
|
|
924
|
+
metricName: "NetworkBandwidthOutAllowanceExceeded",
|
|
925
|
+
dimensionsMap: this.dimensions,
|
|
926
|
+
statistic: "Average",
|
|
927
|
+
...options
|
|
928
|
+
});
|
|
929
|
+
}
|
|
930
|
+
/**
|
|
931
|
+
* Average of the NetworkBytesIn metric
|
|
932
|
+
*
|
|
933
|
+
* @default - Average over 5 minutes
|
|
934
|
+
*/
|
|
935
|
+
networkBytesIn(options) {
|
|
936
|
+
return new cloudwatch.Metric({
|
|
937
|
+
namespace: "AWS/ElastiCache",
|
|
938
|
+
metricName: "NetworkBytesIn",
|
|
939
|
+
dimensionsMap: this.dimensions,
|
|
940
|
+
statistic: "Average",
|
|
941
|
+
...options
|
|
942
|
+
});
|
|
943
|
+
}
|
|
944
|
+
/**
|
|
945
|
+
* Average of the NetworkBytesOut metric
|
|
946
|
+
*
|
|
947
|
+
* @default - Average over 5 minutes
|
|
948
|
+
*/
|
|
949
|
+
networkBytesOut(options) {
|
|
950
|
+
return new cloudwatch.Metric({
|
|
951
|
+
namespace: "AWS/ElastiCache",
|
|
952
|
+
metricName: "NetworkBytesOut",
|
|
953
|
+
dimensionsMap: this.dimensions,
|
|
954
|
+
statistic: "Average",
|
|
955
|
+
...options
|
|
956
|
+
});
|
|
957
|
+
}
|
|
958
|
+
/**
|
|
959
|
+
* Average of the NetworkConntrackAllowanceExceeded metric
|
|
960
|
+
*
|
|
961
|
+
* @default - Average over 5 minutes
|
|
962
|
+
*/
|
|
963
|
+
networkConntrackAllowanceExceeded(options) {
|
|
964
|
+
return new cloudwatch.Metric({
|
|
965
|
+
namespace: "AWS/ElastiCache",
|
|
966
|
+
metricName: "NetworkConntrackAllowanceExceeded",
|
|
967
|
+
dimensionsMap: this.dimensions,
|
|
968
|
+
statistic: "Average",
|
|
969
|
+
...options
|
|
970
|
+
});
|
|
971
|
+
}
|
|
972
|
+
/**
|
|
973
|
+
* Average of the NetworkLinkLocalAllowanceExceeded metric
|
|
974
|
+
*
|
|
975
|
+
* @default - Average over 5 minutes
|
|
976
|
+
*/
|
|
977
|
+
networkLinkLocalAllowanceExceeded(options) {
|
|
978
|
+
return new cloudwatch.Metric({
|
|
979
|
+
namespace: "AWS/ElastiCache",
|
|
980
|
+
metricName: "NetworkLinkLocalAllowanceExceeded",
|
|
981
|
+
dimensionsMap: this.dimensions,
|
|
982
|
+
statistic: "Average",
|
|
983
|
+
...options
|
|
984
|
+
});
|
|
985
|
+
}
|
|
986
|
+
/**
|
|
987
|
+
* Average of the NetworkPacketsIn metric
|
|
988
|
+
*
|
|
989
|
+
* @default - Average over 5 minutes
|
|
990
|
+
*/
|
|
991
|
+
networkPacketsIn(options) {
|
|
992
|
+
return new cloudwatch.Metric({
|
|
993
|
+
namespace: "AWS/ElastiCache",
|
|
994
|
+
metricName: "NetworkPacketsIn",
|
|
995
|
+
dimensionsMap: this.dimensions,
|
|
996
|
+
statistic: "Average",
|
|
997
|
+
...options
|
|
998
|
+
});
|
|
999
|
+
}
|
|
1000
|
+
/**
|
|
1001
|
+
* Average of the NetworkPacketsOut metric
|
|
1002
|
+
*
|
|
1003
|
+
* @default - Average over 5 minutes
|
|
1004
|
+
*/
|
|
1005
|
+
networkPacketsOut(options) {
|
|
1006
|
+
return new cloudwatch.Metric({
|
|
1007
|
+
namespace: "AWS/ElastiCache",
|
|
1008
|
+
metricName: "NetworkPacketsOut",
|
|
1009
|
+
dimensionsMap: this.dimensions,
|
|
1010
|
+
statistic: "Average",
|
|
1011
|
+
...options
|
|
1012
|
+
});
|
|
1013
|
+
}
|
|
1014
|
+
/**
|
|
1015
|
+
* Average of the NetworkPacketsPerSecondAllowanceExceeded metric
|
|
1016
|
+
*
|
|
1017
|
+
* @default - Average over 5 minutes
|
|
1018
|
+
*/
|
|
1019
|
+
networkPacketsPerSecondAllowanceExceeded(options) {
|
|
1020
|
+
return new cloudwatch.Metric({
|
|
1021
|
+
namespace: "AWS/ElastiCache",
|
|
1022
|
+
metricName: "NetworkPacketsPerSecondAllowanceExceeded",
|
|
1023
|
+
dimensionsMap: this.dimensions,
|
|
1024
|
+
statistic: "Average",
|
|
1025
|
+
...options
|
|
1026
|
+
});
|
|
1027
|
+
}
|
|
1028
|
+
/**
|
|
1029
|
+
* Sum of the NewConnections metric
|
|
1030
|
+
*
|
|
1031
|
+
* @default - Sum over 5 minutes
|
|
1032
|
+
*/
|
|
1033
|
+
newConnections(options) {
|
|
1034
|
+
return new cloudwatch.Metric({
|
|
1035
|
+
namespace: "AWS/ElastiCache",
|
|
1036
|
+
metricName: "NewConnections",
|
|
1037
|
+
dimensionsMap: this.dimensions,
|
|
1038
|
+
statistic: "Sum",
|
|
1039
|
+
...options
|
|
1040
|
+
});
|
|
1041
|
+
}
|
|
1042
|
+
/**
|
|
1043
|
+
* Sum of the NewItems metric
|
|
1044
|
+
*
|
|
1045
|
+
* @default - Sum over 5 minutes
|
|
1046
|
+
*/
|
|
1047
|
+
newItems(options) {
|
|
1048
|
+
return new cloudwatch.Metric({
|
|
1049
|
+
namespace: "AWS/ElastiCache",
|
|
1050
|
+
metricName: "NewItems",
|
|
1051
|
+
dimensionsMap: this.dimensions,
|
|
1052
|
+
statistic: "Sum",
|
|
1053
|
+
...options
|
|
1054
|
+
});
|
|
1055
|
+
}
|
|
1056
|
+
/**
|
|
1057
|
+
* Sum of the PubSubBasedCmds metric
|
|
1058
|
+
*
|
|
1059
|
+
* @default - Sum over 5 minutes
|
|
1060
|
+
*/
|
|
1061
|
+
pubSubBasedCmds(options) {
|
|
1062
|
+
return new cloudwatch.Metric({
|
|
1063
|
+
namespace: "AWS/ElastiCache",
|
|
1064
|
+
metricName: "PubSubBasedCmds",
|
|
1065
|
+
dimensionsMap: this.dimensions,
|
|
1066
|
+
statistic: "Sum",
|
|
1067
|
+
...options
|
|
1068
|
+
});
|
|
1069
|
+
}
|
|
1070
|
+
/**
|
|
1071
|
+
* Average of the PubSubBasedCmdsLatency metric
|
|
1072
|
+
*
|
|
1073
|
+
* @default - Average over 5 minutes
|
|
1074
|
+
*/
|
|
1075
|
+
pubSubBasedCmdsLatency(options) {
|
|
1076
|
+
return new cloudwatch.Metric({
|
|
1077
|
+
namespace: "AWS/ElastiCache",
|
|
1078
|
+
metricName: "PubSubBasedCmdsLatency",
|
|
1079
|
+
dimensionsMap: this.dimensions,
|
|
1080
|
+
statistic: "Average",
|
|
1081
|
+
...options
|
|
1082
|
+
});
|
|
1083
|
+
}
|
|
1084
|
+
/**
|
|
1085
|
+
* Sum of the Reclaimed metric
|
|
1086
|
+
*
|
|
1087
|
+
* @default - Sum over 5 minutes
|
|
1088
|
+
*/
|
|
1089
|
+
reclaimed(options) {
|
|
1090
|
+
return new cloudwatch.Metric({
|
|
1091
|
+
namespace: "AWS/ElastiCache",
|
|
1092
|
+
metricName: "Reclaimed",
|
|
1093
|
+
dimensionsMap: this.dimensions,
|
|
1094
|
+
statistic: "Sum",
|
|
1095
|
+
...options
|
|
1096
|
+
});
|
|
1097
|
+
}
|
|
1098
|
+
/**
|
|
1099
|
+
* Sum of the ReplicationBytes metric
|
|
1100
|
+
*
|
|
1101
|
+
* @default - Sum over 5 minutes
|
|
1102
|
+
*/
|
|
1103
|
+
replicationBytes(options) {
|
|
1104
|
+
return new cloudwatch.Metric({
|
|
1105
|
+
namespace: "AWS/ElastiCache",
|
|
1106
|
+
metricName: "ReplicationBytes",
|
|
1107
|
+
dimensionsMap: this.dimensions,
|
|
1108
|
+
statistic: "Sum",
|
|
1109
|
+
...options
|
|
1110
|
+
});
|
|
1111
|
+
}
|
|
1112
|
+
/**
|
|
1113
|
+
* Average of the ReplicationLag metric
|
|
1114
|
+
*
|
|
1115
|
+
* @default - Average over 5 minutes
|
|
1116
|
+
*/
|
|
1117
|
+
replicationLag(options) {
|
|
1118
|
+
return new cloudwatch.Metric({
|
|
1119
|
+
namespace: "AWS/ElastiCache",
|
|
1120
|
+
metricName: "ReplicationLag",
|
|
1121
|
+
dimensionsMap: this.dimensions,
|
|
1122
|
+
statistic: "Average",
|
|
1123
|
+
...options
|
|
1124
|
+
});
|
|
1125
|
+
}
|
|
1126
|
+
/**
|
|
1127
|
+
* Sum of the SaveInProgress metric
|
|
1128
|
+
*
|
|
1129
|
+
* @default - Sum over 5 minutes
|
|
1130
|
+
*/
|
|
1131
|
+
saveInProgress(options) {
|
|
1132
|
+
return new cloudwatch.Metric({
|
|
1133
|
+
namespace: "AWS/ElastiCache",
|
|
1134
|
+
metricName: "SaveInProgress",
|
|
1135
|
+
dimensionsMap: this.dimensions,
|
|
1136
|
+
statistic: "Sum",
|
|
1137
|
+
...options
|
|
1138
|
+
});
|
|
1139
|
+
}
|
|
1140
|
+
/**
|
|
1141
|
+
* Sum of the SetBasedCmds metric
|
|
1142
|
+
*
|
|
1143
|
+
* @default - Sum over 5 minutes
|
|
1144
|
+
*/
|
|
1145
|
+
setBasedCmds(options) {
|
|
1146
|
+
return new cloudwatch.Metric({
|
|
1147
|
+
namespace: "AWS/ElastiCache",
|
|
1148
|
+
metricName: "SetBasedCmds",
|
|
1149
|
+
dimensionsMap: this.dimensions,
|
|
1150
|
+
statistic: "Sum",
|
|
1151
|
+
...options
|
|
1152
|
+
});
|
|
1153
|
+
}
|
|
1154
|
+
/**
|
|
1155
|
+
* Average of the SetBasedCmdsLatency metric
|
|
1156
|
+
*
|
|
1157
|
+
* @default - Average over 5 minutes
|
|
1158
|
+
*/
|
|
1159
|
+
setBasedCmdsLatency(options) {
|
|
1160
|
+
return new cloudwatch.Metric({
|
|
1161
|
+
namespace: "AWS/ElastiCache",
|
|
1162
|
+
metricName: "SetBasedCmdsLatency",
|
|
1163
|
+
dimensionsMap: this.dimensions,
|
|
1164
|
+
statistic: "Average",
|
|
1165
|
+
...options
|
|
1166
|
+
});
|
|
1167
|
+
}
|
|
1168
|
+
/**
|
|
1169
|
+
* Sum of the SetTypeCmds metric
|
|
1170
|
+
*
|
|
1171
|
+
* @default - Sum over 5 minutes
|
|
1172
|
+
*/
|
|
1173
|
+
setTypeCmds(options) {
|
|
1174
|
+
return new cloudwatch.Metric({
|
|
1175
|
+
namespace: "AWS/ElastiCache",
|
|
1176
|
+
metricName: "SetTypeCmds",
|
|
1177
|
+
dimensionsMap: this.dimensions,
|
|
1178
|
+
statistic: "Sum",
|
|
1179
|
+
...options
|
|
1180
|
+
});
|
|
1181
|
+
}
|
|
1182
|
+
/**
|
|
1183
|
+
* Average of the SetTypeCmdsLatency metric
|
|
1184
|
+
*
|
|
1185
|
+
* @default - Average over 5 minutes
|
|
1186
|
+
*/
|
|
1187
|
+
setTypeCmdsLatency(options) {
|
|
1188
|
+
return new cloudwatch.Metric({
|
|
1189
|
+
namespace: "AWS/ElastiCache",
|
|
1190
|
+
metricName: "SetTypeCmdsLatency",
|
|
1191
|
+
dimensionsMap: this.dimensions,
|
|
1192
|
+
statistic: "Average",
|
|
1193
|
+
...options
|
|
1194
|
+
});
|
|
1195
|
+
}
|
|
1196
|
+
/**
|
|
1197
|
+
* Sum of the SlabsMoved metric
|
|
1198
|
+
*
|
|
1199
|
+
* @default - Sum over 5 minutes
|
|
1200
|
+
*/
|
|
1201
|
+
slabsMoved(options) {
|
|
1202
|
+
return new cloudwatch.Metric({
|
|
1203
|
+
namespace: "AWS/ElastiCache",
|
|
1204
|
+
metricName: "SlabsMoved",
|
|
1205
|
+
dimensionsMap: this.dimensions,
|
|
1206
|
+
statistic: "Sum",
|
|
1207
|
+
...options
|
|
1208
|
+
});
|
|
1209
|
+
}
|
|
1210
|
+
/**
|
|
1211
|
+
* Sum of the SortedSetBasedCmds metric
|
|
1212
|
+
*
|
|
1213
|
+
* @default - Sum over 5 minutes
|
|
1214
|
+
*/
|
|
1215
|
+
sortedSetBasedCmds(options) {
|
|
1216
|
+
return new cloudwatch.Metric({
|
|
1217
|
+
namespace: "AWS/ElastiCache",
|
|
1218
|
+
metricName: "SortedSetBasedCmds",
|
|
1219
|
+
dimensionsMap: this.dimensions,
|
|
1220
|
+
statistic: "Sum",
|
|
1221
|
+
...options
|
|
1222
|
+
});
|
|
1223
|
+
}
|
|
1224
|
+
/**
|
|
1225
|
+
* Average of the SortedSetBasedCmdsLatency metric
|
|
1226
|
+
*
|
|
1227
|
+
* @default - Average over 5 minutes
|
|
1228
|
+
*/
|
|
1229
|
+
sortedSetBasedCmdsLatency(options) {
|
|
1230
|
+
return new cloudwatch.Metric({
|
|
1231
|
+
namespace: "AWS/ElastiCache",
|
|
1232
|
+
metricName: "SortedSetBasedCmdsLatency",
|
|
1233
|
+
dimensionsMap: this.dimensions,
|
|
1234
|
+
statistic: "Average",
|
|
1235
|
+
...options
|
|
1236
|
+
});
|
|
1237
|
+
}
|
|
1238
|
+
/**
|
|
1239
|
+
* Sum of the StreamBasedCmds metric
|
|
1240
|
+
*
|
|
1241
|
+
* @default - Sum over 5 minutes
|
|
1242
|
+
*/
|
|
1243
|
+
streamBasedCmds(options) {
|
|
1244
|
+
return new cloudwatch.Metric({
|
|
1245
|
+
namespace: "AWS/ElastiCache",
|
|
1246
|
+
metricName: "StreamBasedCmds",
|
|
1247
|
+
dimensionsMap: this.dimensions,
|
|
1248
|
+
statistic: "Sum",
|
|
1249
|
+
...options
|
|
1250
|
+
});
|
|
1251
|
+
}
|
|
1252
|
+
/**
|
|
1253
|
+
* Average of the StreamBasedCmdsLatency metric
|
|
1254
|
+
*
|
|
1255
|
+
* @default - Average over 5 minutes
|
|
1256
|
+
*/
|
|
1257
|
+
streamBasedCmdsLatency(options) {
|
|
1258
|
+
return new cloudwatch.Metric({
|
|
1259
|
+
namespace: "AWS/ElastiCache",
|
|
1260
|
+
metricName: "StreamBasedCmdsLatency",
|
|
1261
|
+
dimensionsMap: this.dimensions,
|
|
1262
|
+
statistic: "Average",
|
|
1263
|
+
...options
|
|
1264
|
+
});
|
|
1265
|
+
}
|
|
1266
|
+
/**
|
|
1267
|
+
* Sum of the StringBasedCmds metric
|
|
1268
|
+
*
|
|
1269
|
+
* @default - Sum over 5 minutes
|
|
1270
|
+
*/
|
|
1271
|
+
stringBasedCmds(options) {
|
|
1272
|
+
return new cloudwatch.Metric({
|
|
1273
|
+
namespace: "AWS/ElastiCache",
|
|
1274
|
+
metricName: "StringBasedCmds",
|
|
1275
|
+
dimensionsMap: this.dimensions,
|
|
1276
|
+
statistic: "Sum",
|
|
1277
|
+
...options
|
|
1278
|
+
});
|
|
1279
|
+
}
|
|
1280
|
+
/**
|
|
1281
|
+
* Average of the StringBasedCmdsLatency metric
|
|
1282
|
+
*
|
|
1283
|
+
* @default - Average over 5 minutes
|
|
1284
|
+
*/
|
|
1285
|
+
stringBasedCmdsLatency(options) {
|
|
1286
|
+
return new cloudwatch.Metric({
|
|
1287
|
+
namespace: "AWS/ElastiCache",
|
|
1288
|
+
metricName: "StringBasedCmdsLatency",
|
|
1289
|
+
dimensionsMap: this.dimensions,
|
|
1290
|
+
statistic: "Average",
|
|
1291
|
+
...options
|
|
1292
|
+
});
|
|
1293
|
+
}
|
|
1294
|
+
/**
|
|
1295
|
+
* Average of the SwapUsage metric
|
|
1296
|
+
*
|
|
1297
|
+
* @default - Average over 5 minutes
|
|
1298
|
+
*/
|
|
1299
|
+
swapUsage(options) {
|
|
1300
|
+
return new cloudwatch.Metric({
|
|
1301
|
+
namespace: "AWS/ElastiCache",
|
|
1302
|
+
metricName: "SwapUsage",
|
|
1303
|
+
dimensionsMap: this.dimensions,
|
|
1304
|
+
statistic: "Average",
|
|
1305
|
+
...options
|
|
1306
|
+
});
|
|
1307
|
+
}
|
|
1308
|
+
/**
|
|
1309
|
+
* Sum of the TouchHits metric
|
|
1310
|
+
*
|
|
1311
|
+
* @default - Sum over 5 minutes
|
|
1312
|
+
*/
|
|
1313
|
+
touchHits(options) {
|
|
1314
|
+
return new cloudwatch.Metric({
|
|
1315
|
+
namespace: "AWS/ElastiCache",
|
|
1316
|
+
metricName: "TouchHits",
|
|
1317
|
+
dimensionsMap: this.dimensions,
|
|
1318
|
+
statistic: "Sum",
|
|
1319
|
+
...options
|
|
1320
|
+
});
|
|
1321
|
+
}
|
|
1322
|
+
/**
|
|
1323
|
+
* Sum of the TouchMisses metric
|
|
1324
|
+
*
|
|
1325
|
+
* @default - Sum over 5 minutes
|
|
1326
|
+
*/
|
|
1327
|
+
touchMisses(options) {
|
|
1328
|
+
return new cloudwatch.Metric({
|
|
1329
|
+
namespace: "AWS/ElastiCache",
|
|
1330
|
+
metricName: "TouchMisses",
|
|
1331
|
+
dimensionsMap: this.dimensions,
|
|
1332
|
+
statistic: "Sum",
|
|
1333
|
+
...options
|
|
1334
|
+
});
|
|
1335
|
+
}
|
|
1336
|
+
/**
|
|
1337
|
+
* Average of the UnusedMemory metric
|
|
1338
|
+
*
|
|
1339
|
+
* @default - Average over 5 minutes
|
|
1340
|
+
*/
|
|
1341
|
+
unusedMemory(options) {
|
|
1342
|
+
return new cloudwatch.Metric({
|
|
1343
|
+
namespace: "AWS/ElastiCache",
|
|
1344
|
+
metricName: "UnusedMemory",
|
|
1345
|
+
dimensionsMap: this.dimensions,
|
|
1346
|
+
statistic: "Average",
|
|
1347
|
+
...options
|
|
1348
|
+
});
|
|
1349
|
+
}
|
|
1350
|
+
}
|
|
1351
|
+
ElastiCacheMetrics.CacheClusterMetrics = CacheClusterMetrics;
|
|
1352
|
+
/**
|
|
1353
|
+
* Metrics for dimension set: CacheNode {CacheClusterId, CacheNodeId}
|
|
1354
|
+
*
|
|
1355
|
+
* @stability external
|
|
1356
|
+
*/
|
|
1357
|
+
class CacheNodeMetrics {
|
|
1358
|
+
dimensions;
|
|
1359
|
+
constructor(props) {
|
|
1360
|
+
this.dimensions = {
|
|
1361
|
+
CacheClusterId: props.cacheClusterId,
|
|
1362
|
+
CacheNodeId: props.cacheNodeId
|
|
1363
|
+
};
|
|
1364
|
+
}
|
|
1365
|
+
/**
|
|
1366
|
+
* Sum of the ActiveDefragHits metric
|
|
1367
|
+
*
|
|
1368
|
+
* @default - Sum over 5 minutes
|
|
1369
|
+
*/
|
|
1370
|
+
activeDefragHits(options) {
|
|
1371
|
+
return new cloudwatch.Metric({
|
|
1372
|
+
namespace: "AWS/ElastiCache",
|
|
1373
|
+
metricName: "ActiveDefragHits",
|
|
1374
|
+
dimensionsMap: this.dimensions,
|
|
1375
|
+
statistic: "Sum",
|
|
1376
|
+
...options
|
|
1377
|
+
});
|
|
1378
|
+
}
|
|
1379
|
+
/**
|
|
1380
|
+
* Sum of the AuthenticationFailures metric
|
|
1381
|
+
*
|
|
1382
|
+
* @default - Sum over 5 minutes
|
|
1383
|
+
*/
|
|
1384
|
+
authenticationFailures(options) {
|
|
1385
|
+
return new cloudwatch.Metric({
|
|
1386
|
+
namespace: "AWS/ElastiCache",
|
|
1387
|
+
metricName: "AuthenticationFailures",
|
|
1388
|
+
dimensionsMap: this.dimensions,
|
|
1389
|
+
statistic: "Sum",
|
|
1390
|
+
...options
|
|
1391
|
+
});
|
|
1392
|
+
}
|
|
1393
|
+
/**
|
|
1394
|
+
* Average of the BytesReadIntoMemcached metric
|
|
1395
|
+
*
|
|
1396
|
+
* @default - Average over 5 minutes
|
|
1397
|
+
*/
|
|
1398
|
+
bytesReadIntoMemcached(options) {
|
|
1399
|
+
return new cloudwatch.Metric({
|
|
1400
|
+
namespace: "AWS/ElastiCache",
|
|
1401
|
+
metricName: "BytesReadIntoMemcached",
|
|
1402
|
+
dimensionsMap: this.dimensions,
|
|
1403
|
+
statistic: "Average",
|
|
1404
|
+
...options
|
|
1405
|
+
});
|
|
1406
|
+
}
|
|
1407
|
+
/**
|
|
1408
|
+
* Average of the BytesUsedForCache metric
|
|
1409
|
+
*
|
|
1410
|
+
* @default - Average over 5 minutes
|
|
1411
|
+
*/
|
|
1412
|
+
bytesUsedForCache(options) {
|
|
1413
|
+
return new cloudwatch.Metric({
|
|
1414
|
+
namespace: "AWS/ElastiCache",
|
|
1415
|
+
metricName: "BytesUsedForCache",
|
|
1416
|
+
dimensionsMap: this.dimensions,
|
|
1417
|
+
statistic: "Average",
|
|
1418
|
+
...options
|
|
1419
|
+
});
|
|
1420
|
+
}
|
|
1421
|
+
/**
|
|
1422
|
+
* Average of the BytesUsedForCacheItems metric
|
|
1423
|
+
*
|
|
1424
|
+
* @default - Average over 5 minutes
|
|
1425
|
+
*/
|
|
1426
|
+
bytesUsedForCacheItems(options) {
|
|
1427
|
+
return new cloudwatch.Metric({
|
|
1428
|
+
namespace: "AWS/ElastiCache",
|
|
1429
|
+
metricName: "BytesUsedForCacheItems",
|
|
1430
|
+
dimensionsMap: this.dimensions,
|
|
1431
|
+
statistic: "Average",
|
|
1432
|
+
...options
|
|
1433
|
+
});
|
|
1434
|
+
}
|
|
1435
|
+
/**
|
|
1436
|
+
* Average of the BytesUsedForHash metric
|
|
1437
|
+
*
|
|
1438
|
+
* @default - Average over 5 minutes
|
|
1439
|
+
*/
|
|
1440
|
+
bytesUsedForHash(options) {
|
|
1441
|
+
return new cloudwatch.Metric({
|
|
1442
|
+
namespace: "AWS/ElastiCache",
|
|
1443
|
+
metricName: "BytesUsedForHash",
|
|
1444
|
+
dimensionsMap: this.dimensions,
|
|
1445
|
+
statistic: "Average",
|
|
1446
|
+
...options
|
|
1447
|
+
});
|
|
1448
|
+
}
|
|
1449
|
+
/**
|
|
1450
|
+
* Average of the BytesWrittenOutFromMemcached metric
|
|
1451
|
+
*
|
|
1452
|
+
* @default - Average over 5 minutes
|
|
1453
|
+
*/
|
|
1454
|
+
bytesWrittenOutFromMemcached(options) {
|
|
1455
|
+
return new cloudwatch.Metric({
|
|
1456
|
+
namespace: "AWS/ElastiCache",
|
|
1457
|
+
metricName: "BytesWrittenOutFromMemcached",
|
|
1458
|
+
dimensionsMap: this.dimensions,
|
|
1459
|
+
statistic: "Average",
|
|
1460
|
+
...options
|
|
1461
|
+
});
|
|
1462
|
+
}
|
|
1463
|
+
/**
|
|
1464
|
+
* Average of the CacheHitRate metric
|
|
1465
|
+
*
|
|
1466
|
+
* @default - Average over 5 minutes
|
|
1467
|
+
*/
|
|
1468
|
+
cacheHitRate(options) {
|
|
1469
|
+
return new cloudwatch.Metric({
|
|
1470
|
+
namespace: "AWS/ElastiCache",
|
|
1471
|
+
metricName: "CacheHitRate",
|
|
1472
|
+
dimensionsMap: this.dimensions,
|
|
1473
|
+
statistic: "Average",
|
|
1474
|
+
...options
|
|
1475
|
+
});
|
|
1476
|
+
}
|
|
1477
|
+
/**
|
|
1478
|
+
* Sum of the CacheHits metric
|
|
1479
|
+
*
|
|
1480
|
+
* @default - Sum over 5 minutes
|
|
1481
|
+
*/
|
|
1482
|
+
cacheHits(options) {
|
|
1483
|
+
return new cloudwatch.Metric({
|
|
1484
|
+
namespace: "AWS/ElastiCache",
|
|
1485
|
+
metricName: "CacheHits",
|
|
1486
|
+
dimensionsMap: this.dimensions,
|
|
1487
|
+
statistic: "Sum",
|
|
1488
|
+
...options
|
|
1489
|
+
});
|
|
1490
|
+
}
|
|
1491
|
+
/**
|
|
1492
|
+
* Sum of the CacheMisses metric
|
|
1493
|
+
*
|
|
1494
|
+
* @default - Sum over 5 minutes
|
|
1495
|
+
*/
|
|
1496
|
+
cacheMisses(options) {
|
|
1497
|
+
return new cloudwatch.Metric({
|
|
1498
|
+
namespace: "AWS/ElastiCache",
|
|
1499
|
+
metricName: "CacheMisses",
|
|
1500
|
+
dimensionsMap: this.dimensions,
|
|
1501
|
+
statistic: "Sum",
|
|
1502
|
+
...options
|
|
1503
|
+
});
|
|
1504
|
+
}
|
|
1505
|
+
/**
|
|
1506
|
+
* Sum of the CasBadval metric
|
|
1507
|
+
*
|
|
1508
|
+
* @default - Sum over 5 minutes
|
|
1509
|
+
*/
|
|
1510
|
+
casBadval(options) {
|
|
1511
|
+
return new cloudwatch.Metric({
|
|
1512
|
+
namespace: "AWS/ElastiCache",
|
|
1513
|
+
metricName: "CasBadval",
|
|
1514
|
+
dimensionsMap: this.dimensions,
|
|
1515
|
+
statistic: "Sum",
|
|
1516
|
+
...options
|
|
1517
|
+
});
|
|
1518
|
+
}
|
|
1519
|
+
/**
|
|
1520
|
+
* Sum of the CasHits metric
|
|
1521
|
+
*
|
|
1522
|
+
* @default - Sum over 5 minutes
|
|
1523
|
+
*/
|
|
1524
|
+
casHits(options) {
|
|
1525
|
+
return new cloudwatch.Metric({
|
|
1526
|
+
namespace: "AWS/ElastiCache",
|
|
1527
|
+
metricName: "CasHits",
|
|
1528
|
+
dimensionsMap: this.dimensions,
|
|
1529
|
+
statistic: "Sum",
|
|
1530
|
+
...options
|
|
1531
|
+
});
|
|
1532
|
+
}
|
|
1533
|
+
/**
|
|
1534
|
+
* Sum of the CasMisses metric
|
|
1535
|
+
*
|
|
1536
|
+
* @default - Sum over 5 minutes
|
|
1537
|
+
*/
|
|
1538
|
+
casMisses(options) {
|
|
1539
|
+
return new cloudwatch.Metric({
|
|
1540
|
+
namespace: "AWS/ElastiCache",
|
|
1541
|
+
metricName: "CasMisses",
|
|
1542
|
+
dimensionsMap: this.dimensions,
|
|
1543
|
+
statistic: "Sum",
|
|
1544
|
+
...options
|
|
1545
|
+
});
|
|
1546
|
+
}
|
|
1547
|
+
/**
|
|
1548
|
+
* Sum of the CmdConfigGet metric
|
|
1549
|
+
*
|
|
1550
|
+
* @default - Sum over 5 minutes
|
|
1551
|
+
*/
|
|
1552
|
+
cmdConfigGet(options) {
|
|
1553
|
+
return new cloudwatch.Metric({
|
|
1554
|
+
namespace: "AWS/ElastiCache",
|
|
1555
|
+
metricName: "CmdConfigGet",
|
|
1556
|
+
dimensionsMap: this.dimensions,
|
|
1557
|
+
statistic: "Sum",
|
|
1558
|
+
...options
|
|
1559
|
+
});
|
|
1560
|
+
}
|
|
1561
|
+
/**
|
|
1562
|
+
* Sum of the CmdConfigSet metric
|
|
1563
|
+
*
|
|
1564
|
+
* @default - Sum over 5 minutes
|
|
1565
|
+
*/
|
|
1566
|
+
cmdConfigSet(options) {
|
|
1567
|
+
return new cloudwatch.Metric({
|
|
1568
|
+
namespace: "AWS/ElastiCache",
|
|
1569
|
+
metricName: "CmdConfigSet",
|
|
1570
|
+
dimensionsMap: this.dimensions,
|
|
1571
|
+
statistic: "Sum",
|
|
1572
|
+
...options
|
|
1573
|
+
});
|
|
1574
|
+
}
|
|
1575
|
+
/**
|
|
1576
|
+
* Sum of the CmdFlush metric
|
|
1577
|
+
*
|
|
1578
|
+
* @default - Sum over 5 minutes
|
|
1579
|
+
*/
|
|
1580
|
+
cmdFlush(options) {
|
|
1581
|
+
return new cloudwatch.Metric({
|
|
1582
|
+
namespace: "AWS/ElastiCache",
|
|
1583
|
+
metricName: "CmdFlush",
|
|
1584
|
+
dimensionsMap: this.dimensions,
|
|
1585
|
+
statistic: "Sum",
|
|
1586
|
+
...options
|
|
1587
|
+
});
|
|
1588
|
+
}
|
|
1589
|
+
/**
|
|
1590
|
+
* Sum of the CmdGet metric
|
|
1591
|
+
*
|
|
1592
|
+
* @default - Sum over 5 minutes
|
|
1593
|
+
*/
|
|
1594
|
+
cmdGet(options) {
|
|
1595
|
+
return new cloudwatch.Metric({
|
|
1596
|
+
namespace: "AWS/ElastiCache",
|
|
1597
|
+
metricName: "CmdGet",
|
|
1598
|
+
dimensionsMap: this.dimensions,
|
|
1599
|
+
statistic: "Sum",
|
|
1600
|
+
...options
|
|
1601
|
+
});
|
|
1602
|
+
}
|
|
1603
|
+
/**
|
|
1604
|
+
* Sum of the CmdSet metric
|
|
1605
|
+
*
|
|
1606
|
+
* @default - Sum over 5 minutes
|
|
1607
|
+
*/
|
|
1608
|
+
cmdSet(options) {
|
|
1609
|
+
return new cloudwatch.Metric({
|
|
1610
|
+
namespace: "AWS/ElastiCache",
|
|
1611
|
+
metricName: "CmdSet",
|
|
1612
|
+
dimensionsMap: this.dimensions,
|
|
1613
|
+
statistic: "Sum",
|
|
1614
|
+
...options
|
|
1615
|
+
});
|
|
1616
|
+
}
|
|
1617
|
+
/**
|
|
1618
|
+
* Sum of the CmdTouch metric
|
|
1619
|
+
*
|
|
1620
|
+
* @default - Sum over 5 minutes
|
|
1621
|
+
*/
|
|
1622
|
+
cmdTouch(options) {
|
|
1623
|
+
return new cloudwatch.Metric({
|
|
1624
|
+
namespace: "AWS/ElastiCache",
|
|
1625
|
+
metricName: "CmdTouch",
|
|
1626
|
+
dimensionsMap: this.dimensions,
|
|
1627
|
+
statistic: "Sum",
|
|
1628
|
+
...options
|
|
1629
|
+
});
|
|
1630
|
+
}
|
|
1631
|
+
/**
|
|
1632
|
+
* Sum of the CommandAuthorizationFailures metric
|
|
1633
|
+
*
|
|
1634
|
+
* @default - Sum over 5 minutes
|
|
1635
|
+
*/
|
|
1636
|
+
commandAuthorizationFailures(options) {
|
|
1637
|
+
return new cloudwatch.Metric({
|
|
1638
|
+
namespace: "AWS/ElastiCache",
|
|
1639
|
+
metricName: "CommandAuthorizationFailures",
|
|
1640
|
+
dimensionsMap: this.dimensions,
|
|
1641
|
+
statistic: "Sum",
|
|
1642
|
+
...options
|
|
1643
|
+
});
|
|
1644
|
+
}
|
|
1645
|
+
/**
|
|
1646
|
+
* Average of the CPUCreditBalance metric
|
|
1647
|
+
*
|
|
1648
|
+
* @default - Average over 5 minutes
|
|
1649
|
+
*/
|
|
1650
|
+
cpuCreditBalance(options) {
|
|
1651
|
+
return new cloudwatch.Metric({
|
|
1652
|
+
namespace: "AWS/ElastiCache",
|
|
1653
|
+
metricName: "CPUCreditBalance",
|
|
1654
|
+
dimensionsMap: this.dimensions,
|
|
1655
|
+
statistic: "Average",
|
|
1656
|
+
...options
|
|
1657
|
+
});
|
|
1658
|
+
}
|
|
1659
|
+
/**
|
|
1660
|
+
* Average of the CPUCreditUsage metric
|
|
1661
|
+
*
|
|
1662
|
+
* @default - Average over 5 minutes
|
|
1663
|
+
*/
|
|
1664
|
+
cpuCreditUsage(options) {
|
|
1665
|
+
return new cloudwatch.Metric({
|
|
1666
|
+
namespace: "AWS/ElastiCache",
|
|
1667
|
+
metricName: "CPUCreditUsage",
|
|
1668
|
+
dimensionsMap: this.dimensions,
|
|
1669
|
+
statistic: "Average",
|
|
1670
|
+
...options
|
|
1671
|
+
});
|
|
1672
|
+
}
|
|
1673
|
+
/**
|
|
1674
|
+
* Average of the CPUUtilization metric
|
|
1675
|
+
*
|
|
1676
|
+
* @default - Average over 5 minutes
|
|
1677
|
+
*/
|
|
1678
|
+
cpuUtilization(options) {
|
|
1679
|
+
return new cloudwatch.Metric({
|
|
1680
|
+
namespace: "AWS/ElastiCache",
|
|
1681
|
+
metricName: "CPUUtilization",
|
|
1682
|
+
dimensionsMap: this.dimensions,
|
|
1683
|
+
statistic: "Average",
|
|
1684
|
+
...options
|
|
1685
|
+
});
|
|
1686
|
+
}
|
|
1687
|
+
/**
|
|
1688
|
+
* Sum of the CurrConfig metric
|
|
1689
|
+
*
|
|
1690
|
+
* @default - Sum over 5 minutes
|
|
1691
|
+
*/
|
|
1692
|
+
currConfig(options) {
|
|
1693
|
+
return new cloudwatch.Metric({
|
|
1694
|
+
namespace: "AWS/ElastiCache",
|
|
1695
|
+
metricName: "CurrConfig",
|
|
1696
|
+
dimensionsMap: this.dimensions,
|
|
1697
|
+
statistic: "Sum",
|
|
1698
|
+
...options
|
|
1699
|
+
});
|
|
1700
|
+
}
|
|
1701
|
+
/**
|
|
1702
|
+
* Sum of the CurrConnections metric
|
|
1703
|
+
*
|
|
1704
|
+
* @default - Sum over 5 minutes
|
|
1705
|
+
*/
|
|
1706
|
+
currConnections(options) {
|
|
1707
|
+
return new cloudwatch.Metric({
|
|
1708
|
+
namespace: "AWS/ElastiCache",
|
|
1709
|
+
metricName: "CurrConnections",
|
|
1710
|
+
dimensionsMap: this.dimensions,
|
|
1711
|
+
statistic: "Sum",
|
|
1712
|
+
...options
|
|
1713
|
+
});
|
|
1714
|
+
}
|
|
1715
|
+
/**
|
|
1716
|
+
* Sum of the CurrItems metric
|
|
1717
|
+
*
|
|
1718
|
+
* @default - Sum over 5 minutes
|
|
1719
|
+
*/
|
|
1720
|
+
currItems(options) {
|
|
1721
|
+
return new cloudwatch.Metric({
|
|
1722
|
+
namespace: "AWS/ElastiCache",
|
|
1723
|
+
metricName: "CurrItems",
|
|
1724
|
+
dimensionsMap: this.dimensions,
|
|
1725
|
+
statistic: "Sum",
|
|
1726
|
+
...options
|
|
1727
|
+
});
|
|
1728
|
+
}
|
|
1729
|
+
/**
|
|
1730
|
+
* Average of the DatabaseMemoryUsagePercentage metric
|
|
1731
|
+
*
|
|
1732
|
+
* @default - Average over 5 minutes
|
|
1733
|
+
*/
|
|
1734
|
+
databaseMemoryUsagePercentage(options) {
|
|
1735
|
+
return new cloudwatch.Metric({
|
|
1736
|
+
namespace: "AWS/ElastiCache",
|
|
1737
|
+
metricName: "DatabaseMemoryUsagePercentage",
|
|
1738
|
+
dimensionsMap: this.dimensions,
|
|
1739
|
+
statistic: "Average",
|
|
1740
|
+
...options
|
|
1741
|
+
});
|
|
1742
|
+
}
|
|
1743
|
+
/**
|
|
1744
|
+
* Average of the DB0AverageTTL metric
|
|
1745
|
+
*
|
|
1746
|
+
* @default - Average over 5 minutes
|
|
1747
|
+
*/
|
|
1748
|
+
db0AverageTtl(options) {
|
|
1749
|
+
return new cloudwatch.Metric({
|
|
1750
|
+
namespace: "AWS/ElastiCache",
|
|
1751
|
+
metricName: "DB0AverageTTL",
|
|
1752
|
+
dimensionsMap: this.dimensions,
|
|
1753
|
+
statistic: "Average",
|
|
1754
|
+
...options
|
|
1755
|
+
});
|
|
1756
|
+
}
|
|
1757
|
+
/**
|
|
1758
|
+
* Sum of the DecrHits metric
|
|
1759
|
+
*
|
|
1760
|
+
* @default - Sum over 5 minutes
|
|
1761
|
+
*/
|
|
1762
|
+
decrHits(options) {
|
|
1763
|
+
return new cloudwatch.Metric({
|
|
1764
|
+
namespace: "AWS/ElastiCache",
|
|
1765
|
+
metricName: "DecrHits",
|
|
1766
|
+
dimensionsMap: this.dimensions,
|
|
1767
|
+
statistic: "Sum",
|
|
1768
|
+
...options
|
|
1769
|
+
});
|
|
1770
|
+
}
|
|
1771
|
+
/**
|
|
1772
|
+
* Sum of the DecrMisses metric
|
|
1773
|
+
*
|
|
1774
|
+
* @default - Sum over 5 minutes
|
|
1775
|
+
*/
|
|
1776
|
+
decrMisses(options) {
|
|
1777
|
+
return new cloudwatch.Metric({
|
|
1778
|
+
namespace: "AWS/ElastiCache",
|
|
1779
|
+
metricName: "DecrMisses",
|
|
1780
|
+
dimensionsMap: this.dimensions,
|
|
1781
|
+
statistic: "Sum",
|
|
1782
|
+
...options
|
|
1783
|
+
});
|
|
1784
|
+
}
|
|
1785
|
+
/**
|
|
1786
|
+
* Sum of the DeleteHits metric
|
|
1787
|
+
*
|
|
1788
|
+
* @default - Sum over 5 minutes
|
|
1789
|
+
*/
|
|
1790
|
+
deleteHits(options) {
|
|
1791
|
+
return new cloudwatch.Metric({
|
|
1792
|
+
namespace: "AWS/ElastiCache",
|
|
1793
|
+
metricName: "DeleteHits",
|
|
1794
|
+
dimensionsMap: this.dimensions,
|
|
1795
|
+
statistic: "Sum",
|
|
1796
|
+
...options
|
|
1797
|
+
});
|
|
1798
|
+
}
|
|
1799
|
+
/**
|
|
1800
|
+
* Sum of the DeleteMisses metric
|
|
1801
|
+
*
|
|
1802
|
+
* @default - Sum over 5 minutes
|
|
1803
|
+
*/
|
|
1804
|
+
deleteMisses(options) {
|
|
1805
|
+
return new cloudwatch.Metric({
|
|
1806
|
+
namespace: "AWS/ElastiCache",
|
|
1807
|
+
metricName: "DeleteMisses",
|
|
1808
|
+
dimensionsMap: this.dimensions,
|
|
1809
|
+
statistic: "Sum",
|
|
1810
|
+
...options
|
|
1811
|
+
});
|
|
1812
|
+
}
|
|
1813
|
+
/**
|
|
1814
|
+
* Average of the EngineCPUUtilization metric
|
|
1815
|
+
*
|
|
1816
|
+
* @default - Average over 5 minutes
|
|
1817
|
+
*/
|
|
1818
|
+
engineCpuUtilization(options) {
|
|
1819
|
+
return new cloudwatch.Metric({
|
|
1820
|
+
namespace: "AWS/ElastiCache",
|
|
1821
|
+
metricName: "EngineCPUUtilization",
|
|
1822
|
+
dimensionsMap: this.dimensions,
|
|
1823
|
+
statistic: "Average",
|
|
1824
|
+
...options
|
|
1825
|
+
});
|
|
1826
|
+
}
|
|
1827
|
+
/**
|
|
1828
|
+
* Sum of the EvalBasedCmds metric
|
|
1829
|
+
*
|
|
1830
|
+
* @default - Sum over 5 minutes
|
|
1831
|
+
*/
|
|
1832
|
+
evalBasedCmds(options) {
|
|
1833
|
+
return new cloudwatch.Metric({
|
|
1834
|
+
namespace: "AWS/ElastiCache",
|
|
1835
|
+
metricName: "EvalBasedCmds",
|
|
1836
|
+
dimensionsMap: this.dimensions,
|
|
1837
|
+
statistic: "Sum",
|
|
1838
|
+
...options
|
|
1839
|
+
});
|
|
1840
|
+
}
|
|
1841
|
+
/**
|
|
1842
|
+
* Average of the EvalBasedCmdsLatency metric
|
|
1843
|
+
*
|
|
1844
|
+
* @default - Average over 5 minutes
|
|
1845
|
+
*/
|
|
1846
|
+
evalBasedCmdsLatency(options) {
|
|
1847
|
+
return new cloudwatch.Metric({
|
|
1848
|
+
namespace: "AWS/ElastiCache",
|
|
1849
|
+
metricName: "EvalBasedCmdsLatency",
|
|
1850
|
+
dimensionsMap: this.dimensions,
|
|
1851
|
+
statistic: "Average",
|
|
1852
|
+
...options
|
|
1853
|
+
});
|
|
1854
|
+
}
|
|
1855
|
+
/**
|
|
1856
|
+
* Sum of the EvictedUnfetched metric
|
|
1857
|
+
*
|
|
1858
|
+
* @default - Sum over 5 minutes
|
|
1859
|
+
*/
|
|
1860
|
+
evictedUnfetched(options) {
|
|
1861
|
+
return new cloudwatch.Metric({
|
|
1862
|
+
namespace: "AWS/ElastiCache",
|
|
1863
|
+
metricName: "EvictedUnfetched",
|
|
1864
|
+
dimensionsMap: this.dimensions,
|
|
1865
|
+
statistic: "Sum",
|
|
1866
|
+
...options
|
|
1867
|
+
});
|
|
1868
|
+
}
|
|
1869
|
+
/**
|
|
1870
|
+
* Sum of the Evictions metric
|
|
1871
|
+
*
|
|
1872
|
+
* @default - Sum over 5 minutes
|
|
1873
|
+
*/
|
|
1874
|
+
evictions(options) {
|
|
1875
|
+
return new cloudwatch.Metric({
|
|
1876
|
+
namespace: "AWS/ElastiCache",
|
|
1877
|
+
metricName: "Evictions",
|
|
1878
|
+
dimensionsMap: this.dimensions,
|
|
1879
|
+
statistic: "Sum",
|
|
1880
|
+
...options
|
|
1881
|
+
});
|
|
1882
|
+
}
|
|
1883
|
+
/**
|
|
1884
|
+
* Sum of the ExpiredUnfetched metric
|
|
1885
|
+
*
|
|
1886
|
+
* @default - Sum over 5 minutes
|
|
1887
|
+
*/
|
|
1888
|
+
expiredUnfetched(options) {
|
|
1889
|
+
return new cloudwatch.Metric({
|
|
1890
|
+
namespace: "AWS/ElastiCache",
|
|
1891
|
+
metricName: "ExpiredUnfetched",
|
|
1892
|
+
dimensionsMap: this.dimensions,
|
|
1893
|
+
statistic: "Sum",
|
|
1894
|
+
...options
|
|
1895
|
+
});
|
|
1896
|
+
}
|
|
1897
|
+
/**
|
|
1898
|
+
* Average of the FreeableMemory metric
|
|
1899
|
+
*
|
|
1900
|
+
* @default - Average over 5 minutes
|
|
1901
|
+
*/
|
|
1902
|
+
freeableMemory(options) {
|
|
1903
|
+
return new cloudwatch.Metric({
|
|
1904
|
+
namespace: "AWS/ElastiCache",
|
|
1905
|
+
metricName: "FreeableMemory",
|
|
1906
|
+
dimensionsMap: this.dimensions,
|
|
1907
|
+
statistic: "Average",
|
|
1908
|
+
...options
|
|
1909
|
+
});
|
|
1910
|
+
}
|
|
1911
|
+
/**
|
|
1912
|
+
* Sum of the GeoSpatialBasedCmds metric
|
|
1913
|
+
*
|
|
1914
|
+
* @default - Sum over 5 minutes
|
|
1915
|
+
*/
|
|
1916
|
+
geoSpatialBasedCmds(options) {
|
|
1917
|
+
return new cloudwatch.Metric({
|
|
1918
|
+
namespace: "AWS/ElastiCache",
|
|
1919
|
+
metricName: "GeoSpatialBasedCmds",
|
|
1920
|
+
dimensionsMap: this.dimensions,
|
|
1921
|
+
statistic: "Sum",
|
|
1922
|
+
...options
|
|
1923
|
+
});
|
|
1924
|
+
}
|
|
1925
|
+
/**
|
|
1926
|
+
* Average of the GeoSpatialBasedCmdsLatency metric
|
|
1927
|
+
*
|
|
1928
|
+
* @default - Average over 5 minutes
|
|
1929
|
+
*/
|
|
1930
|
+
geoSpatialBasedCmdsLatency(options) {
|
|
1931
|
+
return new cloudwatch.Metric({
|
|
1932
|
+
namespace: "AWS/ElastiCache",
|
|
1933
|
+
metricName: "GeoSpatialBasedCmdsLatency",
|
|
1934
|
+
dimensionsMap: this.dimensions,
|
|
1935
|
+
statistic: "Average",
|
|
1936
|
+
...options
|
|
1937
|
+
});
|
|
1938
|
+
}
|
|
1939
|
+
/**
|
|
1940
|
+
* Sum of the GetHits metric
|
|
1941
|
+
*
|
|
1942
|
+
* @default - Sum over 5 minutes
|
|
1943
|
+
*/
|
|
1944
|
+
getHits(options) {
|
|
1945
|
+
return new cloudwatch.Metric({
|
|
1946
|
+
namespace: "AWS/ElastiCache",
|
|
1947
|
+
metricName: "GetHits",
|
|
1948
|
+
dimensionsMap: this.dimensions,
|
|
1949
|
+
statistic: "Sum",
|
|
1950
|
+
...options
|
|
1951
|
+
});
|
|
1952
|
+
}
|
|
1953
|
+
/**
|
|
1954
|
+
* Sum of the GetMisses metric
|
|
1955
|
+
*
|
|
1956
|
+
* @default - Sum over 5 minutes
|
|
1957
|
+
*/
|
|
1958
|
+
getMisses(options) {
|
|
1959
|
+
return new cloudwatch.Metric({
|
|
1960
|
+
namespace: "AWS/ElastiCache",
|
|
1961
|
+
metricName: "GetMisses",
|
|
1962
|
+
dimensionsMap: this.dimensions,
|
|
1963
|
+
statistic: "Sum",
|
|
1964
|
+
...options
|
|
1965
|
+
});
|
|
1966
|
+
}
|
|
1967
|
+
/**
|
|
1968
|
+
* Sum of the GetTypeCmds metric
|
|
1969
|
+
*
|
|
1970
|
+
* @default - Sum over 5 minutes
|
|
1971
|
+
*/
|
|
1972
|
+
getTypeCmds(options) {
|
|
1973
|
+
return new cloudwatch.Metric({
|
|
1974
|
+
namespace: "AWS/ElastiCache",
|
|
1975
|
+
metricName: "GetTypeCmds",
|
|
1976
|
+
dimensionsMap: this.dimensions,
|
|
1977
|
+
statistic: "Sum",
|
|
1978
|
+
...options
|
|
1979
|
+
});
|
|
1980
|
+
}
|
|
1981
|
+
/**
|
|
1982
|
+
* Average of the GetTypeCmdsLatency metric
|
|
1983
|
+
*
|
|
1984
|
+
* @default - Average over 5 minutes
|
|
1985
|
+
*/
|
|
1986
|
+
getTypeCmdsLatency(options) {
|
|
1987
|
+
return new cloudwatch.Metric({
|
|
1988
|
+
namespace: "AWS/ElastiCache",
|
|
1989
|
+
metricName: "GetTypeCmdsLatency",
|
|
1990
|
+
dimensionsMap: this.dimensions,
|
|
1991
|
+
statistic: "Average",
|
|
1992
|
+
...options
|
|
1993
|
+
});
|
|
1994
|
+
}
|
|
1995
|
+
/**
|
|
1996
|
+
* Sum of the HashBasedCmds metric
|
|
1997
|
+
*
|
|
1998
|
+
* @default - Sum over 5 minutes
|
|
1999
|
+
*/
|
|
2000
|
+
hashBasedCmds(options) {
|
|
2001
|
+
return new cloudwatch.Metric({
|
|
2002
|
+
namespace: "AWS/ElastiCache",
|
|
2003
|
+
metricName: "HashBasedCmds",
|
|
2004
|
+
dimensionsMap: this.dimensions,
|
|
2005
|
+
statistic: "Sum",
|
|
2006
|
+
...options
|
|
2007
|
+
});
|
|
2008
|
+
}
|
|
2009
|
+
/**
|
|
2010
|
+
* Average of the HashBasedCmdsLatency metric
|
|
2011
|
+
*
|
|
2012
|
+
* @default - Average over 5 minutes
|
|
2013
|
+
*/
|
|
2014
|
+
hashBasedCmdsLatency(options) {
|
|
2015
|
+
return new cloudwatch.Metric({
|
|
2016
|
+
namespace: "AWS/ElastiCache",
|
|
2017
|
+
metricName: "HashBasedCmdsLatency",
|
|
2018
|
+
dimensionsMap: this.dimensions,
|
|
2019
|
+
statistic: "Average",
|
|
2020
|
+
...options
|
|
2021
|
+
});
|
|
2022
|
+
}
|
|
2023
|
+
/**
|
|
2024
|
+
* Sum of the HyperLogLogBasedCmds metric
|
|
2025
|
+
*
|
|
2026
|
+
* @default - Sum over 5 minutes
|
|
2027
|
+
*/
|
|
2028
|
+
hyperLogLogBasedCmds(options) {
|
|
2029
|
+
return new cloudwatch.Metric({
|
|
2030
|
+
namespace: "AWS/ElastiCache",
|
|
2031
|
+
metricName: "HyperLogLogBasedCmds",
|
|
2032
|
+
dimensionsMap: this.dimensions,
|
|
2033
|
+
statistic: "Sum",
|
|
2034
|
+
...options
|
|
2035
|
+
});
|
|
2036
|
+
}
|
|
2037
|
+
/**
|
|
2038
|
+
* Average of the HyperLogLogBasedCmdsLatency metric
|
|
2039
|
+
*
|
|
2040
|
+
* @default - Average over 5 minutes
|
|
2041
|
+
*/
|
|
2042
|
+
hyperLogLogBasedCmdsLatency(options) {
|
|
2043
|
+
return new cloudwatch.Metric({
|
|
2044
|
+
namespace: "AWS/ElastiCache",
|
|
2045
|
+
metricName: "HyperLogLogBasedCmdsLatency",
|
|
2046
|
+
dimensionsMap: this.dimensions,
|
|
2047
|
+
statistic: "Average",
|
|
2048
|
+
...options
|
|
2049
|
+
});
|
|
2050
|
+
}
|
|
2051
|
+
/**
|
|
2052
|
+
* Sum of the IncrHits metric
|
|
2053
|
+
*
|
|
2054
|
+
* @default - Sum over 5 minutes
|
|
2055
|
+
*/
|
|
2056
|
+
incrHits(options) {
|
|
2057
|
+
return new cloudwatch.Metric({
|
|
2058
|
+
namespace: "AWS/ElastiCache",
|
|
2059
|
+
metricName: "IncrHits",
|
|
2060
|
+
dimensionsMap: this.dimensions,
|
|
2061
|
+
statistic: "Sum",
|
|
2062
|
+
...options
|
|
2063
|
+
});
|
|
2064
|
+
}
|
|
2065
|
+
/**
|
|
2066
|
+
* Sum of the IncrMisses metric
|
|
2067
|
+
*
|
|
2068
|
+
* @default - Sum over 5 minutes
|
|
2069
|
+
*/
|
|
2070
|
+
incrMisses(options) {
|
|
2071
|
+
return new cloudwatch.Metric({
|
|
2072
|
+
namespace: "AWS/ElastiCache",
|
|
2073
|
+
metricName: "IncrMisses",
|
|
2074
|
+
dimensionsMap: this.dimensions,
|
|
2075
|
+
statistic: "Sum",
|
|
2076
|
+
...options
|
|
2077
|
+
});
|
|
2078
|
+
}
|
|
2079
|
+
/**
|
|
2080
|
+
* Average of the IsMaster metric
|
|
2081
|
+
*
|
|
2082
|
+
* @default - Average over 5 minutes
|
|
2083
|
+
*/
|
|
2084
|
+
isMaster(options) {
|
|
2085
|
+
return new cloudwatch.Metric({
|
|
2086
|
+
namespace: "AWS/ElastiCache",
|
|
2087
|
+
metricName: "IsMaster",
|
|
2088
|
+
dimensionsMap: this.dimensions,
|
|
2089
|
+
statistic: "Average",
|
|
2090
|
+
...options
|
|
2091
|
+
});
|
|
2092
|
+
}
|
|
2093
|
+
/**
|
|
2094
|
+
* Sum of the KeyAuthorizationFailures metric
|
|
2095
|
+
*
|
|
2096
|
+
* @default - Sum over 5 minutes
|
|
2097
|
+
*/
|
|
2098
|
+
keyAuthorizationFailures(options) {
|
|
2099
|
+
return new cloudwatch.Metric({
|
|
2100
|
+
namespace: "AWS/ElastiCache",
|
|
2101
|
+
metricName: "KeyAuthorizationFailures",
|
|
2102
|
+
dimensionsMap: this.dimensions,
|
|
2103
|
+
statistic: "Sum",
|
|
2104
|
+
...options
|
|
2105
|
+
});
|
|
2106
|
+
}
|
|
2107
|
+
/**
|
|
2108
|
+
* Sum of the KeyBasedCmds metric
|
|
2109
|
+
*
|
|
2110
|
+
* @default - Sum over 5 minutes
|
|
2111
|
+
*/
|
|
2112
|
+
keyBasedCmds(options) {
|
|
2113
|
+
return new cloudwatch.Metric({
|
|
2114
|
+
namespace: "AWS/ElastiCache",
|
|
2115
|
+
metricName: "KeyBasedCmds",
|
|
2116
|
+
dimensionsMap: this.dimensions,
|
|
2117
|
+
statistic: "Sum",
|
|
2118
|
+
...options
|
|
2119
|
+
});
|
|
2120
|
+
}
|
|
2121
|
+
/**
|
|
2122
|
+
* Average of the KeyBasedCmdsLatency metric
|
|
2123
|
+
*
|
|
2124
|
+
* @default - Average over 5 minutes
|
|
2125
|
+
*/
|
|
2126
|
+
keyBasedCmdsLatency(options) {
|
|
2127
|
+
return new cloudwatch.Metric({
|
|
2128
|
+
namespace: "AWS/ElastiCache",
|
|
2129
|
+
metricName: "KeyBasedCmdsLatency",
|
|
2130
|
+
dimensionsMap: this.dimensions,
|
|
2131
|
+
statistic: "Average",
|
|
2132
|
+
...options
|
|
2133
|
+
});
|
|
2134
|
+
}
|
|
2135
|
+
/**
|
|
2136
|
+
* Sum of the KeysTracked metric
|
|
2137
|
+
*
|
|
2138
|
+
* @default - Sum over 5 minutes
|
|
2139
|
+
*/
|
|
2140
|
+
keysTracked(options) {
|
|
2141
|
+
return new cloudwatch.Metric({
|
|
2142
|
+
namespace: "AWS/ElastiCache",
|
|
2143
|
+
metricName: "KeysTracked",
|
|
2144
|
+
dimensionsMap: this.dimensions,
|
|
2145
|
+
statistic: "Sum",
|
|
2146
|
+
...options
|
|
2147
|
+
});
|
|
2148
|
+
}
|
|
2149
|
+
/**
|
|
2150
|
+
* Sum of the ListBasedCmds metric
|
|
2151
|
+
*
|
|
2152
|
+
* @default - Sum over 5 minutes
|
|
2153
|
+
*/
|
|
2154
|
+
listBasedCmds(options) {
|
|
2155
|
+
return new cloudwatch.Metric({
|
|
2156
|
+
namespace: "AWS/ElastiCache",
|
|
2157
|
+
metricName: "ListBasedCmds",
|
|
2158
|
+
dimensionsMap: this.dimensions,
|
|
2159
|
+
statistic: "Sum",
|
|
2160
|
+
...options
|
|
2161
|
+
});
|
|
2162
|
+
}
|
|
2163
|
+
/**
|
|
2164
|
+
* Average of the ListBasedCmdsLatency metric
|
|
2165
|
+
*
|
|
2166
|
+
* @default - Average over 5 minutes
|
|
2167
|
+
*/
|
|
2168
|
+
listBasedCmdsLatency(options) {
|
|
2169
|
+
return new cloudwatch.Metric({
|
|
2170
|
+
namespace: "AWS/ElastiCache",
|
|
2171
|
+
metricName: "ListBasedCmdsLatency",
|
|
2172
|
+
dimensionsMap: this.dimensions,
|
|
2173
|
+
statistic: "Average",
|
|
2174
|
+
...options
|
|
2175
|
+
});
|
|
2176
|
+
}
|
|
2177
|
+
/**
|
|
2178
|
+
* Average of the MasterLinkHealthStatus metric
|
|
2179
|
+
*
|
|
2180
|
+
* @default - Average over 5 minutes
|
|
2181
|
+
*/
|
|
2182
|
+
masterLinkHealthStatus(options) {
|
|
2183
|
+
return new cloudwatch.Metric({
|
|
2184
|
+
namespace: "AWS/ElastiCache",
|
|
2185
|
+
metricName: "MasterLinkHealthStatus",
|
|
2186
|
+
dimensionsMap: this.dimensions,
|
|
2187
|
+
statistic: "Average",
|
|
2188
|
+
...options
|
|
2189
|
+
});
|
|
2190
|
+
}
|
|
2191
|
+
/**
|
|
2192
|
+
* Average of the MemoryFragmentationRatio metric
|
|
2193
|
+
*
|
|
2194
|
+
* @default - Average over 5 minutes
|
|
2195
|
+
*/
|
|
2196
|
+
memoryFragmentationRatio(options) {
|
|
2197
|
+
return new cloudwatch.Metric({
|
|
2198
|
+
namespace: "AWS/ElastiCache",
|
|
2199
|
+
metricName: "MemoryFragmentationRatio",
|
|
2200
|
+
dimensionsMap: this.dimensions,
|
|
2201
|
+
statistic: "Average",
|
|
2202
|
+
...options
|
|
2203
|
+
});
|
|
2204
|
+
}
|
|
2205
|
+
/**
|
|
2206
|
+
* Average of the NetworkBandwidthInAllowanceExceeded metric
|
|
2207
|
+
*
|
|
2208
|
+
* @default - Average over 5 minutes
|
|
2209
|
+
*/
|
|
2210
|
+
networkBandwidthInAllowanceExceeded(options) {
|
|
2211
|
+
return new cloudwatch.Metric({
|
|
2212
|
+
namespace: "AWS/ElastiCache",
|
|
2213
|
+
metricName: "NetworkBandwidthInAllowanceExceeded",
|
|
2214
|
+
dimensionsMap: this.dimensions,
|
|
2215
|
+
statistic: "Average",
|
|
2216
|
+
...options
|
|
2217
|
+
});
|
|
2218
|
+
}
|
|
2219
|
+
/**
|
|
2220
|
+
* Average of the NetworkBandwidthOutAllowanceExceeded metric
|
|
2221
|
+
*
|
|
2222
|
+
* @default - Average over 5 minutes
|
|
2223
|
+
*/
|
|
2224
|
+
networkBandwidthOutAllowanceExceeded(options) {
|
|
2225
|
+
return new cloudwatch.Metric({
|
|
2226
|
+
namespace: "AWS/ElastiCache",
|
|
2227
|
+
metricName: "NetworkBandwidthOutAllowanceExceeded",
|
|
2228
|
+
dimensionsMap: this.dimensions,
|
|
2229
|
+
statistic: "Average",
|
|
2230
|
+
...options
|
|
2231
|
+
});
|
|
2232
|
+
}
|
|
2233
|
+
/**
|
|
2234
|
+
* Average of the NetworkBytesIn metric
|
|
2235
|
+
*
|
|
2236
|
+
* @default - Average over 5 minutes
|
|
2237
|
+
*/
|
|
2238
|
+
networkBytesIn(options) {
|
|
2239
|
+
return new cloudwatch.Metric({
|
|
2240
|
+
namespace: "AWS/ElastiCache",
|
|
2241
|
+
metricName: "NetworkBytesIn",
|
|
2242
|
+
dimensionsMap: this.dimensions,
|
|
2243
|
+
statistic: "Average",
|
|
2244
|
+
...options
|
|
2245
|
+
});
|
|
2246
|
+
}
|
|
2247
|
+
/**
|
|
2248
|
+
* Average of the NetworkBytesOut metric
|
|
2249
|
+
*
|
|
2250
|
+
* @default - Average over 5 minutes
|
|
2251
|
+
*/
|
|
2252
|
+
networkBytesOut(options) {
|
|
2253
|
+
return new cloudwatch.Metric({
|
|
2254
|
+
namespace: "AWS/ElastiCache",
|
|
2255
|
+
metricName: "NetworkBytesOut",
|
|
2256
|
+
dimensionsMap: this.dimensions,
|
|
2257
|
+
statistic: "Average",
|
|
2258
|
+
...options
|
|
2259
|
+
});
|
|
2260
|
+
}
|
|
2261
|
+
/**
|
|
2262
|
+
* Average of the NetworkConntrackAllowanceExceeded metric
|
|
2263
|
+
*
|
|
2264
|
+
* @default - Average over 5 minutes
|
|
2265
|
+
*/
|
|
2266
|
+
networkConntrackAllowanceExceeded(options) {
|
|
2267
|
+
return new cloudwatch.Metric({
|
|
2268
|
+
namespace: "AWS/ElastiCache",
|
|
2269
|
+
metricName: "NetworkConntrackAllowanceExceeded",
|
|
2270
|
+
dimensionsMap: this.dimensions,
|
|
2271
|
+
statistic: "Average",
|
|
2272
|
+
...options
|
|
2273
|
+
});
|
|
2274
|
+
}
|
|
2275
|
+
/**
|
|
2276
|
+
* Average of the NetworkLinkLocalAllowanceExceeded metric
|
|
2277
|
+
*
|
|
2278
|
+
* @default - Average over 5 minutes
|
|
2279
|
+
*/
|
|
2280
|
+
networkLinkLocalAllowanceExceeded(options) {
|
|
2281
|
+
return new cloudwatch.Metric({
|
|
2282
|
+
namespace: "AWS/ElastiCache",
|
|
2283
|
+
metricName: "NetworkLinkLocalAllowanceExceeded",
|
|
2284
|
+
dimensionsMap: this.dimensions,
|
|
2285
|
+
statistic: "Average",
|
|
2286
|
+
...options
|
|
2287
|
+
});
|
|
2288
|
+
}
|
|
2289
|
+
/**
|
|
2290
|
+
* Average of the NetworkPacketsIn metric
|
|
2291
|
+
*
|
|
2292
|
+
* @default - Average over 5 minutes
|
|
2293
|
+
*/
|
|
2294
|
+
networkPacketsIn(options) {
|
|
2295
|
+
return new cloudwatch.Metric({
|
|
2296
|
+
namespace: "AWS/ElastiCache",
|
|
2297
|
+
metricName: "NetworkPacketsIn",
|
|
2298
|
+
dimensionsMap: this.dimensions,
|
|
2299
|
+
statistic: "Average",
|
|
2300
|
+
...options
|
|
2301
|
+
});
|
|
2302
|
+
}
|
|
2303
|
+
/**
|
|
2304
|
+
* Average of the NetworkPacketsOut metric
|
|
2305
|
+
*
|
|
2306
|
+
* @default - Average over 5 minutes
|
|
2307
|
+
*/
|
|
2308
|
+
networkPacketsOut(options) {
|
|
2309
|
+
return new cloudwatch.Metric({
|
|
2310
|
+
namespace: "AWS/ElastiCache",
|
|
2311
|
+
metricName: "NetworkPacketsOut",
|
|
2312
|
+
dimensionsMap: this.dimensions,
|
|
2313
|
+
statistic: "Average",
|
|
2314
|
+
...options
|
|
2315
|
+
});
|
|
2316
|
+
}
|
|
2317
|
+
/**
|
|
2318
|
+
* Average of the NetworkPacketsPerSecondAllowanceExceeded metric
|
|
2319
|
+
*
|
|
2320
|
+
* @default - Average over 5 minutes
|
|
2321
|
+
*/
|
|
2322
|
+
networkPacketsPerSecondAllowanceExceeded(options) {
|
|
2323
|
+
return new cloudwatch.Metric({
|
|
2324
|
+
namespace: "AWS/ElastiCache",
|
|
2325
|
+
metricName: "NetworkPacketsPerSecondAllowanceExceeded",
|
|
2326
|
+
dimensionsMap: this.dimensions,
|
|
2327
|
+
statistic: "Average",
|
|
2328
|
+
...options
|
|
2329
|
+
});
|
|
2330
|
+
}
|
|
2331
|
+
/**
|
|
2332
|
+
* Sum of the NewConnections metric
|
|
2333
|
+
*
|
|
2334
|
+
* @default - Sum over 5 minutes
|
|
2335
|
+
*/
|
|
2336
|
+
newConnections(options) {
|
|
2337
|
+
return new cloudwatch.Metric({
|
|
2338
|
+
namespace: "AWS/ElastiCache",
|
|
2339
|
+
metricName: "NewConnections",
|
|
2340
|
+
dimensionsMap: this.dimensions,
|
|
2341
|
+
statistic: "Sum",
|
|
2342
|
+
...options
|
|
2343
|
+
});
|
|
2344
|
+
}
|
|
2345
|
+
/**
|
|
2346
|
+
* Sum of the NewItems metric
|
|
2347
|
+
*
|
|
2348
|
+
* @default - Sum over 5 minutes
|
|
2349
|
+
*/
|
|
2350
|
+
newItems(options) {
|
|
2351
|
+
return new cloudwatch.Metric({
|
|
2352
|
+
namespace: "AWS/ElastiCache",
|
|
2353
|
+
metricName: "NewItems",
|
|
2354
|
+
dimensionsMap: this.dimensions,
|
|
2355
|
+
statistic: "Sum",
|
|
2356
|
+
...options
|
|
2357
|
+
});
|
|
2358
|
+
}
|
|
2359
|
+
/**
|
|
2360
|
+
* Sum of the PubSubBasedCmds metric
|
|
2361
|
+
*
|
|
2362
|
+
* @default - Sum over 5 minutes
|
|
2363
|
+
*/
|
|
2364
|
+
pubSubBasedCmds(options) {
|
|
2365
|
+
return new cloudwatch.Metric({
|
|
2366
|
+
namespace: "AWS/ElastiCache",
|
|
2367
|
+
metricName: "PubSubBasedCmds",
|
|
2368
|
+
dimensionsMap: this.dimensions,
|
|
2369
|
+
statistic: "Sum",
|
|
2370
|
+
...options
|
|
2371
|
+
});
|
|
2372
|
+
}
|
|
2373
|
+
/**
|
|
2374
|
+
* Average of the PubSubBasedCmdsLatency metric
|
|
2375
|
+
*
|
|
2376
|
+
* @default - Average over 5 minutes
|
|
2377
|
+
*/
|
|
2378
|
+
pubSubBasedCmdsLatency(options) {
|
|
2379
|
+
return new cloudwatch.Metric({
|
|
2380
|
+
namespace: "AWS/ElastiCache",
|
|
2381
|
+
metricName: "PubSubBasedCmdsLatency",
|
|
2382
|
+
dimensionsMap: this.dimensions,
|
|
2383
|
+
statistic: "Average",
|
|
2384
|
+
...options
|
|
2385
|
+
});
|
|
2386
|
+
}
|
|
2387
|
+
/**
|
|
2388
|
+
* Sum of the Reclaimed metric
|
|
2389
|
+
*
|
|
2390
|
+
* @default - Sum over 5 minutes
|
|
2391
|
+
*/
|
|
2392
|
+
reclaimed(options) {
|
|
2393
|
+
return new cloudwatch.Metric({
|
|
2394
|
+
namespace: "AWS/ElastiCache",
|
|
2395
|
+
metricName: "Reclaimed",
|
|
2396
|
+
dimensionsMap: this.dimensions,
|
|
2397
|
+
statistic: "Sum",
|
|
2398
|
+
...options
|
|
2399
|
+
});
|
|
2400
|
+
}
|
|
2401
|
+
/**
|
|
2402
|
+
* Sum of the ReplicationBytes metric
|
|
2403
|
+
*
|
|
2404
|
+
* @default - Sum over 5 minutes
|
|
2405
|
+
*/
|
|
2406
|
+
replicationBytes(options) {
|
|
2407
|
+
return new cloudwatch.Metric({
|
|
2408
|
+
namespace: "AWS/ElastiCache",
|
|
2409
|
+
metricName: "ReplicationBytes",
|
|
2410
|
+
dimensionsMap: this.dimensions,
|
|
2411
|
+
statistic: "Sum",
|
|
2412
|
+
...options
|
|
2413
|
+
});
|
|
2414
|
+
}
|
|
2415
|
+
/**
|
|
2416
|
+
* Average of the ReplicationLag metric
|
|
2417
|
+
*
|
|
2418
|
+
* @default - Average over 5 minutes
|
|
2419
|
+
*/
|
|
2420
|
+
replicationLag(options) {
|
|
2421
|
+
return new cloudwatch.Metric({
|
|
2422
|
+
namespace: "AWS/ElastiCache",
|
|
2423
|
+
metricName: "ReplicationLag",
|
|
2424
|
+
dimensionsMap: this.dimensions,
|
|
2425
|
+
statistic: "Average",
|
|
2426
|
+
...options
|
|
2427
|
+
});
|
|
2428
|
+
}
|
|
2429
|
+
/**
|
|
2430
|
+
* Sum of the SaveInProgress metric
|
|
2431
|
+
*
|
|
2432
|
+
* @default - Sum over 5 minutes
|
|
2433
|
+
*/
|
|
2434
|
+
saveInProgress(options) {
|
|
2435
|
+
return new cloudwatch.Metric({
|
|
2436
|
+
namespace: "AWS/ElastiCache",
|
|
2437
|
+
metricName: "SaveInProgress",
|
|
2438
|
+
dimensionsMap: this.dimensions,
|
|
2439
|
+
statistic: "Sum",
|
|
2440
|
+
...options
|
|
2441
|
+
});
|
|
2442
|
+
}
|
|
2443
|
+
/**
|
|
2444
|
+
* Sum of the SetBasedCmds metric
|
|
2445
|
+
*
|
|
2446
|
+
* @default - Sum over 5 minutes
|
|
2447
|
+
*/
|
|
2448
|
+
setBasedCmds(options) {
|
|
2449
|
+
return new cloudwatch.Metric({
|
|
2450
|
+
namespace: "AWS/ElastiCache",
|
|
2451
|
+
metricName: "SetBasedCmds",
|
|
2452
|
+
dimensionsMap: this.dimensions,
|
|
2453
|
+
statistic: "Sum",
|
|
2454
|
+
...options
|
|
2455
|
+
});
|
|
2456
|
+
}
|
|
2457
|
+
/**
|
|
2458
|
+
* Average of the SetBasedCmdsLatency metric
|
|
2459
|
+
*
|
|
2460
|
+
* @default - Average over 5 minutes
|
|
2461
|
+
*/
|
|
2462
|
+
setBasedCmdsLatency(options) {
|
|
2463
|
+
return new cloudwatch.Metric({
|
|
2464
|
+
namespace: "AWS/ElastiCache",
|
|
2465
|
+
metricName: "SetBasedCmdsLatency",
|
|
2466
|
+
dimensionsMap: this.dimensions,
|
|
2467
|
+
statistic: "Average",
|
|
2468
|
+
...options
|
|
2469
|
+
});
|
|
2470
|
+
}
|
|
2471
|
+
/**
|
|
2472
|
+
* Sum of the SetTypeCmds metric
|
|
2473
|
+
*
|
|
2474
|
+
* @default - Sum over 5 minutes
|
|
2475
|
+
*/
|
|
2476
|
+
setTypeCmds(options) {
|
|
2477
|
+
return new cloudwatch.Metric({
|
|
2478
|
+
namespace: "AWS/ElastiCache",
|
|
2479
|
+
metricName: "SetTypeCmds",
|
|
2480
|
+
dimensionsMap: this.dimensions,
|
|
2481
|
+
statistic: "Sum",
|
|
2482
|
+
...options
|
|
2483
|
+
});
|
|
2484
|
+
}
|
|
2485
|
+
/**
|
|
2486
|
+
* Average of the SetTypeCmdsLatency metric
|
|
2487
|
+
*
|
|
2488
|
+
* @default - Average over 5 minutes
|
|
2489
|
+
*/
|
|
2490
|
+
setTypeCmdsLatency(options) {
|
|
2491
|
+
return new cloudwatch.Metric({
|
|
2492
|
+
namespace: "AWS/ElastiCache",
|
|
2493
|
+
metricName: "SetTypeCmdsLatency",
|
|
2494
|
+
dimensionsMap: this.dimensions,
|
|
2495
|
+
statistic: "Average",
|
|
2496
|
+
...options
|
|
2497
|
+
});
|
|
2498
|
+
}
|
|
2499
|
+
/**
|
|
2500
|
+
* Sum of the SlabsMoved metric
|
|
2501
|
+
*
|
|
2502
|
+
* @default - Sum over 5 minutes
|
|
2503
|
+
*/
|
|
2504
|
+
slabsMoved(options) {
|
|
2505
|
+
return new cloudwatch.Metric({
|
|
2506
|
+
namespace: "AWS/ElastiCache",
|
|
2507
|
+
metricName: "SlabsMoved",
|
|
2508
|
+
dimensionsMap: this.dimensions,
|
|
2509
|
+
statistic: "Sum",
|
|
2510
|
+
...options
|
|
2511
|
+
});
|
|
2512
|
+
}
|
|
2513
|
+
/**
|
|
2514
|
+
* Sum of the SortedSetBasedCmds metric
|
|
2515
|
+
*
|
|
2516
|
+
* @default - Sum over 5 minutes
|
|
2517
|
+
*/
|
|
2518
|
+
sortedSetBasedCmds(options) {
|
|
2519
|
+
return new cloudwatch.Metric({
|
|
2520
|
+
namespace: "AWS/ElastiCache",
|
|
2521
|
+
metricName: "SortedSetBasedCmds",
|
|
2522
|
+
dimensionsMap: this.dimensions,
|
|
2523
|
+
statistic: "Sum",
|
|
2524
|
+
...options
|
|
2525
|
+
});
|
|
2526
|
+
}
|
|
2527
|
+
/**
|
|
2528
|
+
* Average of the SortedSetBasedCmdsLatency metric
|
|
2529
|
+
*
|
|
2530
|
+
* @default - Average over 5 minutes
|
|
2531
|
+
*/
|
|
2532
|
+
sortedSetBasedCmdsLatency(options) {
|
|
2533
|
+
return new cloudwatch.Metric({
|
|
2534
|
+
namespace: "AWS/ElastiCache",
|
|
2535
|
+
metricName: "SortedSetBasedCmdsLatency",
|
|
2536
|
+
dimensionsMap: this.dimensions,
|
|
2537
|
+
statistic: "Average",
|
|
2538
|
+
...options
|
|
2539
|
+
});
|
|
2540
|
+
}
|
|
2541
|
+
/**
|
|
2542
|
+
* Sum of the StreamBasedCmds metric
|
|
2543
|
+
*
|
|
2544
|
+
* @default - Sum over 5 minutes
|
|
2545
|
+
*/
|
|
2546
|
+
streamBasedCmds(options) {
|
|
2547
|
+
return new cloudwatch.Metric({
|
|
2548
|
+
namespace: "AWS/ElastiCache",
|
|
2549
|
+
metricName: "StreamBasedCmds",
|
|
2550
|
+
dimensionsMap: this.dimensions,
|
|
2551
|
+
statistic: "Sum",
|
|
2552
|
+
...options
|
|
2553
|
+
});
|
|
2554
|
+
}
|
|
2555
|
+
/**
|
|
2556
|
+
* Average of the StreamBasedCmdsLatency metric
|
|
2557
|
+
*
|
|
2558
|
+
* @default - Average over 5 minutes
|
|
2559
|
+
*/
|
|
2560
|
+
streamBasedCmdsLatency(options) {
|
|
2561
|
+
return new cloudwatch.Metric({
|
|
2562
|
+
namespace: "AWS/ElastiCache",
|
|
2563
|
+
metricName: "StreamBasedCmdsLatency",
|
|
2564
|
+
dimensionsMap: this.dimensions,
|
|
2565
|
+
statistic: "Average",
|
|
2566
|
+
...options
|
|
2567
|
+
});
|
|
2568
|
+
}
|
|
2569
|
+
/**
|
|
2570
|
+
* Sum of the StringBasedCmds metric
|
|
2571
|
+
*
|
|
2572
|
+
* @default - Sum over 5 minutes
|
|
2573
|
+
*/
|
|
2574
|
+
stringBasedCmds(options) {
|
|
2575
|
+
return new cloudwatch.Metric({
|
|
2576
|
+
namespace: "AWS/ElastiCache",
|
|
2577
|
+
metricName: "StringBasedCmds",
|
|
2578
|
+
dimensionsMap: this.dimensions,
|
|
2579
|
+
statistic: "Sum",
|
|
2580
|
+
...options
|
|
2581
|
+
});
|
|
2582
|
+
}
|
|
2583
|
+
/**
|
|
2584
|
+
* Average of the StringBasedCmdsLatency metric
|
|
2585
|
+
*
|
|
2586
|
+
* @default - Average over 5 minutes
|
|
2587
|
+
*/
|
|
2588
|
+
stringBasedCmdsLatency(options) {
|
|
2589
|
+
return new cloudwatch.Metric({
|
|
2590
|
+
namespace: "AWS/ElastiCache",
|
|
2591
|
+
metricName: "StringBasedCmdsLatency",
|
|
2592
|
+
dimensionsMap: this.dimensions,
|
|
2593
|
+
statistic: "Average",
|
|
2594
|
+
...options
|
|
2595
|
+
});
|
|
2596
|
+
}
|
|
2597
|
+
/**
|
|
2598
|
+
* Average of the SwapUsage metric
|
|
2599
|
+
*
|
|
2600
|
+
* @default - Average over 5 minutes
|
|
2601
|
+
*/
|
|
2602
|
+
swapUsage(options) {
|
|
2603
|
+
return new cloudwatch.Metric({
|
|
2604
|
+
namespace: "AWS/ElastiCache",
|
|
2605
|
+
metricName: "SwapUsage",
|
|
2606
|
+
dimensionsMap: this.dimensions,
|
|
2607
|
+
statistic: "Average",
|
|
2608
|
+
...options
|
|
2609
|
+
});
|
|
2610
|
+
}
|
|
2611
|
+
/**
|
|
2612
|
+
* Sum of the TouchHits metric
|
|
2613
|
+
*
|
|
2614
|
+
* @default - Sum over 5 minutes
|
|
2615
|
+
*/
|
|
2616
|
+
touchHits(options) {
|
|
2617
|
+
return new cloudwatch.Metric({
|
|
2618
|
+
namespace: "AWS/ElastiCache",
|
|
2619
|
+
metricName: "TouchHits",
|
|
2620
|
+
dimensionsMap: this.dimensions,
|
|
2621
|
+
statistic: "Sum",
|
|
2622
|
+
...options
|
|
2623
|
+
});
|
|
2624
|
+
}
|
|
2625
|
+
/**
|
|
2626
|
+
* Sum of the TouchMisses metric
|
|
2627
|
+
*
|
|
2628
|
+
* @default - Sum over 5 minutes
|
|
2629
|
+
*/
|
|
2630
|
+
touchMisses(options) {
|
|
2631
|
+
return new cloudwatch.Metric({
|
|
2632
|
+
namespace: "AWS/ElastiCache",
|
|
2633
|
+
metricName: "TouchMisses",
|
|
2634
|
+
dimensionsMap: this.dimensions,
|
|
2635
|
+
statistic: "Sum",
|
|
2636
|
+
...options
|
|
2637
|
+
});
|
|
2638
|
+
}
|
|
2639
|
+
/**
|
|
2640
|
+
* Average of the UnusedMemory metric
|
|
2641
|
+
*
|
|
2642
|
+
* @default - Average over 5 minutes
|
|
2643
|
+
*/
|
|
2644
|
+
unusedMemory(options) {
|
|
2645
|
+
return new cloudwatch.Metric({
|
|
2646
|
+
namespace: "AWS/ElastiCache",
|
|
2647
|
+
metricName: "UnusedMemory",
|
|
2648
|
+
dimensionsMap: this.dimensions,
|
|
2649
|
+
statistic: "Average",
|
|
2650
|
+
...options
|
|
2651
|
+
});
|
|
2652
|
+
}
|
|
2653
|
+
}
|
|
2654
|
+
ElastiCacheMetrics.CacheNodeMetrics = CacheNodeMetrics;
|
|
2655
|
+
/**
|
|
2656
|
+
* Metrics for dimension set: Account {no dimensions}
|
|
2657
|
+
*
|
|
2658
|
+
* @stability external
|
|
2659
|
+
*/
|
|
2660
|
+
class AccountMetrics {
|
|
2661
|
+
dimensions;
|
|
2662
|
+
constructor() {
|
|
2663
|
+
this.dimensions = {};
|
|
2664
|
+
}
|
|
2665
|
+
/**
|
|
2666
|
+
* Sum of the ActiveDefragHits metric
|
|
2667
|
+
*
|
|
2668
|
+
* @default - Sum over 5 minutes
|
|
2669
|
+
*/
|
|
2670
|
+
activeDefragHits(options) {
|
|
2671
|
+
return new cloudwatch.Metric({
|
|
2672
|
+
namespace: "AWS/ElastiCache",
|
|
2673
|
+
metricName: "ActiveDefragHits",
|
|
2674
|
+
dimensionsMap: this.dimensions,
|
|
2675
|
+
statistic: "Sum",
|
|
2676
|
+
...options
|
|
2677
|
+
});
|
|
2678
|
+
}
|
|
2679
|
+
/**
|
|
2680
|
+
* Sum of the AuthenticationFailures metric
|
|
2681
|
+
*
|
|
2682
|
+
* @default - Sum over 5 minutes
|
|
2683
|
+
*/
|
|
2684
|
+
authenticationFailures(options) {
|
|
2685
|
+
return new cloudwatch.Metric({
|
|
2686
|
+
namespace: "AWS/ElastiCache",
|
|
2687
|
+
metricName: "AuthenticationFailures",
|
|
2688
|
+
dimensionsMap: this.dimensions,
|
|
2689
|
+
statistic: "Sum",
|
|
2690
|
+
...options
|
|
2691
|
+
});
|
|
2692
|
+
}
|
|
2693
|
+
/**
|
|
2694
|
+
* Average of the BytesReadIntoMemcached metric
|
|
2695
|
+
*
|
|
2696
|
+
* @default - Average over 5 minutes
|
|
2697
|
+
*/
|
|
2698
|
+
bytesReadIntoMemcached(options) {
|
|
2699
|
+
return new cloudwatch.Metric({
|
|
2700
|
+
namespace: "AWS/ElastiCache",
|
|
2701
|
+
metricName: "BytesReadIntoMemcached",
|
|
2702
|
+
dimensionsMap: this.dimensions,
|
|
2703
|
+
statistic: "Average",
|
|
2704
|
+
...options
|
|
2705
|
+
});
|
|
2706
|
+
}
|
|
2707
|
+
/**
|
|
2708
|
+
* Average of the BytesUsedForCache metric
|
|
2709
|
+
*
|
|
2710
|
+
* @default - Average over 5 minutes
|
|
2711
|
+
*/
|
|
2712
|
+
bytesUsedForCache(options) {
|
|
2713
|
+
return new cloudwatch.Metric({
|
|
2714
|
+
namespace: "AWS/ElastiCache",
|
|
2715
|
+
metricName: "BytesUsedForCache",
|
|
2716
|
+
dimensionsMap: this.dimensions,
|
|
2717
|
+
statistic: "Average",
|
|
2718
|
+
...options
|
|
2719
|
+
});
|
|
2720
|
+
}
|
|
2721
|
+
/**
|
|
2722
|
+
* Average of the BytesUsedForCacheItems metric
|
|
2723
|
+
*
|
|
2724
|
+
* @default - Average over 5 minutes
|
|
2725
|
+
*/
|
|
2726
|
+
bytesUsedForCacheItems(options) {
|
|
2727
|
+
return new cloudwatch.Metric({
|
|
2728
|
+
namespace: "AWS/ElastiCache",
|
|
2729
|
+
metricName: "BytesUsedForCacheItems",
|
|
2730
|
+
dimensionsMap: this.dimensions,
|
|
2731
|
+
statistic: "Average",
|
|
2732
|
+
...options
|
|
2733
|
+
});
|
|
2734
|
+
}
|
|
2735
|
+
/**
|
|
2736
|
+
* Average of the BytesUsedForHash metric
|
|
2737
|
+
*
|
|
2738
|
+
* @default - Average over 5 minutes
|
|
2739
|
+
*/
|
|
2740
|
+
bytesUsedForHash(options) {
|
|
2741
|
+
return new cloudwatch.Metric({
|
|
2742
|
+
namespace: "AWS/ElastiCache",
|
|
2743
|
+
metricName: "BytesUsedForHash",
|
|
2744
|
+
dimensionsMap: this.dimensions,
|
|
2745
|
+
statistic: "Average",
|
|
2746
|
+
...options
|
|
2747
|
+
});
|
|
2748
|
+
}
|
|
2749
|
+
/**
|
|
2750
|
+
* Average of the BytesWrittenOutFromMemcached metric
|
|
2751
|
+
*
|
|
2752
|
+
* @default - Average over 5 minutes
|
|
2753
|
+
*/
|
|
2754
|
+
bytesWrittenOutFromMemcached(options) {
|
|
2755
|
+
return new cloudwatch.Metric({
|
|
2756
|
+
namespace: "AWS/ElastiCache",
|
|
2757
|
+
metricName: "BytesWrittenOutFromMemcached",
|
|
2758
|
+
dimensionsMap: this.dimensions,
|
|
2759
|
+
statistic: "Average",
|
|
2760
|
+
...options
|
|
2761
|
+
});
|
|
2762
|
+
}
|
|
2763
|
+
/**
|
|
2764
|
+
* Average of the CacheHitRate metric
|
|
2765
|
+
*
|
|
2766
|
+
* @default - Average over 5 minutes
|
|
2767
|
+
*/
|
|
2768
|
+
cacheHitRate(options) {
|
|
2769
|
+
return new cloudwatch.Metric({
|
|
2770
|
+
namespace: "AWS/ElastiCache",
|
|
2771
|
+
metricName: "CacheHitRate",
|
|
2772
|
+
dimensionsMap: this.dimensions,
|
|
2773
|
+
statistic: "Average",
|
|
2774
|
+
...options
|
|
2775
|
+
});
|
|
2776
|
+
}
|
|
2777
|
+
/**
|
|
2778
|
+
* Sum of the CacheHits metric
|
|
2779
|
+
*
|
|
2780
|
+
* @default - Sum over 5 minutes
|
|
2781
|
+
*/
|
|
2782
|
+
cacheHits(options) {
|
|
2783
|
+
return new cloudwatch.Metric({
|
|
2784
|
+
namespace: "AWS/ElastiCache",
|
|
2785
|
+
metricName: "CacheHits",
|
|
2786
|
+
dimensionsMap: this.dimensions,
|
|
2787
|
+
statistic: "Sum",
|
|
2788
|
+
...options
|
|
2789
|
+
});
|
|
2790
|
+
}
|
|
2791
|
+
/**
|
|
2792
|
+
* Sum of the CacheMisses metric
|
|
2793
|
+
*
|
|
2794
|
+
* @default - Sum over 5 minutes
|
|
2795
|
+
*/
|
|
2796
|
+
cacheMisses(options) {
|
|
2797
|
+
return new cloudwatch.Metric({
|
|
2798
|
+
namespace: "AWS/ElastiCache",
|
|
2799
|
+
metricName: "CacheMisses",
|
|
2800
|
+
dimensionsMap: this.dimensions,
|
|
2801
|
+
statistic: "Sum",
|
|
2802
|
+
...options
|
|
2803
|
+
});
|
|
2804
|
+
}
|
|
2805
|
+
/**
|
|
2806
|
+
* Sum of the CasBadval metric
|
|
2807
|
+
*
|
|
2808
|
+
* @default - Sum over 5 minutes
|
|
2809
|
+
*/
|
|
2810
|
+
casBadval(options) {
|
|
2811
|
+
return new cloudwatch.Metric({
|
|
2812
|
+
namespace: "AWS/ElastiCache",
|
|
2813
|
+
metricName: "CasBadval",
|
|
2814
|
+
dimensionsMap: this.dimensions,
|
|
2815
|
+
statistic: "Sum",
|
|
2816
|
+
...options
|
|
2817
|
+
});
|
|
2818
|
+
}
|
|
2819
|
+
/**
|
|
2820
|
+
* Sum of the CasHits metric
|
|
2821
|
+
*
|
|
2822
|
+
* @default - Sum over 5 minutes
|
|
2823
|
+
*/
|
|
2824
|
+
casHits(options) {
|
|
2825
|
+
return new cloudwatch.Metric({
|
|
2826
|
+
namespace: "AWS/ElastiCache",
|
|
2827
|
+
metricName: "CasHits",
|
|
2828
|
+
dimensionsMap: this.dimensions,
|
|
2829
|
+
statistic: "Sum",
|
|
2830
|
+
...options
|
|
2831
|
+
});
|
|
2832
|
+
}
|
|
2833
|
+
/**
|
|
2834
|
+
* Sum of the CasMisses metric
|
|
2835
|
+
*
|
|
2836
|
+
* @default - Sum over 5 minutes
|
|
2837
|
+
*/
|
|
2838
|
+
casMisses(options) {
|
|
2839
|
+
return new cloudwatch.Metric({
|
|
2840
|
+
namespace: "AWS/ElastiCache",
|
|
2841
|
+
metricName: "CasMisses",
|
|
2842
|
+
dimensionsMap: this.dimensions,
|
|
2843
|
+
statistic: "Sum",
|
|
2844
|
+
...options
|
|
2845
|
+
});
|
|
2846
|
+
}
|
|
2847
|
+
/**
|
|
2848
|
+
* Sum of the CmdConfigGet metric
|
|
2849
|
+
*
|
|
2850
|
+
* @default - Sum over 5 minutes
|
|
2851
|
+
*/
|
|
2852
|
+
cmdConfigGet(options) {
|
|
2853
|
+
return new cloudwatch.Metric({
|
|
2854
|
+
namespace: "AWS/ElastiCache",
|
|
2855
|
+
metricName: "CmdConfigGet",
|
|
2856
|
+
dimensionsMap: this.dimensions,
|
|
2857
|
+
statistic: "Sum",
|
|
2858
|
+
...options
|
|
2859
|
+
});
|
|
2860
|
+
}
|
|
2861
|
+
/**
|
|
2862
|
+
* Sum of the CmdConfigSet metric
|
|
2863
|
+
*
|
|
2864
|
+
* @default - Sum over 5 minutes
|
|
2865
|
+
*/
|
|
2866
|
+
cmdConfigSet(options) {
|
|
2867
|
+
return new cloudwatch.Metric({
|
|
2868
|
+
namespace: "AWS/ElastiCache",
|
|
2869
|
+
metricName: "CmdConfigSet",
|
|
2870
|
+
dimensionsMap: this.dimensions,
|
|
2871
|
+
statistic: "Sum",
|
|
2872
|
+
...options
|
|
2873
|
+
});
|
|
2874
|
+
}
|
|
2875
|
+
/**
|
|
2876
|
+
* Sum of the CmdFlush metric
|
|
2877
|
+
*
|
|
2878
|
+
* @default - Sum over 5 minutes
|
|
2879
|
+
*/
|
|
2880
|
+
cmdFlush(options) {
|
|
2881
|
+
return new cloudwatch.Metric({
|
|
2882
|
+
namespace: "AWS/ElastiCache",
|
|
2883
|
+
metricName: "CmdFlush",
|
|
2884
|
+
dimensionsMap: this.dimensions,
|
|
2885
|
+
statistic: "Sum",
|
|
2886
|
+
...options
|
|
2887
|
+
});
|
|
2888
|
+
}
|
|
2889
|
+
/**
|
|
2890
|
+
* Sum of the CmdGet metric
|
|
2891
|
+
*
|
|
2892
|
+
* @default - Sum over 5 minutes
|
|
2893
|
+
*/
|
|
2894
|
+
cmdGet(options) {
|
|
2895
|
+
return new cloudwatch.Metric({
|
|
2896
|
+
namespace: "AWS/ElastiCache",
|
|
2897
|
+
metricName: "CmdGet",
|
|
2898
|
+
dimensionsMap: this.dimensions,
|
|
2899
|
+
statistic: "Sum",
|
|
2900
|
+
...options
|
|
2901
|
+
});
|
|
2902
|
+
}
|
|
2903
|
+
/**
|
|
2904
|
+
* Sum of the CmdSet metric
|
|
2905
|
+
*
|
|
2906
|
+
* @default - Sum over 5 minutes
|
|
2907
|
+
*/
|
|
2908
|
+
cmdSet(options) {
|
|
2909
|
+
return new cloudwatch.Metric({
|
|
2910
|
+
namespace: "AWS/ElastiCache",
|
|
2911
|
+
metricName: "CmdSet",
|
|
2912
|
+
dimensionsMap: this.dimensions,
|
|
2913
|
+
statistic: "Sum",
|
|
2914
|
+
...options
|
|
2915
|
+
});
|
|
2916
|
+
}
|
|
2917
|
+
/**
|
|
2918
|
+
* Sum of the CmdTouch metric
|
|
2919
|
+
*
|
|
2920
|
+
* @default - Sum over 5 minutes
|
|
2921
|
+
*/
|
|
2922
|
+
cmdTouch(options) {
|
|
2923
|
+
return new cloudwatch.Metric({
|
|
2924
|
+
namespace: "AWS/ElastiCache",
|
|
2925
|
+
metricName: "CmdTouch",
|
|
2926
|
+
dimensionsMap: this.dimensions,
|
|
2927
|
+
statistic: "Sum",
|
|
2928
|
+
...options
|
|
2929
|
+
});
|
|
2930
|
+
}
|
|
2931
|
+
/**
|
|
2932
|
+
* Sum of the CommandAuthorizationFailures metric
|
|
2933
|
+
*
|
|
2934
|
+
* @default - Sum over 5 minutes
|
|
2935
|
+
*/
|
|
2936
|
+
commandAuthorizationFailures(options) {
|
|
2937
|
+
return new cloudwatch.Metric({
|
|
2938
|
+
namespace: "AWS/ElastiCache",
|
|
2939
|
+
metricName: "CommandAuthorizationFailures",
|
|
2940
|
+
dimensionsMap: this.dimensions,
|
|
2941
|
+
statistic: "Sum",
|
|
2942
|
+
...options
|
|
2943
|
+
});
|
|
2944
|
+
}
|
|
2945
|
+
/**
|
|
2946
|
+
* Average of the CPUCreditBalance metric
|
|
2947
|
+
*
|
|
2948
|
+
* @default - Average over 5 minutes
|
|
2949
|
+
*/
|
|
2950
|
+
cpuCreditBalance(options) {
|
|
2951
|
+
return new cloudwatch.Metric({
|
|
2952
|
+
namespace: "AWS/ElastiCache",
|
|
2953
|
+
metricName: "CPUCreditBalance",
|
|
2954
|
+
dimensionsMap: this.dimensions,
|
|
2955
|
+
statistic: "Average",
|
|
2956
|
+
...options
|
|
2957
|
+
});
|
|
2958
|
+
}
|
|
2959
|
+
/**
|
|
2960
|
+
* Average of the CPUCreditUsage metric
|
|
2961
|
+
*
|
|
2962
|
+
* @default - Average over 5 minutes
|
|
2963
|
+
*/
|
|
2964
|
+
cpuCreditUsage(options) {
|
|
2965
|
+
return new cloudwatch.Metric({
|
|
2966
|
+
namespace: "AWS/ElastiCache",
|
|
2967
|
+
metricName: "CPUCreditUsage",
|
|
2968
|
+
dimensionsMap: this.dimensions,
|
|
2969
|
+
statistic: "Average",
|
|
2970
|
+
...options
|
|
2971
|
+
});
|
|
2972
|
+
}
|
|
2973
|
+
/**
|
|
2974
|
+
* Average of the CPUUtilization metric
|
|
2975
|
+
*
|
|
2976
|
+
* @default - Average over 5 minutes
|
|
2977
|
+
*/
|
|
2978
|
+
cpuUtilization(options) {
|
|
2979
|
+
return new cloudwatch.Metric({
|
|
2980
|
+
namespace: "AWS/ElastiCache",
|
|
2981
|
+
metricName: "CPUUtilization",
|
|
2982
|
+
dimensionsMap: this.dimensions,
|
|
2983
|
+
statistic: "Average",
|
|
2984
|
+
...options
|
|
2985
|
+
});
|
|
2986
|
+
}
|
|
2987
|
+
/**
|
|
2988
|
+
* Sum of the CurrConfig metric
|
|
2989
|
+
*
|
|
2990
|
+
* @default - Sum over 5 minutes
|
|
2991
|
+
*/
|
|
2992
|
+
currConfig(options) {
|
|
2993
|
+
return new cloudwatch.Metric({
|
|
2994
|
+
namespace: "AWS/ElastiCache",
|
|
2995
|
+
metricName: "CurrConfig",
|
|
2996
|
+
dimensionsMap: this.dimensions,
|
|
2997
|
+
statistic: "Sum",
|
|
2998
|
+
...options
|
|
2999
|
+
});
|
|
3000
|
+
}
|
|
3001
|
+
/**
|
|
3002
|
+
* Sum of the CurrConnections metric
|
|
3003
|
+
*
|
|
3004
|
+
* @default - Sum over 5 minutes
|
|
3005
|
+
*/
|
|
3006
|
+
currConnections(options) {
|
|
3007
|
+
return new cloudwatch.Metric({
|
|
3008
|
+
namespace: "AWS/ElastiCache",
|
|
3009
|
+
metricName: "CurrConnections",
|
|
3010
|
+
dimensionsMap: this.dimensions,
|
|
3011
|
+
statistic: "Sum",
|
|
3012
|
+
...options
|
|
3013
|
+
});
|
|
3014
|
+
}
|
|
3015
|
+
/**
|
|
3016
|
+
* Sum of the CurrItems metric
|
|
3017
|
+
*
|
|
3018
|
+
* @default - Sum over 5 minutes
|
|
3019
|
+
*/
|
|
3020
|
+
currItems(options) {
|
|
3021
|
+
return new cloudwatch.Metric({
|
|
3022
|
+
namespace: "AWS/ElastiCache",
|
|
3023
|
+
metricName: "CurrItems",
|
|
3024
|
+
dimensionsMap: this.dimensions,
|
|
3025
|
+
statistic: "Sum",
|
|
3026
|
+
...options
|
|
3027
|
+
});
|
|
3028
|
+
}
|
|
3029
|
+
/**
|
|
3030
|
+
* Average of the DatabaseMemoryUsagePercentage metric
|
|
3031
|
+
*
|
|
3032
|
+
* @default - Average over 5 minutes
|
|
3033
|
+
*/
|
|
3034
|
+
databaseMemoryUsagePercentage(options) {
|
|
3035
|
+
return new cloudwatch.Metric({
|
|
3036
|
+
namespace: "AWS/ElastiCache",
|
|
3037
|
+
metricName: "DatabaseMemoryUsagePercentage",
|
|
3038
|
+
dimensionsMap: this.dimensions,
|
|
3039
|
+
statistic: "Average",
|
|
3040
|
+
...options
|
|
3041
|
+
});
|
|
3042
|
+
}
|
|
3043
|
+
/**
|
|
3044
|
+
* Average of the DB0AverageTTL metric
|
|
3045
|
+
*
|
|
3046
|
+
* @default - Average over 5 minutes
|
|
3047
|
+
*/
|
|
3048
|
+
db0AverageTtl(options) {
|
|
3049
|
+
return new cloudwatch.Metric({
|
|
3050
|
+
namespace: "AWS/ElastiCache",
|
|
3051
|
+
metricName: "DB0AverageTTL",
|
|
3052
|
+
dimensionsMap: this.dimensions,
|
|
3053
|
+
statistic: "Average",
|
|
3054
|
+
...options
|
|
3055
|
+
});
|
|
3056
|
+
}
|
|
3057
|
+
/**
|
|
3058
|
+
* Sum of the DecrHits metric
|
|
3059
|
+
*
|
|
3060
|
+
* @default - Sum over 5 minutes
|
|
3061
|
+
*/
|
|
3062
|
+
decrHits(options) {
|
|
3063
|
+
return new cloudwatch.Metric({
|
|
3064
|
+
namespace: "AWS/ElastiCache",
|
|
3065
|
+
metricName: "DecrHits",
|
|
3066
|
+
dimensionsMap: this.dimensions,
|
|
3067
|
+
statistic: "Sum",
|
|
3068
|
+
...options
|
|
3069
|
+
});
|
|
3070
|
+
}
|
|
3071
|
+
/**
|
|
3072
|
+
* Sum of the DecrMisses metric
|
|
3073
|
+
*
|
|
3074
|
+
* @default - Sum over 5 minutes
|
|
3075
|
+
*/
|
|
3076
|
+
decrMisses(options) {
|
|
3077
|
+
return new cloudwatch.Metric({
|
|
3078
|
+
namespace: "AWS/ElastiCache",
|
|
3079
|
+
metricName: "DecrMisses",
|
|
3080
|
+
dimensionsMap: this.dimensions,
|
|
3081
|
+
statistic: "Sum",
|
|
3082
|
+
...options
|
|
3083
|
+
});
|
|
3084
|
+
}
|
|
3085
|
+
/**
|
|
3086
|
+
* Sum of the DeleteHits metric
|
|
3087
|
+
*
|
|
3088
|
+
* @default - Sum over 5 minutes
|
|
3089
|
+
*/
|
|
3090
|
+
deleteHits(options) {
|
|
3091
|
+
return new cloudwatch.Metric({
|
|
3092
|
+
namespace: "AWS/ElastiCache",
|
|
3093
|
+
metricName: "DeleteHits",
|
|
3094
|
+
dimensionsMap: this.dimensions,
|
|
3095
|
+
statistic: "Sum",
|
|
3096
|
+
...options
|
|
3097
|
+
});
|
|
3098
|
+
}
|
|
3099
|
+
/**
|
|
3100
|
+
* Sum of the DeleteMisses metric
|
|
3101
|
+
*
|
|
3102
|
+
* @default - Sum over 5 minutes
|
|
3103
|
+
*/
|
|
3104
|
+
deleteMisses(options) {
|
|
3105
|
+
return new cloudwatch.Metric({
|
|
3106
|
+
namespace: "AWS/ElastiCache",
|
|
3107
|
+
metricName: "DeleteMisses",
|
|
3108
|
+
dimensionsMap: this.dimensions,
|
|
3109
|
+
statistic: "Sum",
|
|
3110
|
+
...options
|
|
3111
|
+
});
|
|
3112
|
+
}
|
|
3113
|
+
/**
|
|
3114
|
+
* Average of the EngineCPUUtilization metric
|
|
3115
|
+
*
|
|
3116
|
+
* @default - Average over 5 minutes
|
|
3117
|
+
*/
|
|
3118
|
+
engineCpuUtilization(options) {
|
|
3119
|
+
return new cloudwatch.Metric({
|
|
3120
|
+
namespace: "AWS/ElastiCache",
|
|
3121
|
+
metricName: "EngineCPUUtilization",
|
|
3122
|
+
dimensionsMap: this.dimensions,
|
|
3123
|
+
statistic: "Average",
|
|
3124
|
+
...options
|
|
3125
|
+
});
|
|
3126
|
+
}
|
|
3127
|
+
/**
|
|
3128
|
+
* Sum of the EvalBasedCmds metric
|
|
3129
|
+
*
|
|
3130
|
+
* @default - Sum over 5 minutes
|
|
3131
|
+
*/
|
|
3132
|
+
evalBasedCmds(options) {
|
|
3133
|
+
return new cloudwatch.Metric({
|
|
3134
|
+
namespace: "AWS/ElastiCache",
|
|
3135
|
+
metricName: "EvalBasedCmds",
|
|
3136
|
+
dimensionsMap: this.dimensions,
|
|
3137
|
+
statistic: "Sum",
|
|
3138
|
+
...options
|
|
3139
|
+
});
|
|
3140
|
+
}
|
|
3141
|
+
/**
|
|
3142
|
+
* Average of the EvalBasedCmdsLatency metric
|
|
3143
|
+
*
|
|
3144
|
+
* @default - Average over 5 minutes
|
|
3145
|
+
*/
|
|
3146
|
+
evalBasedCmdsLatency(options) {
|
|
3147
|
+
return new cloudwatch.Metric({
|
|
3148
|
+
namespace: "AWS/ElastiCache",
|
|
3149
|
+
metricName: "EvalBasedCmdsLatency",
|
|
3150
|
+
dimensionsMap: this.dimensions,
|
|
3151
|
+
statistic: "Average",
|
|
3152
|
+
...options
|
|
3153
|
+
});
|
|
3154
|
+
}
|
|
3155
|
+
/**
|
|
3156
|
+
* Sum of the EvictedUnfetched metric
|
|
3157
|
+
*
|
|
3158
|
+
* @default - Sum over 5 minutes
|
|
3159
|
+
*/
|
|
3160
|
+
evictedUnfetched(options) {
|
|
3161
|
+
return new cloudwatch.Metric({
|
|
3162
|
+
namespace: "AWS/ElastiCache",
|
|
3163
|
+
metricName: "EvictedUnfetched",
|
|
3164
|
+
dimensionsMap: this.dimensions,
|
|
3165
|
+
statistic: "Sum",
|
|
3166
|
+
...options
|
|
3167
|
+
});
|
|
3168
|
+
}
|
|
3169
|
+
/**
|
|
3170
|
+
* Sum of the Evictions metric
|
|
3171
|
+
*
|
|
3172
|
+
* @default - Sum over 5 minutes
|
|
3173
|
+
*/
|
|
3174
|
+
evictions(options) {
|
|
3175
|
+
return new cloudwatch.Metric({
|
|
3176
|
+
namespace: "AWS/ElastiCache",
|
|
3177
|
+
metricName: "Evictions",
|
|
3178
|
+
dimensionsMap: this.dimensions,
|
|
3179
|
+
statistic: "Sum",
|
|
3180
|
+
...options
|
|
3181
|
+
});
|
|
3182
|
+
}
|
|
3183
|
+
/**
|
|
3184
|
+
* Sum of the ExpiredUnfetched metric
|
|
3185
|
+
*
|
|
3186
|
+
* @default - Sum over 5 minutes
|
|
3187
|
+
*/
|
|
3188
|
+
expiredUnfetched(options) {
|
|
3189
|
+
return new cloudwatch.Metric({
|
|
3190
|
+
namespace: "AWS/ElastiCache",
|
|
3191
|
+
metricName: "ExpiredUnfetched",
|
|
3192
|
+
dimensionsMap: this.dimensions,
|
|
3193
|
+
statistic: "Sum",
|
|
3194
|
+
...options
|
|
3195
|
+
});
|
|
3196
|
+
}
|
|
3197
|
+
/**
|
|
3198
|
+
* Average of the FreeableMemory metric
|
|
3199
|
+
*
|
|
3200
|
+
* @default - Average over 5 minutes
|
|
3201
|
+
*/
|
|
3202
|
+
freeableMemory(options) {
|
|
3203
|
+
return new cloudwatch.Metric({
|
|
3204
|
+
namespace: "AWS/ElastiCache",
|
|
3205
|
+
metricName: "FreeableMemory",
|
|
3206
|
+
dimensionsMap: this.dimensions,
|
|
3207
|
+
statistic: "Average",
|
|
3208
|
+
...options
|
|
3209
|
+
});
|
|
3210
|
+
}
|
|
3211
|
+
/**
|
|
3212
|
+
* Sum of the GeoSpatialBasedCmds metric
|
|
3213
|
+
*
|
|
3214
|
+
* @default - Sum over 5 minutes
|
|
3215
|
+
*/
|
|
3216
|
+
geoSpatialBasedCmds(options) {
|
|
3217
|
+
return new cloudwatch.Metric({
|
|
3218
|
+
namespace: "AWS/ElastiCache",
|
|
3219
|
+
metricName: "GeoSpatialBasedCmds",
|
|
3220
|
+
dimensionsMap: this.dimensions,
|
|
3221
|
+
statistic: "Sum",
|
|
3222
|
+
...options
|
|
3223
|
+
});
|
|
3224
|
+
}
|
|
3225
|
+
/**
|
|
3226
|
+
* Average of the GeoSpatialBasedCmdsLatency metric
|
|
3227
|
+
*
|
|
3228
|
+
* @default - Average over 5 minutes
|
|
3229
|
+
*/
|
|
3230
|
+
geoSpatialBasedCmdsLatency(options) {
|
|
3231
|
+
return new cloudwatch.Metric({
|
|
3232
|
+
namespace: "AWS/ElastiCache",
|
|
3233
|
+
metricName: "GeoSpatialBasedCmdsLatency",
|
|
3234
|
+
dimensionsMap: this.dimensions,
|
|
3235
|
+
statistic: "Average",
|
|
3236
|
+
...options
|
|
3237
|
+
});
|
|
3238
|
+
}
|
|
3239
|
+
/**
|
|
3240
|
+
* Sum of the GetHits metric
|
|
3241
|
+
*
|
|
3242
|
+
* @default - Sum over 5 minutes
|
|
3243
|
+
*/
|
|
3244
|
+
getHits(options) {
|
|
3245
|
+
return new cloudwatch.Metric({
|
|
3246
|
+
namespace: "AWS/ElastiCache",
|
|
3247
|
+
metricName: "GetHits",
|
|
3248
|
+
dimensionsMap: this.dimensions,
|
|
3249
|
+
statistic: "Sum",
|
|
3250
|
+
...options
|
|
3251
|
+
});
|
|
3252
|
+
}
|
|
3253
|
+
/**
|
|
3254
|
+
* Sum of the GetMisses metric
|
|
3255
|
+
*
|
|
3256
|
+
* @default - Sum over 5 minutes
|
|
3257
|
+
*/
|
|
3258
|
+
getMisses(options) {
|
|
3259
|
+
return new cloudwatch.Metric({
|
|
3260
|
+
namespace: "AWS/ElastiCache",
|
|
3261
|
+
metricName: "GetMisses",
|
|
3262
|
+
dimensionsMap: this.dimensions,
|
|
3263
|
+
statistic: "Sum",
|
|
3264
|
+
...options
|
|
3265
|
+
});
|
|
3266
|
+
}
|
|
3267
|
+
/**
|
|
3268
|
+
* Sum of the GetTypeCmds metric
|
|
3269
|
+
*
|
|
3270
|
+
* @default - Sum over 5 minutes
|
|
3271
|
+
*/
|
|
3272
|
+
getTypeCmds(options) {
|
|
3273
|
+
return new cloudwatch.Metric({
|
|
3274
|
+
namespace: "AWS/ElastiCache",
|
|
3275
|
+
metricName: "GetTypeCmds",
|
|
3276
|
+
dimensionsMap: this.dimensions,
|
|
3277
|
+
statistic: "Sum",
|
|
3278
|
+
...options
|
|
3279
|
+
});
|
|
3280
|
+
}
|
|
3281
|
+
/**
|
|
3282
|
+
* Average of the GetTypeCmdsLatency metric
|
|
3283
|
+
*
|
|
3284
|
+
* @default - Average over 5 minutes
|
|
3285
|
+
*/
|
|
3286
|
+
getTypeCmdsLatency(options) {
|
|
3287
|
+
return new cloudwatch.Metric({
|
|
3288
|
+
namespace: "AWS/ElastiCache",
|
|
3289
|
+
metricName: "GetTypeCmdsLatency",
|
|
3290
|
+
dimensionsMap: this.dimensions,
|
|
3291
|
+
statistic: "Average",
|
|
3292
|
+
...options
|
|
3293
|
+
});
|
|
3294
|
+
}
|
|
3295
|
+
/**
|
|
3296
|
+
* Sum of the HashBasedCmds metric
|
|
3297
|
+
*
|
|
3298
|
+
* @default - Sum over 5 minutes
|
|
3299
|
+
*/
|
|
3300
|
+
hashBasedCmds(options) {
|
|
3301
|
+
return new cloudwatch.Metric({
|
|
3302
|
+
namespace: "AWS/ElastiCache",
|
|
3303
|
+
metricName: "HashBasedCmds",
|
|
3304
|
+
dimensionsMap: this.dimensions,
|
|
3305
|
+
statistic: "Sum",
|
|
3306
|
+
...options
|
|
3307
|
+
});
|
|
3308
|
+
}
|
|
3309
|
+
/**
|
|
3310
|
+
* Average of the HashBasedCmdsLatency metric
|
|
3311
|
+
*
|
|
3312
|
+
* @default - Average over 5 minutes
|
|
3313
|
+
*/
|
|
3314
|
+
hashBasedCmdsLatency(options) {
|
|
3315
|
+
return new cloudwatch.Metric({
|
|
3316
|
+
namespace: "AWS/ElastiCache",
|
|
3317
|
+
metricName: "HashBasedCmdsLatency",
|
|
3318
|
+
dimensionsMap: this.dimensions,
|
|
3319
|
+
statistic: "Average",
|
|
3320
|
+
...options
|
|
3321
|
+
});
|
|
3322
|
+
}
|
|
3323
|
+
/**
|
|
3324
|
+
* Sum of the HyperLogLogBasedCmds metric
|
|
3325
|
+
*
|
|
3326
|
+
* @default - Sum over 5 minutes
|
|
3327
|
+
*/
|
|
3328
|
+
hyperLogLogBasedCmds(options) {
|
|
3329
|
+
return new cloudwatch.Metric({
|
|
3330
|
+
namespace: "AWS/ElastiCache",
|
|
3331
|
+
metricName: "HyperLogLogBasedCmds",
|
|
3332
|
+
dimensionsMap: this.dimensions,
|
|
3333
|
+
statistic: "Sum",
|
|
3334
|
+
...options
|
|
3335
|
+
});
|
|
3336
|
+
}
|
|
3337
|
+
/**
|
|
3338
|
+
* Average of the HyperLogLogBasedCmdsLatency metric
|
|
3339
|
+
*
|
|
3340
|
+
* @default - Average over 5 minutes
|
|
3341
|
+
*/
|
|
3342
|
+
hyperLogLogBasedCmdsLatency(options) {
|
|
3343
|
+
return new cloudwatch.Metric({
|
|
3344
|
+
namespace: "AWS/ElastiCache",
|
|
3345
|
+
metricName: "HyperLogLogBasedCmdsLatency",
|
|
3346
|
+
dimensionsMap: this.dimensions,
|
|
3347
|
+
statistic: "Average",
|
|
3348
|
+
...options
|
|
3349
|
+
});
|
|
3350
|
+
}
|
|
3351
|
+
/**
|
|
3352
|
+
* Sum of the IncrHits metric
|
|
3353
|
+
*
|
|
3354
|
+
* @default - Sum over 5 minutes
|
|
3355
|
+
*/
|
|
3356
|
+
incrHits(options) {
|
|
3357
|
+
return new cloudwatch.Metric({
|
|
3358
|
+
namespace: "AWS/ElastiCache",
|
|
3359
|
+
metricName: "IncrHits",
|
|
3360
|
+
dimensionsMap: this.dimensions,
|
|
3361
|
+
statistic: "Sum",
|
|
3362
|
+
...options
|
|
3363
|
+
});
|
|
3364
|
+
}
|
|
3365
|
+
/**
|
|
3366
|
+
* Sum of the IncrMisses metric
|
|
3367
|
+
*
|
|
3368
|
+
* @default - Sum over 5 minutes
|
|
3369
|
+
*/
|
|
3370
|
+
incrMisses(options) {
|
|
3371
|
+
return new cloudwatch.Metric({
|
|
3372
|
+
namespace: "AWS/ElastiCache",
|
|
3373
|
+
metricName: "IncrMisses",
|
|
3374
|
+
dimensionsMap: this.dimensions,
|
|
3375
|
+
statistic: "Sum",
|
|
3376
|
+
...options
|
|
3377
|
+
});
|
|
3378
|
+
}
|
|
3379
|
+
/**
|
|
3380
|
+
* Average of the IsMaster metric
|
|
3381
|
+
*
|
|
3382
|
+
* @default - Average over 5 minutes
|
|
3383
|
+
*/
|
|
3384
|
+
isMaster(options) {
|
|
3385
|
+
return new cloudwatch.Metric({
|
|
3386
|
+
namespace: "AWS/ElastiCache",
|
|
3387
|
+
metricName: "IsMaster",
|
|
3388
|
+
dimensionsMap: this.dimensions,
|
|
3389
|
+
statistic: "Average",
|
|
3390
|
+
...options
|
|
3391
|
+
});
|
|
3392
|
+
}
|
|
3393
|
+
/**
|
|
3394
|
+
* Sum of the KeyAuthorizationFailures metric
|
|
3395
|
+
*
|
|
3396
|
+
* @default - Sum over 5 minutes
|
|
3397
|
+
*/
|
|
3398
|
+
keyAuthorizationFailures(options) {
|
|
3399
|
+
return new cloudwatch.Metric({
|
|
3400
|
+
namespace: "AWS/ElastiCache",
|
|
3401
|
+
metricName: "KeyAuthorizationFailures",
|
|
3402
|
+
dimensionsMap: this.dimensions,
|
|
3403
|
+
statistic: "Sum",
|
|
3404
|
+
...options
|
|
3405
|
+
});
|
|
3406
|
+
}
|
|
3407
|
+
/**
|
|
3408
|
+
* Sum of the KeyBasedCmds metric
|
|
3409
|
+
*
|
|
3410
|
+
* @default - Sum over 5 minutes
|
|
3411
|
+
*/
|
|
3412
|
+
keyBasedCmds(options) {
|
|
3413
|
+
return new cloudwatch.Metric({
|
|
3414
|
+
namespace: "AWS/ElastiCache",
|
|
3415
|
+
metricName: "KeyBasedCmds",
|
|
3416
|
+
dimensionsMap: this.dimensions,
|
|
3417
|
+
statistic: "Sum",
|
|
3418
|
+
...options
|
|
3419
|
+
});
|
|
3420
|
+
}
|
|
3421
|
+
/**
|
|
3422
|
+
* Average of the KeyBasedCmdsLatency metric
|
|
3423
|
+
*
|
|
3424
|
+
* @default - Average over 5 minutes
|
|
3425
|
+
*/
|
|
3426
|
+
keyBasedCmdsLatency(options) {
|
|
3427
|
+
return new cloudwatch.Metric({
|
|
3428
|
+
namespace: "AWS/ElastiCache",
|
|
3429
|
+
metricName: "KeyBasedCmdsLatency",
|
|
3430
|
+
dimensionsMap: this.dimensions,
|
|
3431
|
+
statistic: "Average",
|
|
3432
|
+
...options
|
|
3433
|
+
});
|
|
3434
|
+
}
|
|
3435
|
+
/**
|
|
3436
|
+
* Sum of the KeysTracked metric
|
|
3437
|
+
*
|
|
3438
|
+
* @default - Sum over 5 minutes
|
|
3439
|
+
*/
|
|
3440
|
+
keysTracked(options) {
|
|
3441
|
+
return new cloudwatch.Metric({
|
|
3442
|
+
namespace: "AWS/ElastiCache",
|
|
3443
|
+
metricName: "KeysTracked",
|
|
3444
|
+
dimensionsMap: this.dimensions,
|
|
3445
|
+
statistic: "Sum",
|
|
3446
|
+
...options
|
|
3447
|
+
});
|
|
3448
|
+
}
|
|
3449
|
+
/**
|
|
3450
|
+
* Sum of the ListBasedCmds metric
|
|
3451
|
+
*
|
|
3452
|
+
* @default - Sum over 5 minutes
|
|
3453
|
+
*/
|
|
3454
|
+
listBasedCmds(options) {
|
|
3455
|
+
return new cloudwatch.Metric({
|
|
3456
|
+
namespace: "AWS/ElastiCache",
|
|
3457
|
+
metricName: "ListBasedCmds",
|
|
3458
|
+
dimensionsMap: this.dimensions,
|
|
3459
|
+
statistic: "Sum",
|
|
3460
|
+
...options
|
|
3461
|
+
});
|
|
3462
|
+
}
|
|
3463
|
+
/**
|
|
3464
|
+
* Average of the ListBasedCmdsLatency metric
|
|
3465
|
+
*
|
|
3466
|
+
* @default - Average over 5 minutes
|
|
3467
|
+
*/
|
|
3468
|
+
listBasedCmdsLatency(options) {
|
|
3469
|
+
return new cloudwatch.Metric({
|
|
3470
|
+
namespace: "AWS/ElastiCache",
|
|
3471
|
+
metricName: "ListBasedCmdsLatency",
|
|
3472
|
+
dimensionsMap: this.dimensions,
|
|
3473
|
+
statistic: "Average",
|
|
3474
|
+
...options
|
|
3475
|
+
});
|
|
3476
|
+
}
|
|
3477
|
+
/**
|
|
3478
|
+
* Average of the MasterLinkHealthStatus metric
|
|
3479
|
+
*
|
|
3480
|
+
* @default - Average over 5 minutes
|
|
3481
|
+
*/
|
|
3482
|
+
masterLinkHealthStatus(options) {
|
|
3483
|
+
return new cloudwatch.Metric({
|
|
3484
|
+
namespace: "AWS/ElastiCache",
|
|
3485
|
+
metricName: "MasterLinkHealthStatus",
|
|
3486
|
+
dimensionsMap: this.dimensions,
|
|
3487
|
+
statistic: "Average",
|
|
3488
|
+
...options
|
|
3489
|
+
});
|
|
3490
|
+
}
|
|
3491
|
+
/**
|
|
3492
|
+
* Average of the MemoryFragmentationRatio metric
|
|
3493
|
+
*
|
|
3494
|
+
* @default - Average over 5 minutes
|
|
3495
|
+
*/
|
|
3496
|
+
memoryFragmentationRatio(options) {
|
|
3497
|
+
return new cloudwatch.Metric({
|
|
3498
|
+
namespace: "AWS/ElastiCache",
|
|
3499
|
+
metricName: "MemoryFragmentationRatio",
|
|
3500
|
+
dimensionsMap: this.dimensions,
|
|
3501
|
+
statistic: "Average",
|
|
3502
|
+
...options
|
|
3503
|
+
});
|
|
3504
|
+
}
|
|
3505
|
+
/**
|
|
3506
|
+
* Average of the NetworkBandwidthInAllowanceExceeded metric
|
|
3507
|
+
*
|
|
3508
|
+
* @default - Average over 5 minutes
|
|
3509
|
+
*/
|
|
3510
|
+
networkBandwidthInAllowanceExceeded(options) {
|
|
3511
|
+
return new cloudwatch.Metric({
|
|
3512
|
+
namespace: "AWS/ElastiCache",
|
|
3513
|
+
metricName: "NetworkBandwidthInAllowanceExceeded",
|
|
3514
|
+
dimensionsMap: this.dimensions,
|
|
3515
|
+
statistic: "Average",
|
|
3516
|
+
...options
|
|
3517
|
+
});
|
|
3518
|
+
}
|
|
3519
|
+
/**
|
|
3520
|
+
* Average of the NetworkBandwidthOutAllowanceExceeded metric
|
|
3521
|
+
*
|
|
3522
|
+
* @default - Average over 5 minutes
|
|
3523
|
+
*/
|
|
3524
|
+
networkBandwidthOutAllowanceExceeded(options) {
|
|
3525
|
+
return new cloudwatch.Metric({
|
|
3526
|
+
namespace: "AWS/ElastiCache",
|
|
3527
|
+
metricName: "NetworkBandwidthOutAllowanceExceeded",
|
|
3528
|
+
dimensionsMap: this.dimensions,
|
|
3529
|
+
statistic: "Average",
|
|
3530
|
+
...options
|
|
3531
|
+
});
|
|
3532
|
+
}
|
|
3533
|
+
/**
|
|
3534
|
+
* Average of the NetworkBytesIn metric
|
|
3535
|
+
*
|
|
3536
|
+
* @default - Average over 5 minutes
|
|
3537
|
+
*/
|
|
3538
|
+
networkBytesIn(options) {
|
|
3539
|
+
return new cloudwatch.Metric({
|
|
3540
|
+
namespace: "AWS/ElastiCache",
|
|
3541
|
+
metricName: "NetworkBytesIn",
|
|
3542
|
+
dimensionsMap: this.dimensions,
|
|
3543
|
+
statistic: "Average",
|
|
3544
|
+
...options
|
|
3545
|
+
});
|
|
3546
|
+
}
|
|
3547
|
+
/**
|
|
3548
|
+
* Average of the NetworkBytesOut metric
|
|
3549
|
+
*
|
|
3550
|
+
* @default - Average over 5 minutes
|
|
3551
|
+
*/
|
|
3552
|
+
networkBytesOut(options) {
|
|
3553
|
+
return new cloudwatch.Metric({
|
|
3554
|
+
namespace: "AWS/ElastiCache",
|
|
3555
|
+
metricName: "NetworkBytesOut",
|
|
3556
|
+
dimensionsMap: this.dimensions,
|
|
3557
|
+
statistic: "Average",
|
|
3558
|
+
...options
|
|
3559
|
+
});
|
|
3560
|
+
}
|
|
3561
|
+
/**
|
|
3562
|
+
* Average of the NetworkConntrackAllowanceExceeded metric
|
|
3563
|
+
*
|
|
3564
|
+
* @default - Average over 5 minutes
|
|
3565
|
+
*/
|
|
3566
|
+
networkConntrackAllowanceExceeded(options) {
|
|
3567
|
+
return new cloudwatch.Metric({
|
|
3568
|
+
namespace: "AWS/ElastiCache",
|
|
3569
|
+
metricName: "NetworkConntrackAllowanceExceeded",
|
|
3570
|
+
dimensionsMap: this.dimensions,
|
|
3571
|
+
statistic: "Average",
|
|
3572
|
+
...options
|
|
3573
|
+
});
|
|
3574
|
+
}
|
|
3575
|
+
/**
|
|
3576
|
+
* Average of the NetworkLinkLocalAllowanceExceeded metric
|
|
3577
|
+
*
|
|
3578
|
+
* @default - Average over 5 minutes
|
|
3579
|
+
*/
|
|
3580
|
+
networkLinkLocalAllowanceExceeded(options) {
|
|
3581
|
+
return new cloudwatch.Metric({
|
|
3582
|
+
namespace: "AWS/ElastiCache",
|
|
3583
|
+
metricName: "NetworkLinkLocalAllowanceExceeded",
|
|
3584
|
+
dimensionsMap: this.dimensions,
|
|
3585
|
+
statistic: "Average",
|
|
3586
|
+
...options
|
|
3587
|
+
});
|
|
3588
|
+
}
|
|
3589
|
+
/**
|
|
3590
|
+
* Average of the NetworkPacketsIn metric
|
|
3591
|
+
*
|
|
3592
|
+
* @default - Average over 5 minutes
|
|
3593
|
+
*/
|
|
3594
|
+
networkPacketsIn(options) {
|
|
3595
|
+
return new cloudwatch.Metric({
|
|
3596
|
+
namespace: "AWS/ElastiCache",
|
|
3597
|
+
metricName: "NetworkPacketsIn",
|
|
3598
|
+
dimensionsMap: this.dimensions,
|
|
3599
|
+
statistic: "Average",
|
|
3600
|
+
...options
|
|
3601
|
+
});
|
|
3602
|
+
}
|
|
3603
|
+
/**
|
|
3604
|
+
* Average of the NetworkPacketsOut metric
|
|
3605
|
+
*
|
|
3606
|
+
* @default - Average over 5 minutes
|
|
3607
|
+
*/
|
|
3608
|
+
networkPacketsOut(options) {
|
|
3609
|
+
return new cloudwatch.Metric({
|
|
3610
|
+
namespace: "AWS/ElastiCache",
|
|
3611
|
+
metricName: "NetworkPacketsOut",
|
|
3612
|
+
dimensionsMap: this.dimensions,
|
|
3613
|
+
statistic: "Average",
|
|
3614
|
+
...options
|
|
3615
|
+
});
|
|
3616
|
+
}
|
|
3617
|
+
/**
|
|
3618
|
+
* Average of the NetworkPacketsPerSecondAllowanceExceeded metric
|
|
3619
|
+
*
|
|
3620
|
+
* @default - Average over 5 minutes
|
|
3621
|
+
*/
|
|
3622
|
+
networkPacketsPerSecondAllowanceExceeded(options) {
|
|
3623
|
+
return new cloudwatch.Metric({
|
|
3624
|
+
namespace: "AWS/ElastiCache",
|
|
3625
|
+
metricName: "NetworkPacketsPerSecondAllowanceExceeded",
|
|
3626
|
+
dimensionsMap: this.dimensions,
|
|
3627
|
+
statistic: "Average",
|
|
3628
|
+
...options
|
|
3629
|
+
});
|
|
3630
|
+
}
|
|
3631
|
+
/**
|
|
3632
|
+
* Sum of the NewConnections metric
|
|
3633
|
+
*
|
|
3634
|
+
* @default - Sum over 5 minutes
|
|
3635
|
+
*/
|
|
3636
|
+
newConnections(options) {
|
|
3637
|
+
return new cloudwatch.Metric({
|
|
3638
|
+
namespace: "AWS/ElastiCache",
|
|
3639
|
+
metricName: "NewConnections",
|
|
3640
|
+
dimensionsMap: this.dimensions,
|
|
3641
|
+
statistic: "Sum",
|
|
3642
|
+
...options
|
|
3643
|
+
});
|
|
3644
|
+
}
|
|
3645
|
+
/**
|
|
3646
|
+
* Sum of the NewItems metric
|
|
3647
|
+
*
|
|
3648
|
+
* @default - Sum over 5 minutes
|
|
3649
|
+
*/
|
|
3650
|
+
newItems(options) {
|
|
3651
|
+
return new cloudwatch.Metric({
|
|
3652
|
+
namespace: "AWS/ElastiCache",
|
|
3653
|
+
metricName: "NewItems",
|
|
3654
|
+
dimensionsMap: this.dimensions,
|
|
3655
|
+
statistic: "Sum",
|
|
3656
|
+
...options
|
|
3657
|
+
});
|
|
3658
|
+
}
|
|
3659
|
+
/**
|
|
3660
|
+
* Sum of the PubSubBasedCmds metric
|
|
3661
|
+
*
|
|
3662
|
+
* @default - Sum over 5 minutes
|
|
3663
|
+
*/
|
|
3664
|
+
pubSubBasedCmds(options) {
|
|
3665
|
+
return new cloudwatch.Metric({
|
|
3666
|
+
namespace: "AWS/ElastiCache",
|
|
3667
|
+
metricName: "PubSubBasedCmds",
|
|
3668
|
+
dimensionsMap: this.dimensions,
|
|
3669
|
+
statistic: "Sum",
|
|
3670
|
+
...options
|
|
3671
|
+
});
|
|
3672
|
+
}
|
|
3673
|
+
/**
|
|
3674
|
+
* Average of the PubSubBasedCmdsLatency metric
|
|
3675
|
+
*
|
|
3676
|
+
* @default - Average over 5 minutes
|
|
3677
|
+
*/
|
|
3678
|
+
pubSubBasedCmdsLatency(options) {
|
|
3679
|
+
return new cloudwatch.Metric({
|
|
3680
|
+
namespace: "AWS/ElastiCache",
|
|
3681
|
+
metricName: "PubSubBasedCmdsLatency",
|
|
3682
|
+
dimensionsMap: this.dimensions,
|
|
3683
|
+
statistic: "Average",
|
|
3684
|
+
...options
|
|
3685
|
+
});
|
|
3686
|
+
}
|
|
3687
|
+
/**
|
|
3688
|
+
* Sum of the Reclaimed metric
|
|
3689
|
+
*
|
|
3690
|
+
* @default - Sum over 5 minutes
|
|
3691
|
+
*/
|
|
3692
|
+
reclaimed(options) {
|
|
3693
|
+
return new cloudwatch.Metric({
|
|
3694
|
+
namespace: "AWS/ElastiCache",
|
|
3695
|
+
metricName: "Reclaimed",
|
|
3696
|
+
dimensionsMap: this.dimensions,
|
|
3697
|
+
statistic: "Sum",
|
|
3698
|
+
...options
|
|
3699
|
+
});
|
|
3700
|
+
}
|
|
3701
|
+
/**
|
|
3702
|
+
* Sum of the ReplicationBytes metric
|
|
3703
|
+
*
|
|
3704
|
+
* @default - Sum over 5 minutes
|
|
3705
|
+
*/
|
|
3706
|
+
replicationBytes(options) {
|
|
3707
|
+
return new cloudwatch.Metric({
|
|
3708
|
+
namespace: "AWS/ElastiCache",
|
|
3709
|
+
metricName: "ReplicationBytes",
|
|
3710
|
+
dimensionsMap: this.dimensions,
|
|
3711
|
+
statistic: "Sum",
|
|
3712
|
+
...options
|
|
3713
|
+
});
|
|
3714
|
+
}
|
|
3715
|
+
/**
|
|
3716
|
+
* Average of the ReplicationLag metric
|
|
3717
|
+
*
|
|
3718
|
+
* @default - Average over 5 minutes
|
|
3719
|
+
*/
|
|
3720
|
+
replicationLag(options) {
|
|
3721
|
+
return new cloudwatch.Metric({
|
|
3722
|
+
namespace: "AWS/ElastiCache",
|
|
3723
|
+
metricName: "ReplicationLag",
|
|
3724
|
+
dimensionsMap: this.dimensions,
|
|
3725
|
+
statistic: "Average",
|
|
3726
|
+
...options
|
|
3727
|
+
});
|
|
3728
|
+
}
|
|
3729
|
+
/**
|
|
3730
|
+
* Sum of the SaveInProgress metric
|
|
3731
|
+
*
|
|
3732
|
+
* @default - Sum over 5 minutes
|
|
3733
|
+
*/
|
|
3734
|
+
saveInProgress(options) {
|
|
3735
|
+
return new cloudwatch.Metric({
|
|
3736
|
+
namespace: "AWS/ElastiCache",
|
|
3737
|
+
metricName: "SaveInProgress",
|
|
3738
|
+
dimensionsMap: this.dimensions,
|
|
3739
|
+
statistic: "Sum",
|
|
3740
|
+
...options
|
|
3741
|
+
});
|
|
3742
|
+
}
|
|
3743
|
+
/**
|
|
3744
|
+
* Sum of the SetBasedCmds metric
|
|
3745
|
+
*
|
|
3746
|
+
* @default - Sum over 5 minutes
|
|
3747
|
+
*/
|
|
3748
|
+
setBasedCmds(options) {
|
|
3749
|
+
return new cloudwatch.Metric({
|
|
3750
|
+
namespace: "AWS/ElastiCache",
|
|
3751
|
+
metricName: "SetBasedCmds",
|
|
3752
|
+
dimensionsMap: this.dimensions,
|
|
3753
|
+
statistic: "Sum",
|
|
3754
|
+
...options
|
|
3755
|
+
});
|
|
3756
|
+
}
|
|
3757
|
+
/**
|
|
3758
|
+
* Average of the SetBasedCmdsLatency metric
|
|
3759
|
+
*
|
|
3760
|
+
* @default - Average over 5 minutes
|
|
3761
|
+
*/
|
|
3762
|
+
setBasedCmdsLatency(options) {
|
|
3763
|
+
return new cloudwatch.Metric({
|
|
3764
|
+
namespace: "AWS/ElastiCache",
|
|
3765
|
+
metricName: "SetBasedCmdsLatency",
|
|
3766
|
+
dimensionsMap: this.dimensions,
|
|
3767
|
+
statistic: "Average",
|
|
3768
|
+
...options
|
|
3769
|
+
});
|
|
3770
|
+
}
|
|
3771
|
+
/**
|
|
3772
|
+
* Sum of the SetTypeCmds metric
|
|
3773
|
+
*
|
|
3774
|
+
* @default - Sum over 5 minutes
|
|
3775
|
+
*/
|
|
3776
|
+
setTypeCmds(options) {
|
|
3777
|
+
return new cloudwatch.Metric({
|
|
3778
|
+
namespace: "AWS/ElastiCache",
|
|
3779
|
+
metricName: "SetTypeCmds",
|
|
3780
|
+
dimensionsMap: this.dimensions,
|
|
3781
|
+
statistic: "Sum",
|
|
3782
|
+
...options
|
|
3783
|
+
});
|
|
3784
|
+
}
|
|
3785
|
+
/**
|
|
3786
|
+
* Average of the SetTypeCmdsLatency metric
|
|
3787
|
+
*
|
|
3788
|
+
* @default - Average over 5 minutes
|
|
3789
|
+
*/
|
|
3790
|
+
setTypeCmdsLatency(options) {
|
|
3791
|
+
return new cloudwatch.Metric({
|
|
3792
|
+
namespace: "AWS/ElastiCache",
|
|
3793
|
+
metricName: "SetTypeCmdsLatency",
|
|
3794
|
+
dimensionsMap: this.dimensions,
|
|
3795
|
+
statistic: "Average",
|
|
3796
|
+
...options
|
|
3797
|
+
});
|
|
3798
|
+
}
|
|
3799
|
+
/**
|
|
3800
|
+
* Sum of the SlabsMoved metric
|
|
3801
|
+
*
|
|
3802
|
+
* @default - Sum over 5 minutes
|
|
3803
|
+
*/
|
|
3804
|
+
slabsMoved(options) {
|
|
3805
|
+
return new cloudwatch.Metric({
|
|
3806
|
+
namespace: "AWS/ElastiCache",
|
|
3807
|
+
metricName: "SlabsMoved",
|
|
3808
|
+
dimensionsMap: this.dimensions,
|
|
3809
|
+
statistic: "Sum",
|
|
3810
|
+
...options
|
|
3811
|
+
});
|
|
3812
|
+
}
|
|
3813
|
+
/**
|
|
3814
|
+
* Sum of the SortedSetBasedCmds metric
|
|
3815
|
+
*
|
|
3816
|
+
* @default - Sum over 5 minutes
|
|
3817
|
+
*/
|
|
3818
|
+
sortedSetBasedCmds(options) {
|
|
3819
|
+
return new cloudwatch.Metric({
|
|
3820
|
+
namespace: "AWS/ElastiCache",
|
|
3821
|
+
metricName: "SortedSetBasedCmds",
|
|
3822
|
+
dimensionsMap: this.dimensions,
|
|
3823
|
+
statistic: "Sum",
|
|
3824
|
+
...options
|
|
3825
|
+
});
|
|
3826
|
+
}
|
|
3827
|
+
/**
|
|
3828
|
+
* Average of the SortedSetBasedCmdsLatency metric
|
|
3829
|
+
*
|
|
3830
|
+
* @default - Average over 5 minutes
|
|
3831
|
+
*/
|
|
3832
|
+
sortedSetBasedCmdsLatency(options) {
|
|
3833
|
+
return new cloudwatch.Metric({
|
|
3834
|
+
namespace: "AWS/ElastiCache",
|
|
3835
|
+
metricName: "SortedSetBasedCmdsLatency",
|
|
3836
|
+
dimensionsMap: this.dimensions,
|
|
3837
|
+
statistic: "Average",
|
|
3838
|
+
...options
|
|
3839
|
+
});
|
|
3840
|
+
}
|
|
3841
|
+
/**
|
|
3842
|
+
* Sum of the StreamBasedCmds metric
|
|
3843
|
+
*
|
|
3844
|
+
* @default - Sum over 5 minutes
|
|
3845
|
+
*/
|
|
3846
|
+
streamBasedCmds(options) {
|
|
3847
|
+
return new cloudwatch.Metric({
|
|
3848
|
+
namespace: "AWS/ElastiCache",
|
|
3849
|
+
metricName: "StreamBasedCmds",
|
|
3850
|
+
dimensionsMap: this.dimensions,
|
|
3851
|
+
statistic: "Sum",
|
|
3852
|
+
...options
|
|
3853
|
+
});
|
|
3854
|
+
}
|
|
3855
|
+
/**
|
|
3856
|
+
* Average of the StreamBasedCmdsLatency metric
|
|
3857
|
+
*
|
|
3858
|
+
* @default - Average over 5 minutes
|
|
3859
|
+
*/
|
|
3860
|
+
streamBasedCmdsLatency(options) {
|
|
3861
|
+
return new cloudwatch.Metric({
|
|
3862
|
+
namespace: "AWS/ElastiCache",
|
|
3863
|
+
metricName: "StreamBasedCmdsLatency",
|
|
3864
|
+
dimensionsMap: this.dimensions,
|
|
3865
|
+
statistic: "Average",
|
|
3866
|
+
...options
|
|
3867
|
+
});
|
|
3868
|
+
}
|
|
3869
|
+
/**
|
|
3870
|
+
* Sum of the StringBasedCmds metric
|
|
3871
|
+
*
|
|
3872
|
+
* @default - Sum over 5 minutes
|
|
3873
|
+
*/
|
|
3874
|
+
stringBasedCmds(options) {
|
|
3875
|
+
return new cloudwatch.Metric({
|
|
3876
|
+
namespace: "AWS/ElastiCache",
|
|
3877
|
+
metricName: "StringBasedCmds",
|
|
3878
|
+
dimensionsMap: this.dimensions,
|
|
3879
|
+
statistic: "Sum",
|
|
3880
|
+
...options
|
|
3881
|
+
});
|
|
3882
|
+
}
|
|
3883
|
+
/**
|
|
3884
|
+
* Average of the StringBasedCmdsLatency metric
|
|
3885
|
+
*
|
|
3886
|
+
* @default - Average over 5 minutes
|
|
3887
|
+
*/
|
|
3888
|
+
stringBasedCmdsLatency(options) {
|
|
3889
|
+
return new cloudwatch.Metric({
|
|
3890
|
+
namespace: "AWS/ElastiCache",
|
|
3891
|
+
metricName: "StringBasedCmdsLatency",
|
|
3892
|
+
dimensionsMap: this.dimensions,
|
|
3893
|
+
statistic: "Average",
|
|
3894
|
+
...options
|
|
3895
|
+
});
|
|
3896
|
+
}
|
|
3897
|
+
/**
|
|
3898
|
+
* Average of the SwapUsage metric
|
|
3899
|
+
*
|
|
3900
|
+
* @default - Average over 5 minutes
|
|
3901
|
+
*/
|
|
3902
|
+
swapUsage(options) {
|
|
3903
|
+
return new cloudwatch.Metric({
|
|
3904
|
+
namespace: "AWS/ElastiCache",
|
|
3905
|
+
metricName: "SwapUsage",
|
|
3906
|
+
dimensionsMap: this.dimensions,
|
|
3907
|
+
statistic: "Average",
|
|
3908
|
+
...options
|
|
3909
|
+
});
|
|
3910
|
+
}
|
|
3911
|
+
/**
|
|
3912
|
+
* Sum of the TouchHits metric
|
|
3913
|
+
*
|
|
3914
|
+
* @default - Sum over 5 minutes
|
|
3915
|
+
*/
|
|
3916
|
+
touchHits(options) {
|
|
3917
|
+
return new cloudwatch.Metric({
|
|
3918
|
+
namespace: "AWS/ElastiCache",
|
|
3919
|
+
metricName: "TouchHits",
|
|
3920
|
+
dimensionsMap: this.dimensions,
|
|
3921
|
+
statistic: "Sum",
|
|
3922
|
+
...options
|
|
3923
|
+
});
|
|
3924
|
+
}
|
|
3925
|
+
/**
|
|
3926
|
+
* Sum of the TouchMisses metric
|
|
3927
|
+
*
|
|
3928
|
+
* @default - Sum over 5 minutes
|
|
3929
|
+
*/
|
|
3930
|
+
touchMisses(options) {
|
|
3931
|
+
return new cloudwatch.Metric({
|
|
3932
|
+
namespace: "AWS/ElastiCache",
|
|
3933
|
+
metricName: "TouchMisses",
|
|
3934
|
+
dimensionsMap: this.dimensions,
|
|
3935
|
+
statistic: "Sum",
|
|
3936
|
+
...options
|
|
3937
|
+
});
|
|
3938
|
+
}
|
|
3939
|
+
/**
|
|
3940
|
+
* Average of the UnusedMemory metric
|
|
3941
|
+
*
|
|
3942
|
+
* @default - Average over 5 minutes
|
|
3943
|
+
*/
|
|
3944
|
+
unusedMemory(options) {
|
|
3945
|
+
return new cloudwatch.Metric({
|
|
3946
|
+
namespace: "AWS/ElastiCache",
|
|
3947
|
+
metricName: "UnusedMemory",
|
|
3948
|
+
dimensionsMap: this.dimensions,
|
|
3949
|
+
statistic: "Average",
|
|
3950
|
+
...options
|
|
3951
|
+
});
|
|
3952
|
+
}
|
|
3953
|
+
/**
|
|
3954
|
+
* Average of the GlobalDatastoreReplicationLag metric
|
|
3955
|
+
*
|
|
3956
|
+
* @default - Average over 5 minutes
|
|
3957
|
+
*/
|
|
3958
|
+
globalDatastoreReplicationLag(options) {
|
|
3959
|
+
return new cloudwatch.Metric({
|
|
3960
|
+
namespace: "AWS/ElastiCache",
|
|
3961
|
+
metricName: "GlobalDatastoreReplicationLag",
|
|
3962
|
+
dimensionsMap: this.dimensions,
|
|
3963
|
+
statistic: "Average",
|
|
3964
|
+
...options
|
|
3965
|
+
});
|
|
3966
|
+
}
|
|
3967
|
+
}
|
|
3968
|
+
ElastiCacheMetrics.AccountMetrics = AccountMetrics;
|
|
3969
|
+
})(ElastiCacheMetrics || (exports.ElastiCacheMetrics = ElastiCacheMetrics = {}));
|