dcl-ops-lib 6.8.1 → 6.8.2

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.
@@ -58,7 +58,7 @@ export type FargateTaskOptions = {
58
58
  maxCapacity: number;
59
59
  metricName: string;
60
60
  targetValue: number;
61
- metricDimensionName: pulumi.Output<string>;
61
+ metricDimensionValue: pulumi.Output<string>;
62
62
  statistic?: "Average" | "Minimum" | "Maximum";
63
63
  scaleOutCooldown?: number;
64
64
  scaleInCooldown?: number;
@@ -117,7 +117,7 @@ export type InternalServiceOptions = {
117
117
  maxCapacity: number;
118
118
  metricName: string;
119
119
  targetValue: number;
120
- metricDimensionName: pulumi.Output<string>;
120
+ metricDimensionValue: pulumi.Output<string>;
121
121
  statistic?: "Average" | "Minimum" | "Maximum";
122
122
  scaleOutCooldown?: number;
123
123
  scaleInCooldown?: number;
@@ -385,7 +385,7 @@ function setAutoscaling(service, config) {
385
385
  dimensions: [
386
386
  {
387
387
  name: "QueueName",
388
- value: config.metricDimensionName
388
+ value: config.metricDimensionValue.apply((_) => _),
389
389
  },
390
390
  ],
391
391
  statistic: config.statistic,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dcl-ops-lib",
3
- "version": "6.8.1",
3
+ "version": "6.8.2",
4
4
  "scripts": {
5
5
  "build": "tsc && cp bin/* . && node test.js",
6
6
  "clean": "rm *.d.ts *.js *.js.map"