@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,836 @@
|
|
|
1
|
+
import * as cloudwatch from "aws-cdk-lib/aws-cloudwatch";
|
|
2
|
+
import { IWorkspaceRef } from "aws-cdk-lib/aws-workspaces";
|
|
3
|
+
/**
|
|
4
|
+
* CloudWatch metrics facade for AWS/WorkSpaces
|
|
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 WorkSpacesMetrics {
|
|
11
|
+
/**
|
|
12
|
+
* Create WorkspaceMetrics from a Workspace reference
|
|
13
|
+
*/
|
|
14
|
+
static fromWorkspace(ref: IWorkspaceRef): WorkSpacesMetrics.WorkspaceMetrics;
|
|
15
|
+
}
|
|
16
|
+
export declare namespace WorkSpacesMetrics {
|
|
17
|
+
/**
|
|
18
|
+
* Metrics for dimension set: Workspace {WorkspaceId}
|
|
19
|
+
*
|
|
20
|
+
* @stability external
|
|
21
|
+
*/
|
|
22
|
+
class WorkspaceMetrics {
|
|
23
|
+
private readonly dimensions;
|
|
24
|
+
constructor(props: WorkSpacesMetrics.WorkspaceMetricsProps);
|
|
25
|
+
/**
|
|
26
|
+
* Sum of the Available metric
|
|
27
|
+
*
|
|
28
|
+
* @default - Sum over 5 minutes
|
|
29
|
+
*/
|
|
30
|
+
available(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
31
|
+
/**
|
|
32
|
+
* Sum of the Unhealthy metric
|
|
33
|
+
*
|
|
34
|
+
* @default - Sum over 5 minutes
|
|
35
|
+
*/
|
|
36
|
+
unhealthy(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
37
|
+
/**
|
|
38
|
+
* Sum of the ConnectionAttempt metric
|
|
39
|
+
*
|
|
40
|
+
* @default - Sum over 5 minutes
|
|
41
|
+
*/
|
|
42
|
+
connectionAttempt(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
43
|
+
/**
|
|
44
|
+
* Sum of the ConnectionSuccess metric
|
|
45
|
+
*
|
|
46
|
+
* @default - Sum over 5 minutes
|
|
47
|
+
*/
|
|
48
|
+
connectionSuccess(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
49
|
+
/**
|
|
50
|
+
* Sum of the ConnectionFailure metric
|
|
51
|
+
*
|
|
52
|
+
* @default - Sum over 5 minutes
|
|
53
|
+
*/
|
|
54
|
+
connectionFailure(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
55
|
+
/**
|
|
56
|
+
* Average of the SessionLaunchTime metric
|
|
57
|
+
*
|
|
58
|
+
* @default - Average over 5 minutes
|
|
59
|
+
*/
|
|
60
|
+
sessionLaunchTime(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
61
|
+
/**
|
|
62
|
+
* Average of the InSessionLatency metric
|
|
63
|
+
*
|
|
64
|
+
* @default - Average over 5 minutes
|
|
65
|
+
*/
|
|
66
|
+
inSessionLatency(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
67
|
+
/**
|
|
68
|
+
* Sum of the SessionDisconnect metric
|
|
69
|
+
*
|
|
70
|
+
* @default - Sum over 5 minutes
|
|
71
|
+
*/
|
|
72
|
+
sessionDisconnect(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
73
|
+
/**
|
|
74
|
+
* Sum of the UserConnected metric
|
|
75
|
+
*
|
|
76
|
+
* @default - Sum over 5 minutes
|
|
77
|
+
*/
|
|
78
|
+
userConnected(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
79
|
+
/**
|
|
80
|
+
* Sum of the Stopped metric
|
|
81
|
+
*
|
|
82
|
+
* @default - Sum over 5 minutes
|
|
83
|
+
*/
|
|
84
|
+
stopped(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
85
|
+
/**
|
|
86
|
+
* Sum of the Maintenance metric
|
|
87
|
+
*
|
|
88
|
+
* @default - Sum over 5 minutes
|
|
89
|
+
*/
|
|
90
|
+
maintenance(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
91
|
+
/**
|
|
92
|
+
* Sum of the Restoring metric
|
|
93
|
+
*
|
|
94
|
+
* @default - Sum over 5 minutes
|
|
95
|
+
*/
|
|
96
|
+
restoring(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
97
|
+
/**
|
|
98
|
+
* Average of the CPUUsage metric
|
|
99
|
+
*
|
|
100
|
+
* @default - Average over 5 minutes
|
|
101
|
+
*/
|
|
102
|
+
cpuUsage(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
103
|
+
/**
|
|
104
|
+
* Average of the MemoryUsage metric
|
|
105
|
+
*
|
|
106
|
+
* @default - Average over 5 minutes
|
|
107
|
+
*/
|
|
108
|
+
memoryUsage(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
109
|
+
/**
|
|
110
|
+
* Average of the RootVolumeDiskUsage metric
|
|
111
|
+
*
|
|
112
|
+
* @default - Average over 5 minutes
|
|
113
|
+
*/
|
|
114
|
+
rootVolumeDiskUsage(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
115
|
+
/**
|
|
116
|
+
* Average of the UserVolumeDiskUsage metric
|
|
117
|
+
*
|
|
118
|
+
* @default - Average over 5 minutes
|
|
119
|
+
*/
|
|
120
|
+
userVolumeDiskUsage(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
121
|
+
/**
|
|
122
|
+
* Average of the UDPPacketLossRate metric
|
|
123
|
+
*
|
|
124
|
+
* @default - Average over 5 minutes
|
|
125
|
+
*/
|
|
126
|
+
udpPacketLossRate(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
127
|
+
/**
|
|
128
|
+
* Maximum of the UpTime metric
|
|
129
|
+
*
|
|
130
|
+
* @default - Maximum over 5 minutes
|
|
131
|
+
*/
|
|
132
|
+
upTime(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
133
|
+
}
|
|
134
|
+
/**
|
|
135
|
+
* Dimensions for WorkspaceMetrics
|
|
136
|
+
*
|
|
137
|
+
* @struct
|
|
138
|
+
* @stability external
|
|
139
|
+
*/
|
|
140
|
+
interface WorkspaceMetricsProps {
|
|
141
|
+
/**
|
|
142
|
+
* The WorkspaceId dimension
|
|
143
|
+
*/
|
|
144
|
+
readonly workspaceId: string;
|
|
145
|
+
}
|
|
146
|
+
/**
|
|
147
|
+
* Metrics for dimension set: RunningMode {RunningMode}
|
|
148
|
+
*
|
|
149
|
+
* @stability external
|
|
150
|
+
*/
|
|
151
|
+
class RunningModeMetrics {
|
|
152
|
+
private readonly dimensions;
|
|
153
|
+
constructor(props: WorkSpacesMetrics.RunningModeMetricsProps);
|
|
154
|
+
/**
|
|
155
|
+
* Sum of the Available metric
|
|
156
|
+
*
|
|
157
|
+
* @default - Sum over 5 minutes
|
|
158
|
+
*/
|
|
159
|
+
available(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
160
|
+
/**
|
|
161
|
+
* Sum of the Unhealthy metric
|
|
162
|
+
*
|
|
163
|
+
* @default - Sum over 5 minutes
|
|
164
|
+
*/
|
|
165
|
+
unhealthy(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
166
|
+
/**
|
|
167
|
+
* Sum of the ConnectionAttempt metric
|
|
168
|
+
*
|
|
169
|
+
* @default - Sum over 5 minutes
|
|
170
|
+
*/
|
|
171
|
+
connectionAttempt(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
172
|
+
/**
|
|
173
|
+
* Sum of the ConnectionSuccess metric
|
|
174
|
+
*
|
|
175
|
+
* @default - Sum over 5 minutes
|
|
176
|
+
*/
|
|
177
|
+
connectionSuccess(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
178
|
+
/**
|
|
179
|
+
* Sum of the ConnectionFailure metric
|
|
180
|
+
*
|
|
181
|
+
* @default - Sum over 5 minutes
|
|
182
|
+
*/
|
|
183
|
+
connectionFailure(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
184
|
+
/**
|
|
185
|
+
* Average of the SessionLaunchTime metric
|
|
186
|
+
*
|
|
187
|
+
* @default - Average over 5 minutes
|
|
188
|
+
*/
|
|
189
|
+
sessionLaunchTime(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
190
|
+
/**
|
|
191
|
+
* Average of the InSessionLatency metric
|
|
192
|
+
*
|
|
193
|
+
* @default - Average over 5 minutes
|
|
194
|
+
*/
|
|
195
|
+
inSessionLatency(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
196
|
+
/**
|
|
197
|
+
* Sum of the SessionDisconnect metric
|
|
198
|
+
*
|
|
199
|
+
* @default - Sum over 5 minutes
|
|
200
|
+
*/
|
|
201
|
+
sessionDisconnect(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
202
|
+
/**
|
|
203
|
+
* Sum of the UserConnected metric
|
|
204
|
+
*
|
|
205
|
+
* @default - Sum over 5 minutes
|
|
206
|
+
*/
|
|
207
|
+
userConnected(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
208
|
+
/**
|
|
209
|
+
* Sum of the Stopped metric
|
|
210
|
+
*
|
|
211
|
+
* @default - Sum over 5 minutes
|
|
212
|
+
*/
|
|
213
|
+
stopped(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
214
|
+
/**
|
|
215
|
+
* Sum of the Maintenance metric
|
|
216
|
+
*
|
|
217
|
+
* @default - Sum over 5 minutes
|
|
218
|
+
*/
|
|
219
|
+
maintenance(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
220
|
+
/**
|
|
221
|
+
* Sum of the Restoring metric
|
|
222
|
+
*
|
|
223
|
+
* @default - Sum over 5 minutes
|
|
224
|
+
*/
|
|
225
|
+
restoring(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
226
|
+
/**
|
|
227
|
+
* Average of the CPUUsage metric
|
|
228
|
+
*
|
|
229
|
+
* @default - Average over 5 minutes
|
|
230
|
+
*/
|
|
231
|
+
cpuUsage(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
232
|
+
/**
|
|
233
|
+
* Average of the MemoryUsage metric
|
|
234
|
+
*
|
|
235
|
+
* @default - Average over 5 minutes
|
|
236
|
+
*/
|
|
237
|
+
memoryUsage(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
238
|
+
/**
|
|
239
|
+
* Average of the RootVolumeDiskUsage metric
|
|
240
|
+
*
|
|
241
|
+
* @default - Average over 5 minutes
|
|
242
|
+
*/
|
|
243
|
+
rootVolumeDiskUsage(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
244
|
+
/**
|
|
245
|
+
* Average of the UserVolumeDiskUsage metric
|
|
246
|
+
*
|
|
247
|
+
* @default - Average over 5 minutes
|
|
248
|
+
*/
|
|
249
|
+
userVolumeDiskUsage(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
250
|
+
/**
|
|
251
|
+
* Average of the UDPPacketLossRate metric
|
|
252
|
+
*
|
|
253
|
+
* @default - Average over 5 minutes
|
|
254
|
+
*/
|
|
255
|
+
udpPacketLossRate(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
256
|
+
/**
|
|
257
|
+
* Maximum of the UpTime metric
|
|
258
|
+
*
|
|
259
|
+
* @default - Maximum over 5 minutes
|
|
260
|
+
*/
|
|
261
|
+
upTime(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
262
|
+
}
|
|
263
|
+
/**
|
|
264
|
+
* Dimensions for RunningModeMetrics
|
|
265
|
+
*
|
|
266
|
+
* @struct
|
|
267
|
+
* @stability external
|
|
268
|
+
*/
|
|
269
|
+
interface RunningModeMetricsProps {
|
|
270
|
+
/**
|
|
271
|
+
* The RunningMode dimension
|
|
272
|
+
*/
|
|
273
|
+
readonly runningMode: string;
|
|
274
|
+
}
|
|
275
|
+
/**
|
|
276
|
+
* Metrics for dimension set: Protocol {Protocol}
|
|
277
|
+
*
|
|
278
|
+
* @stability external
|
|
279
|
+
*/
|
|
280
|
+
class ProtocolMetrics {
|
|
281
|
+
private readonly dimensions;
|
|
282
|
+
constructor(props: WorkSpacesMetrics.ProtocolMetricsProps);
|
|
283
|
+
/**
|
|
284
|
+
* Sum of the Available metric
|
|
285
|
+
*
|
|
286
|
+
* @default - Sum over 5 minutes
|
|
287
|
+
*/
|
|
288
|
+
available(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
289
|
+
/**
|
|
290
|
+
* Sum of the Unhealthy metric
|
|
291
|
+
*
|
|
292
|
+
* @default - Sum over 5 minutes
|
|
293
|
+
*/
|
|
294
|
+
unhealthy(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
295
|
+
/**
|
|
296
|
+
* Sum of the ConnectionAttempt metric
|
|
297
|
+
*
|
|
298
|
+
* @default - Sum over 5 minutes
|
|
299
|
+
*/
|
|
300
|
+
connectionAttempt(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
301
|
+
/**
|
|
302
|
+
* Sum of the ConnectionSuccess metric
|
|
303
|
+
*
|
|
304
|
+
* @default - Sum over 5 minutes
|
|
305
|
+
*/
|
|
306
|
+
connectionSuccess(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
307
|
+
/**
|
|
308
|
+
* Sum of the ConnectionFailure metric
|
|
309
|
+
*
|
|
310
|
+
* @default - Sum over 5 minutes
|
|
311
|
+
*/
|
|
312
|
+
connectionFailure(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
313
|
+
/**
|
|
314
|
+
* Average of the SessionLaunchTime metric
|
|
315
|
+
*
|
|
316
|
+
* @default - Average over 5 minutes
|
|
317
|
+
*/
|
|
318
|
+
sessionLaunchTime(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
319
|
+
/**
|
|
320
|
+
* Average of the InSessionLatency metric
|
|
321
|
+
*
|
|
322
|
+
* @default - Average over 5 minutes
|
|
323
|
+
*/
|
|
324
|
+
inSessionLatency(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
325
|
+
/**
|
|
326
|
+
* Sum of the SessionDisconnect metric
|
|
327
|
+
*
|
|
328
|
+
* @default - Sum over 5 minutes
|
|
329
|
+
*/
|
|
330
|
+
sessionDisconnect(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
331
|
+
/**
|
|
332
|
+
* Sum of the UserConnected metric
|
|
333
|
+
*
|
|
334
|
+
* @default - Sum over 5 minutes
|
|
335
|
+
*/
|
|
336
|
+
userConnected(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
337
|
+
/**
|
|
338
|
+
* Sum of the Stopped metric
|
|
339
|
+
*
|
|
340
|
+
* @default - Sum over 5 minutes
|
|
341
|
+
*/
|
|
342
|
+
stopped(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
343
|
+
/**
|
|
344
|
+
* Sum of the Maintenance metric
|
|
345
|
+
*
|
|
346
|
+
* @default - Sum over 5 minutes
|
|
347
|
+
*/
|
|
348
|
+
maintenance(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
349
|
+
/**
|
|
350
|
+
* Sum of the Restoring metric
|
|
351
|
+
*
|
|
352
|
+
* @default - Sum over 5 minutes
|
|
353
|
+
*/
|
|
354
|
+
restoring(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
355
|
+
/**
|
|
356
|
+
* Average of the CPUUsage metric
|
|
357
|
+
*
|
|
358
|
+
* @default - Average over 5 minutes
|
|
359
|
+
*/
|
|
360
|
+
cpuUsage(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
361
|
+
/**
|
|
362
|
+
* Average of the MemoryUsage metric
|
|
363
|
+
*
|
|
364
|
+
* @default - Average over 5 minutes
|
|
365
|
+
*/
|
|
366
|
+
memoryUsage(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
367
|
+
/**
|
|
368
|
+
* Average of the RootVolumeDiskUsage metric
|
|
369
|
+
*
|
|
370
|
+
* @default - Average over 5 minutes
|
|
371
|
+
*/
|
|
372
|
+
rootVolumeDiskUsage(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
373
|
+
/**
|
|
374
|
+
* Average of the UserVolumeDiskUsage metric
|
|
375
|
+
*
|
|
376
|
+
* @default - Average over 5 minutes
|
|
377
|
+
*/
|
|
378
|
+
userVolumeDiskUsage(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
379
|
+
/**
|
|
380
|
+
* Average of the UDPPacketLossRate metric
|
|
381
|
+
*
|
|
382
|
+
* @default - Average over 5 minutes
|
|
383
|
+
*/
|
|
384
|
+
udpPacketLossRate(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
385
|
+
/**
|
|
386
|
+
* Maximum of the UpTime metric
|
|
387
|
+
*
|
|
388
|
+
* @default - Maximum over 5 minutes
|
|
389
|
+
*/
|
|
390
|
+
upTime(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
391
|
+
}
|
|
392
|
+
/**
|
|
393
|
+
* Dimensions for ProtocolMetrics
|
|
394
|
+
*
|
|
395
|
+
* @struct
|
|
396
|
+
* @stability external
|
|
397
|
+
*/
|
|
398
|
+
interface ProtocolMetricsProps {
|
|
399
|
+
/**
|
|
400
|
+
* The Protocol dimension
|
|
401
|
+
*/
|
|
402
|
+
readonly protocol: string;
|
|
403
|
+
}
|
|
404
|
+
/**
|
|
405
|
+
* Metrics for dimension set: ComputeType {ComputeType}
|
|
406
|
+
*
|
|
407
|
+
* @stability external
|
|
408
|
+
*/
|
|
409
|
+
class ComputeTypeMetrics {
|
|
410
|
+
private readonly dimensions;
|
|
411
|
+
constructor(props: WorkSpacesMetrics.ComputeTypeMetricsProps);
|
|
412
|
+
/**
|
|
413
|
+
* Sum of the Available metric
|
|
414
|
+
*
|
|
415
|
+
* @default - Sum over 5 minutes
|
|
416
|
+
*/
|
|
417
|
+
available(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
418
|
+
/**
|
|
419
|
+
* Sum of the Unhealthy metric
|
|
420
|
+
*
|
|
421
|
+
* @default - Sum over 5 minutes
|
|
422
|
+
*/
|
|
423
|
+
unhealthy(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
424
|
+
/**
|
|
425
|
+
* Sum of the ConnectionAttempt metric
|
|
426
|
+
*
|
|
427
|
+
* @default - Sum over 5 minutes
|
|
428
|
+
*/
|
|
429
|
+
connectionAttempt(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
430
|
+
/**
|
|
431
|
+
* Sum of the ConnectionSuccess metric
|
|
432
|
+
*
|
|
433
|
+
* @default - Sum over 5 minutes
|
|
434
|
+
*/
|
|
435
|
+
connectionSuccess(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
436
|
+
/**
|
|
437
|
+
* Sum of the ConnectionFailure metric
|
|
438
|
+
*
|
|
439
|
+
* @default - Sum over 5 minutes
|
|
440
|
+
*/
|
|
441
|
+
connectionFailure(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
442
|
+
/**
|
|
443
|
+
* Average of the SessionLaunchTime metric
|
|
444
|
+
*
|
|
445
|
+
* @default - Average over 5 minutes
|
|
446
|
+
*/
|
|
447
|
+
sessionLaunchTime(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
448
|
+
/**
|
|
449
|
+
* Average of the InSessionLatency metric
|
|
450
|
+
*
|
|
451
|
+
* @default - Average over 5 minutes
|
|
452
|
+
*/
|
|
453
|
+
inSessionLatency(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
454
|
+
/**
|
|
455
|
+
* Sum of the SessionDisconnect metric
|
|
456
|
+
*
|
|
457
|
+
* @default - Sum over 5 minutes
|
|
458
|
+
*/
|
|
459
|
+
sessionDisconnect(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
460
|
+
/**
|
|
461
|
+
* Sum of the UserConnected metric
|
|
462
|
+
*
|
|
463
|
+
* @default - Sum over 5 minutes
|
|
464
|
+
*/
|
|
465
|
+
userConnected(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
466
|
+
/**
|
|
467
|
+
* Sum of the Stopped metric
|
|
468
|
+
*
|
|
469
|
+
* @default - Sum over 5 minutes
|
|
470
|
+
*/
|
|
471
|
+
stopped(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
472
|
+
/**
|
|
473
|
+
* Sum of the Maintenance metric
|
|
474
|
+
*
|
|
475
|
+
* @default - Sum over 5 minutes
|
|
476
|
+
*/
|
|
477
|
+
maintenance(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
478
|
+
/**
|
|
479
|
+
* Sum of the Restoring metric
|
|
480
|
+
*
|
|
481
|
+
* @default - Sum over 5 minutes
|
|
482
|
+
*/
|
|
483
|
+
restoring(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
484
|
+
/**
|
|
485
|
+
* Average of the CPUUsage metric
|
|
486
|
+
*
|
|
487
|
+
* @default - Average over 5 minutes
|
|
488
|
+
*/
|
|
489
|
+
cpuUsage(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
490
|
+
/**
|
|
491
|
+
* Average of the MemoryUsage metric
|
|
492
|
+
*
|
|
493
|
+
* @default - Average over 5 minutes
|
|
494
|
+
*/
|
|
495
|
+
memoryUsage(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
496
|
+
/**
|
|
497
|
+
* Average of the RootVolumeDiskUsage metric
|
|
498
|
+
*
|
|
499
|
+
* @default - Average over 5 minutes
|
|
500
|
+
*/
|
|
501
|
+
rootVolumeDiskUsage(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
502
|
+
/**
|
|
503
|
+
* Average of the UserVolumeDiskUsage metric
|
|
504
|
+
*
|
|
505
|
+
* @default - Average over 5 minutes
|
|
506
|
+
*/
|
|
507
|
+
userVolumeDiskUsage(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
508
|
+
/**
|
|
509
|
+
* Average of the UDPPacketLossRate metric
|
|
510
|
+
*
|
|
511
|
+
* @default - Average over 5 minutes
|
|
512
|
+
*/
|
|
513
|
+
udpPacketLossRate(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
514
|
+
/**
|
|
515
|
+
* Maximum of the UpTime metric
|
|
516
|
+
*
|
|
517
|
+
* @default - Maximum over 5 minutes
|
|
518
|
+
*/
|
|
519
|
+
upTime(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
520
|
+
}
|
|
521
|
+
/**
|
|
522
|
+
* Dimensions for ComputeTypeMetrics
|
|
523
|
+
*
|
|
524
|
+
* @struct
|
|
525
|
+
* @stability external
|
|
526
|
+
*/
|
|
527
|
+
interface ComputeTypeMetricsProps {
|
|
528
|
+
/**
|
|
529
|
+
* The ComputeType dimension
|
|
530
|
+
*/
|
|
531
|
+
readonly computeType: string;
|
|
532
|
+
}
|
|
533
|
+
/**
|
|
534
|
+
* Metrics for dimension set: Directory {DirectoryId}
|
|
535
|
+
*
|
|
536
|
+
* @stability external
|
|
537
|
+
*/
|
|
538
|
+
class DirectoryMetrics {
|
|
539
|
+
private readonly dimensions;
|
|
540
|
+
constructor(props: WorkSpacesMetrics.DirectoryMetricsProps);
|
|
541
|
+
/**
|
|
542
|
+
* Sum of the Available metric
|
|
543
|
+
*
|
|
544
|
+
* @default - Sum over 5 minutes
|
|
545
|
+
*/
|
|
546
|
+
available(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
547
|
+
/**
|
|
548
|
+
* Sum of the Unhealthy metric
|
|
549
|
+
*
|
|
550
|
+
* @default - Sum over 5 minutes
|
|
551
|
+
*/
|
|
552
|
+
unhealthy(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
553
|
+
/**
|
|
554
|
+
* Sum of the ConnectionAttempt metric
|
|
555
|
+
*
|
|
556
|
+
* @default - Sum over 5 minutes
|
|
557
|
+
*/
|
|
558
|
+
connectionAttempt(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
559
|
+
/**
|
|
560
|
+
* Sum of the ConnectionSuccess metric
|
|
561
|
+
*
|
|
562
|
+
* @default - Sum over 5 minutes
|
|
563
|
+
*/
|
|
564
|
+
connectionSuccess(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
565
|
+
/**
|
|
566
|
+
* Sum of the ConnectionFailure metric
|
|
567
|
+
*
|
|
568
|
+
* @default - Sum over 5 minutes
|
|
569
|
+
*/
|
|
570
|
+
connectionFailure(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
571
|
+
/**
|
|
572
|
+
* Average of the SessionLaunchTime metric
|
|
573
|
+
*
|
|
574
|
+
* @default - Average over 5 minutes
|
|
575
|
+
*/
|
|
576
|
+
sessionLaunchTime(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
577
|
+
/**
|
|
578
|
+
* Average of the InSessionLatency metric
|
|
579
|
+
*
|
|
580
|
+
* @default - Average over 5 minutes
|
|
581
|
+
*/
|
|
582
|
+
inSessionLatency(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
583
|
+
/**
|
|
584
|
+
* Sum of the SessionDisconnect metric
|
|
585
|
+
*
|
|
586
|
+
* @default - Sum over 5 minutes
|
|
587
|
+
*/
|
|
588
|
+
sessionDisconnect(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
589
|
+
/**
|
|
590
|
+
* Sum of the UserConnected metric
|
|
591
|
+
*
|
|
592
|
+
* @default - Sum over 5 minutes
|
|
593
|
+
*/
|
|
594
|
+
userConnected(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
595
|
+
/**
|
|
596
|
+
* Sum of the Stopped metric
|
|
597
|
+
*
|
|
598
|
+
* @default - Sum over 5 minutes
|
|
599
|
+
*/
|
|
600
|
+
stopped(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
601
|
+
/**
|
|
602
|
+
* Sum of the Maintenance metric
|
|
603
|
+
*
|
|
604
|
+
* @default - Sum over 5 minutes
|
|
605
|
+
*/
|
|
606
|
+
maintenance(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
607
|
+
/**
|
|
608
|
+
* Sum of the Restoring metric
|
|
609
|
+
*
|
|
610
|
+
* @default - Sum over 5 minutes
|
|
611
|
+
*/
|
|
612
|
+
restoring(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
613
|
+
/**
|
|
614
|
+
* Average of the CPUUsage metric
|
|
615
|
+
*
|
|
616
|
+
* @default - Average over 5 minutes
|
|
617
|
+
*/
|
|
618
|
+
cpuUsage(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
619
|
+
/**
|
|
620
|
+
* Average of the MemoryUsage metric
|
|
621
|
+
*
|
|
622
|
+
* @default - Average over 5 minutes
|
|
623
|
+
*/
|
|
624
|
+
memoryUsage(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
625
|
+
/**
|
|
626
|
+
* Average of the RootVolumeDiskUsage metric
|
|
627
|
+
*
|
|
628
|
+
* @default - Average over 5 minutes
|
|
629
|
+
*/
|
|
630
|
+
rootVolumeDiskUsage(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
631
|
+
/**
|
|
632
|
+
* Average of the UserVolumeDiskUsage metric
|
|
633
|
+
*
|
|
634
|
+
* @default - Average over 5 minutes
|
|
635
|
+
*/
|
|
636
|
+
userVolumeDiskUsage(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
637
|
+
/**
|
|
638
|
+
* Average of the UDPPacketLossRate metric
|
|
639
|
+
*
|
|
640
|
+
* @default - Average over 5 minutes
|
|
641
|
+
*/
|
|
642
|
+
udpPacketLossRate(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
643
|
+
/**
|
|
644
|
+
* Maximum of the UpTime metric
|
|
645
|
+
*
|
|
646
|
+
* @default - Maximum over 5 minutes
|
|
647
|
+
*/
|
|
648
|
+
upTime(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
649
|
+
/**
|
|
650
|
+
* Sum of the TrustedDeviceValidationAttempt metric
|
|
651
|
+
*
|
|
652
|
+
* @default - Sum over 5 minutes
|
|
653
|
+
*/
|
|
654
|
+
trustedDeviceValidationAttempt(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
655
|
+
/**
|
|
656
|
+
* Sum of the TrustedDeviceValidationSuccess metric
|
|
657
|
+
*
|
|
658
|
+
* @default - Sum over 5 minutes
|
|
659
|
+
*/
|
|
660
|
+
trustedDeviceValidationSuccess(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
661
|
+
/**
|
|
662
|
+
* Sum of the TrustedDeviceValidationFailure metric
|
|
663
|
+
*
|
|
664
|
+
* @default - Sum over 5 minutes
|
|
665
|
+
*/
|
|
666
|
+
trustedDeviceValidationFailure(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
667
|
+
}
|
|
668
|
+
/**
|
|
669
|
+
* Dimensions for DirectoryMetrics
|
|
670
|
+
*
|
|
671
|
+
* @struct
|
|
672
|
+
* @stability external
|
|
673
|
+
*/
|
|
674
|
+
interface DirectoryMetricsProps {
|
|
675
|
+
/**
|
|
676
|
+
* The DirectoryId dimension
|
|
677
|
+
*/
|
|
678
|
+
readonly directoryId: string;
|
|
679
|
+
}
|
|
680
|
+
/**
|
|
681
|
+
* Metrics for dimension set: Bundle {BundleId}
|
|
682
|
+
*
|
|
683
|
+
* @stability external
|
|
684
|
+
*/
|
|
685
|
+
class BundleMetrics {
|
|
686
|
+
private readonly dimensions;
|
|
687
|
+
constructor(props: WorkSpacesMetrics.BundleMetricsProps);
|
|
688
|
+
/**
|
|
689
|
+
* Sum of the Available metric
|
|
690
|
+
*
|
|
691
|
+
* @default - Sum over 5 minutes
|
|
692
|
+
*/
|
|
693
|
+
available(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
694
|
+
/**
|
|
695
|
+
* Sum of the Unhealthy metric
|
|
696
|
+
*
|
|
697
|
+
* @default - Sum over 5 minutes
|
|
698
|
+
*/
|
|
699
|
+
unhealthy(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
700
|
+
/**
|
|
701
|
+
* Sum of the ConnectionAttempt metric
|
|
702
|
+
*
|
|
703
|
+
* @default - Sum over 5 minutes
|
|
704
|
+
*/
|
|
705
|
+
connectionAttempt(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
706
|
+
/**
|
|
707
|
+
* Sum of the ConnectionSuccess metric
|
|
708
|
+
*
|
|
709
|
+
* @default - Sum over 5 minutes
|
|
710
|
+
*/
|
|
711
|
+
connectionSuccess(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
712
|
+
/**
|
|
713
|
+
* Sum of the ConnectionFailure metric
|
|
714
|
+
*
|
|
715
|
+
* @default - Sum over 5 minutes
|
|
716
|
+
*/
|
|
717
|
+
connectionFailure(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
718
|
+
/**
|
|
719
|
+
* Average of the SessionLaunchTime metric
|
|
720
|
+
*
|
|
721
|
+
* @default - Average over 5 minutes
|
|
722
|
+
*/
|
|
723
|
+
sessionLaunchTime(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
724
|
+
/**
|
|
725
|
+
* Average of the InSessionLatency metric
|
|
726
|
+
*
|
|
727
|
+
* @default - Average over 5 minutes
|
|
728
|
+
*/
|
|
729
|
+
inSessionLatency(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
730
|
+
/**
|
|
731
|
+
* Sum of the SessionDisconnect metric
|
|
732
|
+
*
|
|
733
|
+
* @default - Sum over 5 minutes
|
|
734
|
+
*/
|
|
735
|
+
sessionDisconnect(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
736
|
+
/**
|
|
737
|
+
* Sum of the UserConnected metric
|
|
738
|
+
*
|
|
739
|
+
* @default - Sum over 5 minutes
|
|
740
|
+
*/
|
|
741
|
+
userConnected(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
742
|
+
/**
|
|
743
|
+
* Sum of the Stopped metric
|
|
744
|
+
*
|
|
745
|
+
* @default - Sum over 5 minutes
|
|
746
|
+
*/
|
|
747
|
+
stopped(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
748
|
+
/**
|
|
749
|
+
* Sum of the Maintenance metric
|
|
750
|
+
*
|
|
751
|
+
* @default - Sum over 5 minutes
|
|
752
|
+
*/
|
|
753
|
+
maintenance(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
754
|
+
/**
|
|
755
|
+
* Sum of the Restoring metric
|
|
756
|
+
*
|
|
757
|
+
* @default - Sum over 5 minutes
|
|
758
|
+
*/
|
|
759
|
+
restoring(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
760
|
+
/**
|
|
761
|
+
* Average of the CPUUsage metric
|
|
762
|
+
*
|
|
763
|
+
* @default - Average over 5 minutes
|
|
764
|
+
*/
|
|
765
|
+
cpuUsage(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
766
|
+
/**
|
|
767
|
+
* Average of the MemoryUsage metric
|
|
768
|
+
*
|
|
769
|
+
* @default - Average over 5 minutes
|
|
770
|
+
*/
|
|
771
|
+
memoryUsage(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
772
|
+
/**
|
|
773
|
+
* Average of the RootVolumeDiskUsage metric
|
|
774
|
+
*
|
|
775
|
+
* @default - Average over 5 minutes
|
|
776
|
+
*/
|
|
777
|
+
rootVolumeDiskUsage(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
778
|
+
/**
|
|
779
|
+
* Average of the UserVolumeDiskUsage metric
|
|
780
|
+
*
|
|
781
|
+
* @default - Average over 5 minutes
|
|
782
|
+
*/
|
|
783
|
+
userVolumeDiskUsage(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
784
|
+
/**
|
|
785
|
+
* Average of the UDPPacketLossRate metric
|
|
786
|
+
*
|
|
787
|
+
* @default - Average over 5 minutes
|
|
788
|
+
*/
|
|
789
|
+
udpPacketLossRate(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
790
|
+
/**
|
|
791
|
+
* Maximum of the UpTime metric
|
|
792
|
+
*
|
|
793
|
+
* @default - Maximum over 5 minutes
|
|
794
|
+
*/
|
|
795
|
+
upTime(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
796
|
+
}
|
|
797
|
+
/**
|
|
798
|
+
* Dimensions for BundleMetrics
|
|
799
|
+
*
|
|
800
|
+
* @struct
|
|
801
|
+
* @stability external
|
|
802
|
+
*/
|
|
803
|
+
interface BundleMetricsProps {
|
|
804
|
+
/**
|
|
805
|
+
* The BundleId dimension
|
|
806
|
+
*/
|
|
807
|
+
readonly bundleId: string;
|
|
808
|
+
}
|
|
809
|
+
/**
|
|
810
|
+
* Metrics for dimension set: Certificate {CertificateId}
|
|
811
|
+
*
|
|
812
|
+
* @stability external
|
|
813
|
+
*/
|
|
814
|
+
class CertificateMetrics {
|
|
815
|
+
private readonly dimensions;
|
|
816
|
+
constructor(props: WorkSpacesMetrics.CertificateMetricsProps);
|
|
817
|
+
/**
|
|
818
|
+
* Sum of the TrustedDeviceCertificateDaysBeforeExpiration metric
|
|
819
|
+
*
|
|
820
|
+
* @default - Sum over 5 minutes
|
|
821
|
+
*/
|
|
822
|
+
trustedDeviceCertificateDaysBeforeExpiration(options?: cloudwatch.MetricOptions): cloudwatch.IMetric;
|
|
823
|
+
}
|
|
824
|
+
/**
|
|
825
|
+
* Dimensions for CertificateMetrics
|
|
826
|
+
*
|
|
827
|
+
* @struct
|
|
828
|
+
* @stability external
|
|
829
|
+
*/
|
|
830
|
+
interface CertificateMetricsProps {
|
|
831
|
+
/**
|
|
832
|
+
* The CertificateId dimension
|
|
833
|
+
*/
|
|
834
|
+
readonly certificateId: string;
|
|
835
|
+
}
|
|
836
|
+
}
|