@aws-cdk/metrics-facade-alpha 2.263.0-alpha.0 → 2.264.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.gz CHANGED
Binary file
Binary file
@@ -1,5 +1,4 @@
1
1
  import * as cloudwatch from "aws-cdk-lib/aws-cloudwatch";
2
- import { IInstanceRef, ILayerRef, IStackRef } from "aws-cdk-lib/aws-opsworks";
3
2
  /**
4
3
  * CloudWatch metrics facade for AWS/OpsWorks
5
4
  * This class contains helper functions to initialize the dimension-sets classes
@@ -8,18 +7,6 @@ import { IInstanceRef, ILayerRef, IStackRef } from "aws-cdk-lib/aws-opsworks";
8
7
  * @stability external
9
8
  */
10
9
  export declare abstract class OpsWorksMetrics {
11
- /**
12
- * Create InstanceMetrics from a Instance reference
13
- */
14
- static fromInstance(ref: IInstanceRef): OpsWorksMetrics.InstanceMetrics;
15
- /**
16
- * Create LayerMetrics from a Layer reference
17
- */
18
- static fromLayer(ref: ILayerRef): OpsWorksMetrics.LayerMetrics;
19
- /**
20
- * Create StackMetrics from a Stack reference
21
- */
22
- static fromStack(ref: IStackRef): OpsWorksMetrics.StackMetrics;
23
10
  }
24
11
  export declare namespace OpsWorksMetrics {
25
12
  /**
@@ -44,30 +44,6 @@ const cloudwatch = __importStar(require("aws-cdk-lib/aws-cloudwatch"));
44
44
  * @stability external
45
45
  */
46
46
  class OpsWorksMetrics {
47
- /**
48
- * Create InstanceMetrics from a Instance reference
49
- */
50
- static fromInstance(ref) {
51
- return new OpsWorksMetrics.InstanceMetrics({
52
- instanceId: ref.instanceRef.instanceId
53
- });
54
- }
55
- /**
56
- * Create LayerMetrics from a Layer reference
57
- */
58
- static fromLayer(ref) {
59
- return new OpsWorksMetrics.LayerMetrics({
60
- layerId: ref.layerRef.layerId
61
- });
62
- }
63
- /**
64
- * Create StackMetrics from a Stack reference
65
- */
66
- static fromStack(ref) {
67
- return new OpsWorksMetrics.StackMetrics({
68
- stackId: ref.stackRef.stackId
69
- });
70
- }
71
47
  }
72
48
  exports.OpsWorksMetrics = OpsWorksMetrics;
73
49
  (function (OpsWorksMetrics) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-cdk/metrics-facade-alpha",
3
- "version": "2.263.0-alpha.0",
3
+ "version": "2.264.0-alpha.0",
4
4
  "private": false,
5
5
  "description": "The CDK Construct Library for Metrics Facade",
6
6
  "main": "lib/index.js",
@@ -152,23 +152,23 @@
152
152
  },
153
153
  "license": "Apache-2.0",
154
154
  "devDependencies": {
155
- "@aws-cdk/cdk-build-tools": "2.263.0-alpha.0",
155
+ "@aws-cdk/cdk-build-tools": "2.264.0-alpha.0",
156
156
  "@aws-cdk/integ-runner": "^2.202.3",
157
- "@aws-cdk/integ-tests-alpha": "2.263.0-alpha.0",
158
- "@aws-cdk/pkglint": "2.263.0-alpha.0",
159
- "@aws-cdk/service-spec-types": "0.0.259",
160
- "@aws-cdk/spec2cdk": "2.263.0-alpha.0",
157
+ "@aws-cdk/integ-tests-alpha": "2.264.0-alpha.0",
158
+ "@aws-cdk/pkglint": "2.264.0-alpha.0",
159
+ "@aws-cdk/service-spec-types": "0.0.267",
160
+ "@aws-cdk/spec2cdk": "2.264.0-alpha.0",
161
161
  "@cdklabs/tskb": "^0.0.4",
162
162
  "@cdklabs/typewriter": "^0.0.16",
163
163
  "@types/jest": "^29.5.14",
164
- "aws-cdk-lib": "2.263.0",
164
+ "aws-cdk-lib": "2.264.0",
165
165
  "constructs": "^10.5.0",
166
166
  "jest": "^29.7.0",
167
167
  "tsx": "^4.23.1"
168
168
  },
169
169
  "dependencies": {},
170
170
  "peerDependencies": {
171
- "aws-cdk-lib": "^2.263.0",
171
+ "aws-cdk-lib": "^2.264.0",
172
172
  "constructs": "^10.5.0"
173
173
  },
174
174
  "separate-module": false,