@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,1226 @@
|
|
|
1
|
+
import * as cloudwatch from "aws-cdk-lib/aws-cloudwatch";
|
|
2
|
+
import { ICapacityReservationRef, IInstanceRef, INatGatewayRef, IVolumeRef } from "aws-cdk-lib/aws-ec2";
|
|
3
|
+
/**
|
|
4
|
+
* CloudWatch metrics facade for AWS/EC2CapacityReservations
|
|
5
|
+
* This class contains helper functions to initialize the dimension-sets classes
|
|
6
|
+
* for selected resources if available.
|
|
7
|
+
*
|
|
8
|
+
* @stability external
|
|
9
|
+
*/
|
|
10
|
+
export declare abstract class EC2CapacityReservationsMetrics {
|
|
11
|
+
/**
|
|
12
|
+
* Create CapacityReservationMetrics from a CapacityReservation reference
|
|
13
|
+
*/
|
|
14
|
+
static fromCapacityReservation(ref: ICapacityReservationRef): EC2CapacityReservationsMetrics.CapacityReservationMetrics;
|
|
15
|
+
}
|
|
16
|
+
export declare namespace EC2CapacityReservationsMetrics {
|
|
17
|
+
/**
|
|
18
|
+
* Metrics for dimension set: CapacityReservation {CapacityReservationId}
|
|
19
|
+
*
|
|
20
|
+
* @stability external
|
|
21
|
+
*/
|
|
22
|
+
class CapacityReservationMetrics {
|
|
23
|
+
private readonly dimensions;
|
|
24
|
+
constructor(props: EC2CapacityReservationsMetrics.CapacityReservationMetricsProps);
|
|
25
|
+
/**
|
|
26
|
+
* Average of the InstanceUtilization metric
|
|
27
|
+
*
|
|
28
|
+
* @default - Average over 5 minutes
|
|
29
|
+
*/
|
|
30
|
+
instanceUtilization(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
31
|
+
/**
|
|
32
|
+
* Average of the UsedInstanceCount metric
|
|
33
|
+
*
|
|
34
|
+
* @default - Average over 5 minutes
|
|
35
|
+
*/
|
|
36
|
+
usedInstanceCount(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
37
|
+
/**
|
|
38
|
+
* Average of the AvailableInstanceCount metric
|
|
39
|
+
*
|
|
40
|
+
* @default - Average over 5 minutes
|
|
41
|
+
*/
|
|
42
|
+
availableInstanceCount(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
43
|
+
/**
|
|
44
|
+
* Average of the TotalInstanceCount metric
|
|
45
|
+
*
|
|
46
|
+
* @default - Average over 5 minutes
|
|
47
|
+
*/
|
|
48
|
+
totalInstanceCount(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
49
|
+
}
|
|
50
|
+
/**
|
|
51
|
+
* Dimensions for CapacityReservationMetrics
|
|
52
|
+
*
|
|
53
|
+
* @struct
|
|
54
|
+
* @stability external
|
|
55
|
+
*/
|
|
56
|
+
interface CapacityReservationMetricsProps {
|
|
57
|
+
/**
|
|
58
|
+
* The CapacityReservationId dimension
|
|
59
|
+
*/
|
|
60
|
+
readonly capacityReservationId: string;
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
/**
|
|
64
|
+
* CloudWatch metrics facade for AWS/EBS
|
|
65
|
+
* This class contains helper functions to initialize the dimension-sets classes
|
|
66
|
+
* for selected resources if available.
|
|
67
|
+
*
|
|
68
|
+
* @stability external
|
|
69
|
+
*/
|
|
70
|
+
export declare abstract class EBSMetrics {
|
|
71
|
+
/**
|
|
72
|
+
* Create VolumeMetrics from a Volume reference
|
|
73
|
+
*/
|
|
74
|
+
static fromVolume(ref: IVolumeRef): EBSMetrics.VolumeMetrics;
|
|
75
|
+
}
|
|
76
|
+
export declare namespace EBSMetrics {
|
|
77
|
+
/**
|
|
78
|
+
* Metrics for dimension set: Volume {VolumeId}
|
|
79
|
+
*
|
|
80
|
+
* @stability external
|
|
81
|
+
*/
|
|
82
|
+
class VolumeMetrics {
|
|
83
|
+
private readonly dimensions;
|
|
84
|
+
constructor(props: EBSMetrics.VolumeMetricsProps);
|
|
85
|
+
/**
|
|
86
|
+
* Sum of the VolumeReadBytes metric
|
|
87
|
+
*
|
|
88
|
+
* @default - Sum over 5 minutes
|
|
89
|
+
*/
|
|
90
|
+
volumeReadBytes(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
91
|
+
/**
|
|
92
|
+
* Sum of the VolumeWriteBytes metric
|
|
93
|
+
*
|
|
94
|
+
* @default - Sum over 5 minutes
|
|
95
|
+
*/
|
|
96
|
+
volumeWriteBytes(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
97
|
+
/**
|
|
98
|
+
* Sum of the VolumeReadOps metric
|
|
99
|
+
*
|
|
100
|
+
* @default - Sum over 5 minutes
|
|
101
|
+
*/
|
|
102
|
+
volumeReadOps(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
103
|
+
/**
|
|
104
|
+
* Average of the VolumeTotalReadTime metric
|
|
105
|
+
*
|
|
106
|
+
* @default - Average over 5 minutes
|
|
107
|
+
*/
|
|
108
|
+
volumeTotalReadTime(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
109
|
+
/**
|
|
110
|
+
* Sum of the VolumeWriteOps metric
|
|
111
|
+
*
|
|
112
|
+
* @default - Sum over 5 minutes
|
|
113
|
+
*/
|
|
114
|
+
volumeWriteOps(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
115
|
+
/**
|
|
116
|
+
* Average of the VolumeTotalWriteTime metric
|
|
117
|
+
*
|
|
118
|
+
* @default - Average over 5 minutes
|
|
119
|
+
*/
|
|
120
|
+
volumeTotalWriteTime(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
121
|
+
/**
|
|
122
|
+
* Average of the VolumeIdleTime metric
|
|
123
|
+
*
|
|
124
|
+
* @default - Average over 5 minutes
|
|
125
|
+
*/
|
|
126
|
+
volumeIdleTime(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
127
|
+
/**
|
|
128
|
+
* Average of the VolumeQueueLength metric
|
|
129
|
+
*
|
|
130
|
+
* @default - Average over 5 minutes
|
|
131
|
+
*/
|
|
132
|
+
volumeQueueLength(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
133
|
+
/**
|
|
134
|
+
* Average of the BurstBalance metric
|
|
135
|
+
*
|
|
136
|
+
* @default - Average over 5 minutes
|
|
137
|
+
*/
|
|
138
|
+
burstBalance(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
139
|
+
}
|
|
140
|
+
/**
|
|
141
|
+
* Dimensions for VolumeMetrics
|
|
142
|
+
*
|
|
143
|
+
* @struct
|
|
144
|
+
* @stability external
|
|
145
|
+
*/
|
|
146
|
+
interface VolumeMetricsProps {
|
|
147
|
+
/**
|
|
148
|
+
* The VolumeId dimension
|
|
149
|
+
*/
|
|
150
|
+
readonly volumeId: string;
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
/**
|
|
154
|
+
* CloudWatch metrics facade for AWS/EC2
|
|
155
|
+
* This class contains helper functions to initialize the dimension-sets classes
|
|
156
|
+
* for selected resources if available.
|
|
157
|
+
*
|
|
158
|
+
* @stability external
|
|
159
|
+
*/
|
|
160
|
+
export declare abstract class EC2Metrics {
|
|
161
|
+
/**
|
|
162
|
+
* Create InstanceMetrics from a Instance reference
|
|
163
|
+
*/
|
|
164
|
+
static fromInstance(ref: IInstanceRef): EC2Metrics.InstanceMetrics;
|
|
165
|
+
}
|
|
166
|
+
export declare namespace EC2Metrics {
|
|
167
|
+
/**
|
|
168
|
+
* Metrics for dimension set: Instance {InstanceId}
|
|
169
|
+
*
|
|
170
|
+
* @stability external
|
|
171
|
+
*/
|
|
172
|
+
class InstanceMetrics {
|
|
173
|
+
private readonly dimensions;
|
|
174
|
+
constructor(props: EC2Metrics.InstanceMetricsProps);
|
|
175
|
+
/**
|
|
176
|
+
* Average of the CPUCreditUsage metric
|
|
177
|
+
*
|
|
178
|
+
* @default - Average over 5 minutes
|
|
179
|
+
*/
|
|
180
|
+
cpuCreditUsage(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
181
|
+
/**
|
|
182
|
+
* Average of the CPUCreditBalance metric
|
|
183
|
+
*
|
|
184
|
+
* @default - Average over 5 minutes
|
|
185
|
+
*/
|
|
186
|
+
cpuCreditBalance(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
187
|
+
/**
|
|
188
|
+
* Average of the CPUSurplusCreditBalance metric
|
|
189
|
+
*
|
|
190
|
+
* @default - Average over 5 minutes
|
|
191
|
+
*/
|
|
192
|
+
cpuSurplusCreditBalance(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
193
|
+
/**
|
|
194
|
+
* Average of the CPUSurplusCreditsCharged metric
|
|
195
|
+
*
|
|
196
|
+
* @default - Average over 5 minutes
|
|
197
|
+
*/
|
|
198
|
+
cpuSurplusCreditsCharged(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
199
|
+
/**
|
|
200
|
+
* Average of the CPUUtilization metric
|
|
201
|
+
*
|
|
202
|
+
* @default - Average over 5 minutes
|
|
203
|
+
*/
|
|
204
|
+
cpuUtilization(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
205
|
+
/**
|
|
206
|
+
* Average of the DiskReadBytes metric
|
|
207
|
+
*
|
|
208
|
+
* @default - Average over 5 minutes
|
|
209
|
+
*/
|
|
210
|
+
diskReadBytes(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
211
|
+
/**
|
|
212
|
+
* Average of the DiskReadOps metric
|
|
213
|
+
*
|
|
214
|
+
* @default - Average over 5 minutes
|
|
215
|
+
*/
|
|
216
|
+
diskReadOps(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
217
|
+
/**
|
|
218
|
+
* Average of the DiskWriteBytes metric
|
|
219
|
+
*
|
|
220
|
+
* @default - Average over 5 minutes
|
|
221
|
+
*/
|
|
222
|
+
diskWriteBytes(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
223
|
+
/**
|
|
224
|
+
* Average of the DiskWriteOps metric
|
|
225
|
+
*
|
|
226
|
+
* @default - Average over 5 minutes
|
|
227
|
+
*/
|
|
228
|
+
diskWriteOps(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
229
|
+
/**
|
|
230
|
+
* Sum of the MetadataNoToken metric
|
|
231
|
+
*
|
|
232
|
+
* @default - Sum over 5 minutes
|
|
233
|
+
*/
|
|
234
|
+
metadataNoToken(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
235
|
+
/**
|
|
236
|
+
* Average of the NetworkIn metric
|
|
237
|
+
*
|
|
238
|
+
* @default - Average over 5 minutes
|
|
239
|
+
*/
|
|
240
|
+
networkIn(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
241
|
+
/**
|
|
242
|
+
* Average of the NetworkOut metric
|
|
243
|
+
*
|
|
244
|
+
* @default - Average over 5 minutes
|
|
245
|
+
*/
|
|
246
|
+
networkOut(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
247
|
+
/**
|
|
248
|
+
* Average of the NetworkPacketsIn metric
|
|
249
|
+
*
|
|
250
|
+
* @default - Average over 5 minutes
|
|
251
|
+
*/
|
|
252
|
+
networkPacketsIn(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
253
|
+
/**
|
|
254
|
+
* Average of the NetworkPacketsOut metric
|
|
255
|
+
*
|
|
256
|
+
* @default - Average over 5 minutes
|
|
257
|
+
*/
|
|
258
|
+
networkPacketsOut(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
259
|
+
/**
|
|
260
|
+
* Sum of the StatusCheckFailed metric
|
|
261
|
+
*
|
|
262
|
+
* @default - Sum over 5 minutes
|
|
263
|
+
*/
|
|
264
|
+
statusCheckFailed(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
265
|
+
/**
|
|
266
|
+
* Sum of the StatusCheckFailed_Instance metric
|
|
267
|
+
*
|
|
268
|
+
* @default - Sum over 5 minutes
|
|
269
|
+
*/
|
|
270
|
+
statusCheckFailedInstance(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
271
|
+
/**
|
|
272
|
+
* Sum of the StatusCheckFailed_System metric
|
|
273
|
+
*
|
|
274
|
+
* @default - Sum over 5 minutes
|
|
275
|
+
*/
|
|
276
|
+
statusCheckFailedSystem(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
277
|
+
/**
|
|
278
|
+
* Average of the EBSReadOps metric
|
|
279
|
+
*
|
|
280
|
+
* @default - Average over 5 minutes
|
|
281
|
+
*/
|
|
282
|
+
ebsReadOps(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
283
|
+
/**
|
|
284
|
+
* Average of the EBSWriteOps metric
|
|
285
|
+
*
|
|
286
|
+
* @default - Average over 5 minutes
|
|
287
|
+
*/
|
|
288
|
+
ebsWriteOps(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
289
|
+
/**
|
|
290
|
+
* Average of the EBSReadBytes metric
|
|
291
|
+
*
|
|
292
|
+
* @default - Average over 5 minutes
|
|
293
|
+
*/
|
|
294
|
+
ebsReadBytes(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
295
|
+
/**
|
|
296
|
+
* Average of the EBSWriteBytes metric
|
|
297
|
+
*
|
|
298
|
+
* @default - Average over 5 minutes
|
|
299
|
+
*/
|
|
300
|
+
ebsWriteBytes(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
301
|
+
/**
|
|
302
|
+
* Average of the EBSIOBalance% metric
|
|
303
|
+
*
|
|
304
|
+
* @default - Average over 5 minutes
|
|
305
|
+
*/
|
|
306
|
+
ebsioBalance(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
307
|
+
/**
|
|
308
|
+
* Average of the EBSByteBalance% metric
|
|
309
|
+
*
|
|
310
|
+
* @default - Average over 5 minutes
|
|
311
|
+
*/
|
|
312
|
+
ebsByteBalance(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
313
|
+
}
|
|
314
|
+
/**
|
|
315
|
+
* Dimensions for InstanceMetrics
|
|
316
|
+
*
|
|
317
|
+
* @struct
|
|
318
|
+
* @stability external
|
|
319
|
+
*/
|
|
320
|
+
interface InstanceMetricsProps {
|
|
321
|
+
/**
|
|
322
|
+
* The InstanceId dimension
|
|
323
|
+
*/
|
|
324
|
+
readonly instanceId: string;
|
|
325
|
+
}
|
|
326
|
+
/**
|
|
327
|
+
* Metrics for dimension set: Account {no dimensions}
|
|
328
|
+
*
|
|
329
|
+
* @stability external
|
|
330
|
+
*/
|
|
331
|
+
class AccountMetrics {
|
|
332
|
+
private readonly dimensions;
|
|
333
|
+
constructor();
|
|
334
|
+
/**
|
|
335
|
+
* Average of the CPUUtilization metric
|
|
336
|
+
*
|
|
337
|
+
* @default - Average over 5 minutes
|
|
338
|
+
*/
|
|
339
|
+
cpuUtilization(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
340
|
+
/**
|
|
341
|
+
* Average of the DiskReadBytes metric
|
|
342
|
+
*
|
|
343
|
+
* @default - Average over 5 minutes
|
|
344
|
+
*/
|
|
345
|
+
diskReadBytes(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
346
|
+
/**
|
|
347
|
+
* Average of the DiskReadOps metric
|
|
348
|
+
*
|
|
349
|
+
* @default - Average over 5 minutes
|
|
350
|
+
*/
|
|
351
|
+
diskReadOps(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
352
|
+
/**
|
|
353
|
+
* Average of the DiskWriteBytes metric
|
|
354
|
+
*
|
|
355
|
+
* @default - Average over 5 minutes
|
|
356
|
+
*/
|
|
357
|
+
diskWriteBytes(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
358
|
+
/**
|
|
359
|
+
* Average of the DiskWriteOps metric
|
|
360
|
+
*
|
|
361
|
+
* @default - Average over 5 minutes
|
|
362
|
+
*/
|
|
363
|
+
diskWriteOps(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
364
|
+
/**
|
|
365
|
+
* Sum of the MetadataNoToken metric
|
|
366
|
+
*
|
|
367
|
+
* @default - Sum over 5 minutes
|
|
368
|
+
*/
|
|
369
|
+
metadataNoToken(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
370
|
+
/**
|
|
371
|
+
* Average of the NetworkIn metric
|
|
372
|
+
*
|
|
373
|
+
* @default - Average over 5 minutes
|
|
374
|
+
*/
|
|
375
|
+
networkIn(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
376
|
+
/**
|
|
377
|
+
* Average of the NetworkOut metric
|
|
378
|
+
*
|
|
379
|
+
* @default - Average over 5 minutes
|
|
380
|
+
*/
|
|
381
|
+
networkOut(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
382
|
+
/**
|
|
383
|
+
* Average of the NetworkPacketsIn metric
|
|
384
|
+
*
|
|
385
|
+
* @default - Average over 5 minutes
|
|
386
|
+
*/
|
|
387
|
+
networkPacketsIn(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
388
|
+
/**
|
|
389
|
+
* Average of the NetworkPacketsOut metric
|
|
390
|
+
*
|
|
391
|
+
* @default - Average over 5 minutes
|
|
392
|
+
*/
|
|
393
|
+
networkPacketsOut(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
394
|
+
}
|
|
395
|
+
/**
|
|
396
|
+
* Metrics for dimension set: AutoScalingGroup {AutoScalingGroupName}
|
|
397
|
+
*
|
|
398
|
+
* @stability external
|
|
399
|
+
*/
|
|
400
|
+
class AutoScalingGroupMetrics {
|
|
401
|
+
private readonly dimensions;
|
|
402
|
+
constructor(props: EC2Metrics.AutoScalingGroupMetricsProps);
|
|
403
|
+
/**
|
|
404
|
+
* Average of the CPUUtilization metric
|
|
405
|
+
*
|
|
406
|
+
* @default - Average over 5 minutes
|
|
407
|
+
*/
|
|
408
|
+
cpuUtilization(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
409
|
+
/**
|
|
410
|
+
* Average of the DiskReadBytes metric
|
|
411
|
+
*
|
|
412
|
+
* @default - Average over 5 minutes
|
|
413
|
+
*/
|
|
414
|
+
diskReadBytes(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
415
|
+
/**
|
|
416
|
+
* Average of the DiskReadOps metric
|
|
417
|
+
*
|
|
418
|
+
* @default - Average over 5 minutes
|
|
419
|
+
*/
|
|
420
|
+
diskReadOps(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
421
|
+
/**
|
|
422
|
+
* Average of the DiskWriteBytes metric
|
|
423
|
+
*
|
|
424
|
+
* @default - Average over 5 minutes
|
|
425
|
+
*/
|
|
426
|
+
diskWriteBytes(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
427
|
+
/**
|
|
428
|
+
* Average of the DiskWriteOps metric
|
|
429
|
+
*
|
|
430
|
+
* @default - Average over 5 minutes
|
|
431
|
+
*/
|
|
432
|
+
diskWriteOps(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
433
|
+
/**
|
|
434
|
+
* Average of the NetworkIn metric
|
|
435
|
+
*
|
|
436
|
+
* @default - Average over 5 minutes
|
|
437
|
+
*/
|
|
438
|
+
networkIn(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
439
|
+
/**
|
|
440
|
+
* Average of the NetworkOut metric
|
|
441
|
+
*
|
|
442
|
+
* @default - Average over 5 minutes
|
|
443
|
+
*/
|
|
444
|
+
networkOut(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
445
|
+
/**
|
|
446
|
+
* Average of the NetworkPacketsIn metric
|
|
447
|
+
*
|
|
448
|
+
* @default - Average over 5 minutes
|
|
449
|
+
*/
|
|
450
|
+
networkPacketsIn(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
451
|
+
/**
|
|
452
|
+
* Average of the NetworkPacketsOut metric
|
|
453
|
+
*
|
|
454
|
+
* @default - Average over 5 minutes
|
|
455
|
+
*/
|
|
456
|
+
networkPacketsOut(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
457
|
+
}
|
|
458
|
+
/**
|
|
459
|
+
* Dimensions for AutoScalingGroupMetrics
|
|
460
|
+
*
|
|
461
|
+
* @struct
|
|
462
|
+
* @stability external
|
|
463
|
+
*/
|
|
464
|
+
interface AutoScalingGroupMetricsProps {
|
|
465
|
+
/**
|
|
466
|
+
* The AutoScalingGroupName dimension
|
|
467
|
+
*/
|
|
468
|
+
readonly autoScalingGroupName: string;
|
|
469
|
+
}
|
|
470
|
+
/**
|
|
471
|
+
* Metrics for dimension set: Image {ImageId}
|
|
472
|
+
*
|
|
473
|
+
* @stability external
|
|
474
|
+
*/
|
|
475
|
+
class ImageMetrics {
|
|
476
|
+
private readonly dimensions;
|
|
477
|
+
constructor(props: EC2Metrics.ImageMetricsProps);
|
|
478
|
+
/**
|
|
479
|
+
* Average of the CPUUtilization metric
|
|
480
|
+
*
|
|
481
|
+
* @default - Average over 5 minutes
|
|
482
|
+
*/
|
|
483
|
+
cpuUtilization(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
484
|
+
/**
|
|
485
|
+
* Average of the DiskReadBytes metric
|
|
486
|
+
*
|
|
487
|
+
* @default - Average over 5 minutes
|
|
488
|
+
*/
|
|
489
|
+
diskReadBytes(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
490
|
+
/**
|
|
491
|
+
* Average of the DiskReadOps metric
|
|
492
|
+
*
|
|
493
|
+
* @default - Average over 5 minutes
|
|
494
|
+
*/
|
|
495
|
+
diskReadOps(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
496
|
+
/**
|
|
497
|
+
* Average of the DiskWriteBytes metric
|
|
498
|
+
*
|
|
499
|
+
* @default - Average over 5 minutes
|
|
500
|
+
*/
|
|
501
|
+
diskWriteBytes(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
502
|
+
/**
|
|
503
|
+
* Average of the DiskWriteOps metric
|
|
504
|
+
*
|
|
505
|
+
* @default - Average over 5 minutes
|
|
506
|
+
*/
|
|
507
|
+
diskWriteOps(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
508
|
+
/**
|
|
509
|
+
* Average of the NetworkIn metric
|
|
510
|
+
*
|
|
511
|
+
* @default - Average over 5 minutes
|
|
512
|
+
*/
|
|
513
|
+
networkIn(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
514
|
+
/**
|
|
515
|
+
* Average of the NetworkOut metric
|
|
516
|
+
*
|
|
517
|
+
* @default - Average over 5 minutes
|
|
518
|
+
*/
|
|
519
|
+
networkOut(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
520
|
+
}
|
|
521
|
+
/**
|
|
522
|
+
* Dimensions for ImageMetrics
|
|
523
|
+
*
|
|
524
|
+
* @struct
|
|
525
|
+
* @stability external
|
|
526
|
+
*/
|
|
527
|
+
interface ImageMetricsProps {
|
|
528
|
+
/**
|
|
529
|
+
* The ImageId dimension
|
|
530
|
+
*/
|
|
531
|
+
readonly imageId: string;
|
|
532
|
+
}
|
|
533
|
+
/**
|
|
534
|
+
* Metrics for dimension set: InstanceType {InstanceType}
|
|
535
|
+
*
|
|
536
|
+
* @stability external
|
|
537
|
+
*/
|
|
538
|
+
class InstanceTypeMetrics {
|
|
539
|
+
private readonly dimensions;
|
|
540
|
+
constructor(props: EC2Metrics.InstanceTypeMetricsProps);
|
|
541
|
+
/**
|
|
542
|
+
* Average of the CPUUtilization metric
|
|
543
|
+
*
|
|
544
|
+
* @default - Average over 5 minutes
|
|
545
|
+
*/
|
|
546
|
+
cpuUtilization(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
547
|
+
/**
|
|
548
|
+
* Average of the DiskReadBytes metric
|
|
549
|
+
*
|
|
550
|
+
* @default - Average over 5 minutes
|
|
551
|
+
*/
|
|
552
|
+
diskReadBytes(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
553
|
+
/**
|
|
554
|
+
* Average of the DiskReadOps metric
|
|
555
|
+
*
|
|
556
|
+
* @default - Average over 5 minutes
|
|
557
|
+
*/
|
|
558
|
+
diskReadOps(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
559
|
+
/**
|
|
560
|
+
* Average of the DiskWriteBytes metric
|
|
561
|
+
*
|
|
562
|
+
* @default - Average over 5 minutes
|
|
563
|
+
*/
|
|
564
|
+
diskWriteBytes(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
565
|
+
/**
|
|
566
|
+
* Average of the DiskWriteOps metric
|
|
567
|
+
*
|
|
568
|
+
* @default - Average over 5 minutes
|
|
569
|
+
*/
|
|
570
|
+
diskWriteOps(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
571
|
+
/**
|
|
572
|
+
* Average of the NetworkIn metric
|
|
573
|
+
*
|
|
574
|
+
* @default - Average over 5 minutes
|
|
575
|
+
*/
|
|
576
|
+
networkIn(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
577
|
+
/**
|
|
578
|
+
* Average of the NetworkOut metric
|
|
579
|
+
*
|
|
580
|
+
* @default - Average over 5 minutes
|
|
581
|
+
*/
|
|
582
|
+
networkOut(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
583
|
+
}
|
|
584
|
+
/**
|
|
585
|
+
* Dimensions for InstanceTypeMetrics
|
|
586
|
+
*
|
|
587
|
+
* @struct
|
|
588
|
+
* @stability external
|
|
589
|
+
*/
|
|
590
|
+
interface InstanceTypeMetricsProps {
|
|
591
|
+
/**
|
|
592
|
+
* The InstanceType dimension
|
|
593
|
+
*/
|
|
594
|
+
readonly instanceType: string;
|
|
595
|
+
}
|
|
596
|
+
}
|
|
597
|
+
/**
|
|
598
|
+
* CloudWatch metrics facade for CWAgent
|
|
599
|
+
* This class contains helper functions to initialize the dimension-sets classes
|
|
600
|
+
* for selected resources if available.
|
|
601
|
+
*
|
|
602
|
+
* @stability external
|
|
603
|
+
*/
|
|
604
|
+
export declare abstract class CWAgentMetrics {
|
|
605
|
+
}
|
|
606
|
+
export declare namespace CWAgentMetrics {
|
|
607
|
+
/**
|
|
608
|
+
* Metrics for dimension set: Instance {InstanceId}
|
|
609
|
+
*
|
|
610
|
+
* @stability external
|
|
611
|
+
*/
|
|
612
|
+
class InstanceMetrics {
|
|
613
|
+
private readonly dimensions;
|
|
614
|
+
constructor(props: CWAgentMetrics.InstanceMetricsProps);
|
|
615
|
+
/**
|
|
616
|
+
* Average of the cpu_usage_idle metric
|
|
617
|
+
*
|
|
618
|
+
* @default - Average over 5 minutes
|
|
619
|
+
*/
|
|
620
|
+
cpuUsageIdle(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
621
|
+
/**
|
|
622
|
+
* Average of the cpu_usage_iowait metric
|
|
623
|
+
*
|
|
624
|
+
* @default - Average over 5 minutes
|
|
625
|
+
*/
|
|
626
|
+
cpuUsageIowait(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
627
|
+
/**
|
|
628
|
+
* Average of the cpu_usage_steal metric
|
|
629
|
+
*
|
|
630
|
+
* @default - Average over 5 minutes
|
|
631
|
+
*/
|
|
632
|
+
cpuUsageSteal(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
633
|
+
/**
|
|
634
|
+
* Average of the cpu_usage_system metric
|
|
635
|
+
*
|
|
636
|
+
* @default - Average over 5 minutes
|
|
637
|
+
*/
|
|
638
|
+
cpuUsageSystem(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
639
|
+
/**
|
|
640
|
+
* Average of the cpu_usage_user metric
|
|
641
|
+
*
|
|
642
|
+
* @default - Average over 5 minutes
|
|
643
|
+
*/
|
|
644
|
+
cpuUsageUser(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
645
|
+
/**
|
|
646
|
+
* Sum of the disk_inodes_free metric
|
|
647
|
+
*
|
|
648
|
+
* @default - Sum over 5 minutes
|
|
649
|
+
*/
|
|
650
|
+
diskInodesFree(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
651
|
+
/**
|
|
652
|
+
* Sum of the disk_inodes_total metric
|
|
653
|
+
*
|
|
654
|
+
* @default - Sum over 5 minutes
|
|
655
|
+
*/
|
|
656
|
+
diskInodesTotal(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
657
|
+
/**
|
|
658
|
+
* Sum of the disk_inodes_used metric
|
|
659
|
+
*
|
|
660
|
+
* @default - Sum over 5 minutes
|
|
661
|
+
*/
|
|
662
|
+
diskInodesUsed(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
663
|
+
/**
|
|
664
|
+
* Maximum of the disk_used_percent metric
|
|
665
|
+
*
|
|
666
|
+
* @default - Maximum over 5 minutes
|
|
667
|
+
*/
|
|
668
|
+
diskUsedPercent(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
669
|
+
/**
|
|
670
|
+
* Maximum of the disk_used metric
|
|
671
|
+
*
|
|
672
|
+
* @default - Maximum over 5 minutes
|
|
673
|
+
*/
|
|
674
|
+
diskUsed(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
675
|
+
/**
|
|
676
|
+
* Maximum of the disk_total metric
|
|
677
|
+
*
|
|
678
|
+
* @default - Maximum over 5 minutes
|
|
679
|
+
*/
|
|
680
|
+
diskTotal(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
681
|
+
/**
|
|
682
|
+
* Average of the diskio_io_time metric
|
|
683
|
+
*
|
|
684
|
+
* @default - Average over 5 minutes
|
|
685
|
+
*/
|
|
686
|
+
diskioIoTime(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
687
|
+
/**
|
|
688
|
+
* Average of the diskio_read_bytes metric
|
|
689
|
+
*
|
|
690
|
+
* @default - Average over 5 minutes
|
|
691
|
+
*/
|
|
692
|
+
diskioReadBytes(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
693
|
+
/**
|
|
694
|
+
* Average of the diskio_reads metric
|
|
695
|
+
*
|
|
696
|
+
* @default - Average over 5 minutes
|
|
697
|
+
*/
|
|
698
|
+
diskioReads(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
699
|
+
/**
|
|
700
|
+
* Average of the diskio_write_bytes metric
|
|
701
|
+
*
|
|
702
|
+
* @default - Average over 5 minutes
|
|
703
|
+
*/
|
|
704
|
+
diskioWriteBytes(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
705
|
+
/**
|
|
706
|
+
* Average of the diskio_writes metric
|
|
707
|
+
*
|
|
708
|
+
* @default - Average over 5 minutes
|
|
709
|
+
*/
|
|
710
|
+
diskioWrites(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
711
|
+
/**
|
|
712
|
+
* Average of the mem_cached metric
|
|
713
|
+
*
|
|
714
|
+
* @default - Average over 5 minutes
|
|
715
|
+
*/
|
|
716
|
+
memCached(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
717
|
+
/**
|
|
718
|
+
* Average of the mem_total metric
|
|
719
|
+
*
|
|
720
|
+
* @default - Average over 5 minutes
|
|
721
|
+
*/
|
|
722
|
+
memTotal(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
723
|
+
/**
|
|
724
|
+
* Average of the mem_used metric
|
|
725
|
+
*
|
|
726
|
+
* @default - Average over 5 minutes
|
|
727
|
+
*/
|
|
728
|
+
memUsed(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
729
|
+
/**
|
|
730
|
+
* Average of the mem_used_percent metric
|
|
731
|
+
*
|
|
732
|
+
* @default - Average over 5 minutes
|
|
733
|
+
*/
|
|
734
|
+
memUsedPercent(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
735
|
+
/**
|
|
736
|
+
* Sum of the netstat_tcp_established metric
|
|
737
|
+
*
|
|
738
|
+
* @default - Sum over 5 minutes
|
|
739
|
+
*/
|
|
740
|
+
netstatTcpEstablished(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
741
|
+
/**
|
|
742
|
+
* Sum of the netstat_tcp_time_wait metric
|
|
743
|
+
*
|
|
744
|
+
* @default - Sum over 5 minutes
|
|
745
|
+
*/
|
|
746
|
+
netstatTcpTimeWait(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
747
|
+
/**
|
|
748
|
+
* Average of the swap_used_percent metric
|
|
749
|
+
*
|
|
750
|
+
* @default - Average over 5 minutes
|
|
751
|
+
*/
|
|
752
|
+
swapUsedPercent(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
753
|
+
/**
|
|
754
|
+
* Sum of the ethtool_bw_in_allowance_exceeded metric
|
|
755
|
+
*
|
|
756
|
+
* @default - Sum over 5 minutes
|
|
757
|
+
*/
|
|
758
|
+
ethtoolBwInAllowanceExceeded(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
759
|
+
/**
|
|
760
|
+
* Sum of the ethtool_bw_out_allowance_exceeded metric
|
|
761
|
+
*
|
|
762
|
+
* @default - Sum over 5 minutes
|
|
763
|
+
*/
|
|
764
|
+
ethtoolBwOutAllowanceExceeded(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
765
|
+
/**
|
|
766
|
+
* Average of the ethtool_conntrack_allowance_available metric
|
|
767
|
+
*
|
|
768
|
+
* @default - Average over 5 minutes
|
|
769
|
+
*/
|
|
770
|
+
ethtoolConntrackAllowanceAvailable(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
771
|
+
/**
|
|
772
|
+
* Average of the ethtool_ena_srd_mode metric
|
|
773
|
+
*
|
|
774
|
+
* @default - Average over 5 minutes
|
|
775
|
+
*/
|
|
776
|
+
ethtoolEnaSrdMode(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
777
|
+
/**
|
|
778
|
+
* Sum of the ethtool_ena_srd_eligible_tx_pkts metric
|
|
779
|
+
*
|
|
780
|
+
* @default - Sum over 5 minutes
|
|
781
|
+
*/
|
|
782
|
+
ethtoolEnaSrdEligibleTxPkts(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
783
|
+
/**
|
|
784
|
+
* Sum of the ethtool_ena_srd_tx_pkts metric
|
|
785
|
+
*
|
|
786
|
+
* @default - Sum over 5 minutes
|
|
787
|
+
*/
|
|
788
|
+
ethtoolEnaSrdTxPkts(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
789
|
+
/**
|
|
790
|
+
* Sum of the ethtool_ena_srd_rx_pkts metric
|
|
791
|
+
*
|
|
792
|
+
* @default - Sum over 5 minutes
|
|
793
|
+
*/
|
|
794
|
+
ethtoolEnaSrdRxPkts(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
795
|
+
/**
|
|
796
|
+
* Average of the ethtool_ena_srd_resource_utilization metric
|
|
797
|
+
*
|
|
798
|
+
* @default - Average over 5 minutes
|
|
799
|
+
*/
|
|
800
|
+
ethtoolEnaSrdResourceUtilization(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
801
|
+
/**
|
|
802
|
+
* Sum of the ethtool_linklocal_allowance_exceeded metric
|
|
803
|
+
*
|
|
804
|
+
* @default - Sum over 5 minutes
|
|
805
|
+
*/
|
|
806
|
+
ethtoolLinklocalAllowanceExceeded(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
807
|
+
/**
|
|
808
|
+
* Sum of the ethtool_pps_allowance_exceeded metric
|
|
809
|
+
*
|
|
810
|
+
* @default - Sum over 5 minutes
|
|
811
|
+
*/
|
|
812
|
+
ethtoolPpsAllowanceExceeded(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
813
|
+
/**
|
|
814
|
+
* Sum of the ethtool_conntrack_allowance_exceeded metric
|
|
815
|
+
*
|
|
816
|
+
* @default - Sum over 5 minutes
|
|
817
|
+
*/
|
|
818
|
+
ethtoolConntrackAllowanceExceeded(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
819
|
+
/**
|
|
820
|
+
* Sum of the TCPv4 Connections Established metric
|
|
821
|
+
*
|
|
822
|
+
* @default - Sum over 5 minutes
|
|
823
|
+
*/
|
|
824
|
+
tcPv4ConnectionsEstablished(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
825
|
+
/**
|
|
826
|
+
* Sum of the TCPv6 Connections Established metric
|
|
827
|
+
*
|
|
828
|
+
* @default - Sum over 5 minutes
|
|
829
|
+
*/
|
|
830
|
+
tcPv6ConnectionsEstablished(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
831
|
+
/**
|
|
832
|
+
* Average of the Memory % Committed Bytes In Use metric
|
|
833
|
+
*
|
|
834
|
+
* @default - Average over 5 minutes
|
|
835
|
+
*/
|
|
836
|
+
memoryCommittedBytesInUse(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
837
|
+
/**
|
|
838
|
+
* Average of the Processor % Idle Time metric
|
|
839
|
+
*
|
|
840
|
+
* @default - Average over 5 minutes
|
|
841
|
+
*/
|
|
842
|
+
processorIdleTime(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
843
|
+
/**
|
|
844
|
+
* Average of the Processor % Interrupt Time metric
|
|
845
|
+
*
|
|
846
|
+
* @default - Average over 5 minutes
|
|
847
|
+
*/
|
|
848
|
+
processorInterruptTime(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
849
|
+
/**
|
|
850
|
+
* Average of the Processor % User Time metric
|
|
851
|
+
*
|
|
852
|
+
* @default - Average over 5 minutes
|
|
853
|
+
*/
|
|
854
|
+
processorUserTime(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
855
|
+
/**
|
|
856
|
+
* Average of the LogicalDisk % Free Space metric
|
|
857
|
+
*
|
|
858
|
+
* @default - Average over 5 minutes
|
|
859
|
+
*/
|
|
860
|
+
logicalDiskFreeSpace(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
861
|
+
/**
|
|
862
|
+
* Average of the Paging File % Usage metric
|
|
863
|
+
*
|
|
864
|
+
* @default - Average over 5 minutes
|
|
865
|
+
*/
|
|
866
|
+
pagingFileUsage(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
867
|
+
/**
|
|
868
|
+
* Average of the PhysicalDisk % Disk Time metric
|
|
869
|
+
*
|
|
870
|
+
* @default - Average over 5 minutes
|
|
871
|
+
*/
|
|
872
|
+
physicalDiskDiskTime(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
873
|
+
/**
|
|
874
|
+
* Average of the PhysicalDisk Disk Read Bytes/sec metric
|
|
875
|
+
*
|
|
876
|
+
* @default - Average over 5 minutes
|
|
877
|
+
*/
|
|
878
|
+
physicalDiskDiskReadBytesSec(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
879
|
+
/**
|
|
880
|
+
* Average of the PhysicalDisk Disk Write Bytes/sec metric
|
|
881
|
+
*
|
|
882
|
+
* @default - Average over 5 minutes
|
|
883
|
+
*/
|
|
884
|
+
physicalDiskDiskWriteBytesSec(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
885
|
+
/**
|
|
886
|
+
* Average of the PhysicalDisk Disk Writes/sec metric
|
|
887
|
+
*
|
|
888
|
+
* @default - Average over 5 minutes
|
|
889
|
+
*/
|
|
890
|
+
physicalDiskDiskWritesSec(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
891
|
+
/**
|
|
892
|
+
* Average of the PhysicalDisk Disk Reads/sec metric
|
|
893
|
+
*
|
|
894
|
+
* @default - Average over 5 minutes
|
|
895
|
+
*/
|
|
896
|
+
physicalDiskDiskReadsSec(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
897
|
+
/**
|
|
898
|
+
* Sum of the Aggregate inbound BW allowance exceeded metric
|
|
899
|
+
*
|
|
900
|
+
* @default - Sum over 5 minutes
|
|
901
|
+
*/
|
|
902
|
+
aggregateInboundBwAllowanceExceeded(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
903
|
+
/**
|
|
904
|
+
* Sum of the Aggregate outbound BW allowance exceeded metric
|
|
905
|
+
*
|
|
906
|
+
* @default - Sum over 5 minutes
|
|
907
|
+
*/
|
|
908
|
+
aggregateOutboundBwAllowanceExceeded(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
909
|
+
/**
|
|
910
|
+
* Average of the Available connection tracking allowance metric
|
|
911
|
+
*
|
|
912
|
+
* @default - Average over 5 minutes
|
|
913
|
+
*/
|
|
914
|
+
availableConnectionTrackingAllowance(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
915
|
+
/**
|
|
916
|
+
* Average of the ena srd mode metric
|
|
917
|
+
*
|
|
918
|
+
* @default - Average over 5 minutes
|
|
919
|
+
*/
|
|
920
|
+
enaSrdMode(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
921
|
+
/**
|
|
922
|
+
* Sum of the ena srd eligible tx pkts metric
|
|
923
|
+
*
|
|
924
|
+
* @default - Sum over 5 minutes
|
|
925
|
+
*/
|
|
926
|
+
enaSrdEligibleTxPkts(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
927
|
+
/**
|
|
928
|
+
* Sum of the ena srd tx pkts metric
|
|
929
|
+
*
|
|
930
|
+
* @default - Sum over 5 minutes
|
|
931
|
+
*/
|
|
932
|
+
enaSrdTxPkts(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
933
|
+
/**
|
|
934
|
+
* Sum of the ena srd rx pkts metric
|
|
935
|
+
*
|
|
936
|
+
* @default - Sum over 5 minutes
|
|
937
|
+
*/
|
|
938
|
+
enaSrdRxPkts(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
939
|
+
/**
|
|
940
|
+
* Average of the ena srd resource utilization metric
|
|
941
|
+
*
|
|
942
|
+
* @default - Average over 5 minutes
|
|
943
|
+
*/
|
|
944
|
+
enaSrdResourceUtilization(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
945
|
+
/**
|
|
946
|
+
* Sum of the Link local packet rate allowance exceeded metric
|
|
947
|
+
*
|
|
948
|
+
* @default - Sum over 5 minutes
|
|
949
|
+
*/
|
|
950
|
+
linkLocalPacketRateAllowanceExceeded(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
951
|
+
/**
|
|
952
|
+
* Sum of the PPS allowance exceeded metric
|
|
953
|
+
*
|
|
954
|
+
* @default - Sum over 5 minutes
|
|
955
|
+
*/
|
|
956
|
+
ppsAllowanceExceeded(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
957
|
+
/**
|
|
958
|
+
* Sum of the Connection tracking allowance exceeded metric
|
|
959
|
+
*
|
|
960
|
+
* @default - Sum over 5 minutes
|
|
961
|
+
*/
|
|
962
|
+
connectionTrackingAllowanceExceeded(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
963
|
+
}
|
|
964
|
+
/**
|
|
965
|
+
* Dimensions for InstanceMetrics
|
|
966
|
+
*
|
|
967
|
+
* @struct
|
|
968
|
+
* @stability external
|
|
969
|
+
*/
|
|
970
|
+
interface InstanceMetricsProps {
|
|
971
|
+
/**
|
|
972
|
+
* The InstanceId dimension
|
|
973
|
+
*/
|
|
974
|
+
readonly instanceId: string;
|
|
975
|
+
}
|
|
976
|
+
}
|
|
977
|
+
/**
|
|
978
|
+
* CloudWatch metrics facade for AWS/NATGateway
|
|
979
|
+
* This class contains helper functions to initialize the dimension-sets classes
|
|
980
|
+
* for selected resources if available.
|
|
981
|
+
*
|
|
982
|
+
* @stability external
|
|
983
|
+
*/
|
|
984
|
+
export declare abstract class NATGatewayMetrics {
|
|
985
|
+
/**
|
|
986
|
+
* Create NatGatewayMetrics from a NatGateway reference
|
|
987
|
+
*/
|
|
988
|
+
static fromNatGateway(ref: INatGatewayRef): NATGatewayMetrics.NatGatewayMetrics;
|
|
989
|
+
}
|
|
990
|
+
export declare namespace NATGatewayMetrics {
|
|
991
|
+
/**
|
|
992
|
+
* Metrics for dimension set: NatGateway {NatGatewayId}
|
|
993
|
+
*
|
|
994
|
+
* @stability external
|
|
995
|
+
*/
|
|
996
|
+
class NatGatewayMetrics {
|
|
997
|
+
private readonly dimensions;
|
|
998
|
+
constructor(props: NATGatewayMetrics.NatGatewayMetricsProps);
|
|
999
|
+
/**
|
|
1000
|
+
* Maximum of the ActiveConnectionCount metric
|
|
1001
|
+
*
|
|
1002
|
+
* @default - Maximum over 5 minutes
|
|
1003
|
+
*/
|
|
1004
|
+
activeConnectionCount(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
1005
|
+
/**
|
|
1006
|
+
* Sum of the PacketsDropCount metric
|
|
1007
|
+
*
|
|
1008
|
+
* @default - Sum over 5 minutes
|
|
1009
|
+
*/
|
|
1010
|
+
packetsDropCount(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
1011
|
+
/**
|
|
1012
|
+
* Sum of the BytesInFromDestination metric
|
|
1013
|
+
*
|
|
1014
|
+
* @default - Sum over 5 minutes
|
|
1015
|
+
*/
|
|
1016
|
+
bytesInFromDestination(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
1017
|
+
/**
|
|
1018
|
+
* Sum of the BytesInFromSource metric
|
|
1019
|
+
*
|
|
1020
|
+
* @default - Sum over 5 minutes
|
|
1021
|
+
*/
|
|
1022
|
+
bytesInFromSource(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
1023
|
+
/**
|
|
1024
|
+
* Sum of the BytesOutToDestination metric
|
|
1025
|
+
*
|
|
1026
|
+
* @default - Sum over 5 minutes
|
|
1027
|
+
*/
|
|
1028
|
+
bytesOutToDestination(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
1029
|
+
/**
|
|
1030
|
+
* Sum of the BytesOutToSource metric
|
|
1031
|
+
*
|
|
1032
|
+
* @default - Sum over 5 minutes
|
|
1033
|
+
*/
|
|
1034
|
+
bytesOutToSource(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
1035
|
+
/**
|
|
1036
|
+
* Sum of the ConnectionAttemptCount metric
|
|
1037
|
+
*
|
|
1038
|
+
* @default - Sum over 5 minutes
|
|
1039
|
+
*/
|
|
1040
|
+
connectionAttemptCount(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
1041
|
+
/**
|
|
1042
|
+
* Sum of the ConnectionEstablishedCount metric
|
|
1043
|
+
*
|
|
1044
|
+
* @default - Sum over 5 minutes
|
|
1045
|
+
*/
|
|
1046
|
+
connectionEstablishedCount(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
1047
|
+
/**
|
|
1048
|
+
* Sum of the ErrorPortAllocation metric
|
|
1049
|
+
*
|
|
1050
|
+
* @default - Sum over 5 minutes
|
|
1051
|
+
*/
|
|
1052
|
+
errorPortAllocation(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
1053
|
+
/**
|
|
1054
|
+
* Sum of the IdleTimeoutCount metric
|
|
1055
|
+
*
|
|
1056
|
+
* @default - Sum over 5 minutes
|
|
1057
|
+
*/
|
|
1058
|
+
idleTimeoutCount(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
1059
|
+
/**
|
|
1060
|
+
* Sum of the PacketsInFromDestination metric
|
|
1061
|
+
*
|
|
1062
|
+
* @default - Sum over 5 minutes
|
|
1063
|
+
*/
|
|
1064
|
+
packetsInFromDestination(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
1065
|
+
/**
|
|
1066
|
+
* Sum of the PacketsInFromSource metric
|
|
1067
|
+
*
|
|
1068
|
+
* @default - Sum over 5 minutes
|
|
1069
|
+
*/
|
|
1070
|
+
packetsInFromSource(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
1071
|
+
/**
|
|
1072
|
+
* Sum of the PacketsOutToDestination metric
|
|
1073
|
+
*
|
|
1074
|
+
* @default - Sum over 5 minutes
|
|
1075
|
+
*/
|
|
1076
|
+
packetsOutToDestination(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
1077
|
+
/**
|
|
1078
|
+
* Sum of the PacketsOutToSource metric
|
|
1079
|
+
*
|
|
1080
|
+
* @default - Sum over 5 minutes
|
|
1081
|
+
*/
|
|
1082
|
+
packetsOutToSource(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
1083
|
+
/**
|
|
1084
|
+
* Maximum of the PeakBytesPerSecond metric
|
|
1085
|
+
*
|
|
1086
|
+
* @default - Maximum over 5 minutes
|
|
1087
|
+
*/
|
|
1088
|
+
peakBytesPerSecond(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
1089
|
+
/**
|
|
1090
|
+
* Maximum of the PeakPacketsPerSecond metric
|
|
1091
|
+
*
|
|
1092
|
+
* @default - Maximum over 5 minutes
|
|
1093
|
+
*/
|
|
1094
|
+
peakPacketsPerSecond(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
1095
|
+
}
|
|
1096
|
+
/**
|
|
1097
|
+
* Dimensions for NatGatewayMetrics
|
|
1098
|
+
*
|
|
1099
|
+
* @struct
|
|
1100
|
+
* @stability external
|
|
1101
|
+
*/
|
|
1102
|
+
interface NatGatewayMetricsProps {
|
|
1103
|
+
/**
|
|
1104
|
+
* The NatGatewayId dimension
|
|
1105
|
+
*/
|
|
1106
|
+
readonly natGatewayId: string;
|
|
1107
|
+
}
|
|
1108
|
+
}
|
|
1109
|
+
/**
|
|
1110
|
+
* CloudWatch metrics facade for AWS/TransitGateway
|
|
1111
|
+
* This class contains helper functions to initialize the dimension-sets classes
|
|
1112
|
+
* for selected resources if available.
|
|
1113
|
+
*
|
|
1114
|
+
* @stability external
|
|
1115
|
+
*/
|
|
1116
|
+
export declare abstract class TransitGatewayMetrics {
|
|
1117
|
+
}
|
|
1118
|
+
export declare namespace TransitGatewayMetrics {
|
|
1119
|
+
/**
|
|
1120
|
+
* Metrics for dimension set: TransitGateway {TransitGateway}
|
|
1121
|
+
*
|
|
1122
|
+
* @stability external
|
|
1123
|
+
*/
|
|
1124
|
+
class TransitGatewayMetrics {
|
|
1125
|
+
private readonly dimensions;
|
|
1126
|
+
constructor(props: TransitGatewayMetrics.TransitGatewayMetricsProps);
|
|
1127
|
+
/**
|
|
1128
|
+
* Sum of the BytesIn metric
|
|
1129
|
+
*
|
|
1130
|
+
* @default - Sum over 5 minutes
|
|
1131
|
+
*/
|
|
1132
|
+
bytesIn(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
1133
|
+
/**
|
|
1134
|
+
* Sum of the BytesOut metric
|
|
1135
|
+
*
|
|
1136
|
+
* @default - Sum over 5 minutes
|
|
1137
|
+
*/
|
|
1138
|
+
bytesOut(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
1139
|
+
/**
|
|
1140
|
+
* Sum of the PacketDropCountBlackhole metric
|
|
1141
|
+
*
|
|
1142
|
+
* @default - Sum over 5 minutes
|
|
1143
|
+
*/
|
|
1144
|
+
packetDropCountBlackhole(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
1145
|
+
/**
|
|
1146
|
+
* Sum of the PacketDropCountNoRoute metric
|
|
1147
|
+
*
|
|
1148
|
+
* @default - Sum over 5 minutes
|
|
1149
|
+
*/
|
|
1150
|
+
packetDropCountNoRoute(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
1151
|
+
/**
|
|
1152
|
+
* Sum of the PacketsIn metric
|
|
1153
|
+
*
|
|
1154
|
+
* @default - Sum over 5 minutes
|
|
1155
|
+
*/
|
|
1156
|
+
packetsIn(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
1157
|
+
/**
|
|
1158
|
+
* Sum of the PacketsOut metric
|
|
1159
|
+
*
|
|
1160
|
+
* @default - Sum over 5 minutes
|
|
1161
|
+
*/
|
|
1162
|
+
packetsOut(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
1163
|
+
}
|
|
1164
|
+
/**
|
|
1165
|
+
* Dimensions for TransitGatewayMetrics
|
|
1166
|
+
*
|
|
1167
|
+
* @struct
|
|
1168
|
+
* @stability external
|
|
1169
|
+
*/
|
|
1170
|
+
interface TransitGatewayMetricsProps {
|
|
1171
|
+
/**
|
|
1172
|
+
* The TransitGateway dimension
|
|
1173
|
+
*/
|
|
1174
|
+
readonly transitGateway: string;
|
|
1175
|
+
}
|
|
1176
|
+
}
|
|
1177
|
+
/**
|
|
1178
|
+
* CloudWatch metrics facade for AWS/VPN
|
|
1179
|
+
* This class contains helper functions to initialize the dimension-sets classes
|
|
1180
|
+
* for selected resources if available.
|
|
1181
|
+
*
|
|
1182
|
+
* @stability external
|
|
1183
|
+
*/
|
|
1184
|
+
export declare abstract class VPNMetrics {
|
|
1185
|
+
}
|
|
1186
|
+
export declare namespace VPNMetrics {
|
|
1187
|
+
/**
|
|
1188
|
+
* Metrics for dimension set: VpnConnection {VpnId}
|
|
1189
|
+
*
|
|
1190
|
+
* @stability external
|
|
1191
|
+
*/
|
|
1192
|
+
class VpnConnectionMetrics {
|
|
1193
|
+
private readonly dimensions;
|
|
1194
|
+
constructor(props: VPNMetrics.VpnConnectionMetricsProps);
|
|
1195
|
+
/**
|
|
1196
|
+
* Sum of the TunnelDataIn metric
|
|
1197
|
+
*
|
|
1198
|
+
* @default - Sum over 5 minutes
|
|
1199
|
+
*/
|
|
1200
|
+
tunnelDataIn(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
1201
|
+
/**
|
|
1202
|
+
* Average of the TunnelState metric
|
|
1203
|
+
*
|
|
1204
|
+
* @default - Average over 5 minutes
|
|
1205
|
+
*/
|
|
1206
|
+
tunnelState(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
1207
|
+
/**
|
|
1208
|
+
* Sum of the TunnelDataOut metric
|
|
1209
|
+
*
|
|
1210
|
+
* @default - Sum over 5 minutes
|
|
1211
|
+
*/
|
|
1212
|
+
tunnelDataOut(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
1213
|
+
}
|
|
1214
|
+
/**
|
|
1215
|
+
* Dimensions for VpnConnectionMetrics
|
|
1216
|
+
*
|
|
1217
|
+
* @struct
|
|
1218
|
+
* @stability external
|
|
1219
|
+
*/
|
|
1220
|
+
interface VpnConnectionMetricsProps {
|
|
1221
|
+
/**
|
|
1222
|
+
* The VpnId dimension
|
|
1223
|
+
*/
|
|
1224
|
+
readonly vpnId: string;
|
|
1225
|
+
}
|
|
1226
|
+
}
|