Skip to content

Commit

Permalink
Add missing cloudwatch statistics in CommonMetricOptions
Browse files Browse the repository at this point in the history
  • Loading branch information
rigwild committed Nov 24, 2022
1 parent 9c4ad04 commit d62266e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/@aws-cdk/aws-cloudwatch/lib/metric-types.ts
Expand Up @@ -454,7 +454,7 @@ export enum Statistic {
*
* TS(10%:90%) returns the sum of the data points not including any data points that fall in the lowest 10% of the values and the highest 90% of the values.
*/
TS_10P_90P = 'TS(10%:90%)'
TS_10P_90P = 'TS(10%:90%)',
}

/**
Expand Down Expand Up @@ -594,7 +594,7 @@ export enum Unit {
/**
* None
*/
NONE = 'None'
NONE = 'None',
}

/**
Expand Down
5 changes: 5 additions & 0 deletions packages/@aws-cdk/aws-cloudwatch/lib/metric.ts
Expand Up @@ -32,6 +32,11 @@ export interface CommonMetricOptions {
* - "Sum" | "sum"
* - "SampleCount | "n"
* - "pNN.NN"
* - "tmNN.NN" | "tm(NN.NN%:NN.NN%)"
* - "iqm"
* - "wmNN.NN" | "wm(NN.NN%:NN.NN%)"
* - "tcNN.NN" | "tc(NN.NN%:NN.NN%)"
* - "tsNN.NN" | "ts(NN.NN%:NN.NN%)"
*
* @default Average
*/
Expand Down

0 comments on commit d62266e

Please sign in to comment.