UNPKG

485 kBPlain TextView Raw
1{
2 "author": {
3 "name": "Amazon Web Services",
4 "organization": true,
5 "roles": [
6 "author"
7 ],
8 "url": "https://aws.amazon.com"
9 },
10 "dependencies": {
11 "@aws-cdk/aws-iam": "1.203.0",
12 "@aws-cdk/core": "1.203.0",
13 "constructs": "^3.3.69"
14 },
15 "dependencyClosure": {
16 "@aws-cdk/aws-iam": {
17 "targets": {
18 "dotnet": {
19 "iconUrl": "https://raw.githubusercontent.com/aws/aws-cdk/master/logo/default-256-dark.png",
20 "namespace": "Amazon.CDK.AWS.IAM",
21 "packageId": "Amazon.CDK.AWS.IAM"
22 },
23 "java": {
24 "maven": {
25 "artifactId": "iam",
26 "groupId": "software.amazon.awscdk"
27 },
28 "package": "software.amazon.awscdk.services.iam"
29 },
30 "js": {
31 "npm": "@aws-cdk/aws-iam"
32 },
33 "python": {
34 "classifiers": [
35 "Framework :: AWS CDK",
36 "Framework :: AWS CDK :: 1"
37 ],
38 "distName": "aws-cdk.aws-iam",
39 "module": "aws_cdk.aws_iam"
40 }
41 }
42 },
43 "@aws-cdk/cloud-assembly-schema": {
44 "targets": {
45 "dotnet": {
46 "iconUrl": "https://raw.githubusercontent.com/aws/aws-cdk/master/logo/default-256-dark.png",
47 "namespace": "Amazon.CDK.CloudAssembly.Schema",
48 "packageId": "Amazon.CDK.CloudAssembly.Schema"
49 },
50 "java": {
51 "maven": {
52 "artifactId": "cdk-cloud-assembly-schema",
53 "groupId": "software.amazon.awscdk"
54 },
55 "package": "software.amazon.awscdk.cloudassembly.schema"
56 },
57 "js": {
58 "npm": "@aws-cdk/cloud-assembly-schema"
59 },
60 "python": {
61 "classifiers": [
62 "Framework :: AWS CDK",
63 "Framework :: AWS CDK :: 1"
64 ],
65 "distName": "aws-cdk.cloud-assembly-schema",
66 "module": "aws_cdk.cloud_assembly_schema"
67 }
68 }
69 },
70 "@aws-cdk/core": {
71 "targets": {
72 "dotnet": {
73 "iconUrl": "https://raw.githubusercontent.com/aws/aws-cdk/master/logo/default-256-dark.png",
74 "namespace": "Amazon.CDK",
75 "packageId": "Amazon.CDK"
76 },
77 "java": {
78 "maven": {
79 "artifactId": "core",
80 "groupId": "software.amazon.awscdk"
81 },
82 "package": "software.amazon.awscdk.core"
83 },
84 "js": {
85 "npm": "@aws-cdk/core"
86 },
87 "python": {
88 "classifiers": [
89 "Framework :: AWS CDK",
90 "Framework :: AWS CDK :: 1"
91 ],
92 "distName": "aws-cdk.core",
93 "module": "aws_cdk.core"
94 }
95 }
96 },
97 "@aws-cdk/cx-api": {
98 "targets": {
99 "dotnet": {
100 "iconUrl": "https://raw.githubusercontent.com/aws/aws-cdk/master/logo/default-256-dark.png",
101 "namespace": "Amazon.CDK.CXAPI",
102 "packageId": "Amazon.CDK.CXAPI"
103 },
104 "java": {
105 "maven": {
106 "artifactId": "cdk-cx-api",
107 "groupId": "software.amazon.awscdk"
108 },
109 "package": "software.amazon.awscdk.cxapi"
110 },
111 "js": {
112 "npm": "@aws-cdk/cx-api"
113 },
114 "python": {
115 "classifiers": [
116 "Framework :: AWS CDK",
117 "Framework :: AWS CDK :: 1"
118 ],
119 "distName": "aws-cdk.cx-api",
120 "module": "aws_cdk.cx_api"
121 }
122 }
123 },
124 "@aws-cdk/region-info": {
125 "targets": {
126 "dotnet": {
127 "iconUrl": "https://raw.githubusercontent.com/aws/aws-cdk/master/logo/default-256-dark.png",
128 "namespace": "Amazon.CDK.RegionInfo",
129 "packageId": "Amazon.CDK.RegionInfo"
130 },
131 "java": {
132 "maven": {
133 "artifactId": "cdk-region-info",
134 "groupId": "software.amazon.awscdk"
135 },
136 "package": "software.amazon.awscdk.regioninfo"
137 },
138 "js": {
139 "npm": "@aws-cdk/region-info"
140 },
141 "python": {
142 "classifiers": [
143 "Framework :: AWS CDK",
144 "Framework :: AWS CDK :: 1"
145 ],
146 "distName": "aws-cdk.region-info",
147 "module": "aws_cdk.region_info"
148 }
149 }
150 },
151 "constructs": {
152 "targets": {
153 "dotnet": {
154 "namespace": "Constructs",
155 "packageId": "Constructs"
156 },
157 "go": {
158 "moduleName": "github.com/aws/constructs-go"
159 },
160 "java": {
161 "maven": {
162 "artifactId": "constructs",
163 "groupId": "software.constructs"
164 },
165 "package": "software.constructs"
166 },
167 "js": {
168 "npm": "constructs"
169 },
170 "python": {
171 "distName": "constructs",
172 "module": "constructs"
173 }
174 }
175 }
176 },
177 "description": "The CDK Construct Library for AWS::CloudWatch",
178 "docs": {
179 "stability": "stable"
180 },
181 "homepage": "https://github.com/aws/aws-cdk",
182 "jsiiVersion": "1.74.0 (build 6d08790)",
183 "keywords": [
184 "aws",
185 "cdk",
186 "constructs",
187 "cloudwatch"
188 ],
189 "license": "Apache-2.0",
190 "metadata": {
191 "jsii": {
192 "compiledWithDeprecationWarnings": true,
193 "pacmak": {
194 "hasDefaultInterfaces": true
195 },
196 "rosetta": {
197 "strict": true
198 }
199 }
200 },
201 "name": "@aws-cdk/aws-cloudwatch",
202 "readme": {
203 "markdown": "# Amazon CloudWatch Construct Library\n<!--BEGIN STABILITY BANNER-->\n\n---\n\n![cfn-resources: Stable](https://img.shields.io/badge/cfn--resources-stable-success.svg?style=for-the-badge)\n\n![cdk-constructs: Stable](https://img.shields.io/badge/cdk--constructs-stable-success.svg?style=for-the-badge)\n\n---\n\n<!--END STABILITY BANNER-->\n\n## Metric objects\n\nMetric objects represent a metric that is emitted by AWS services or your own\napplication, such as `CPUUsage`, `FailureCount` or `Bandwidth`.\n\nMetric objects can be constructed directly or are exposed by resources as\nattributes. Resources that expose metrics will have functions that look\nlike `metricXxx()` which will return a Metric object, initialized with defaults\nthat make sense.\n\nFor example, `lambda.Function` objects have the `fn.metricErrors()` method, which\nrepresents the amount of errors reported by that Lambda function:\n\n```ts\ndeclare const fn: lambda.Function;\n\nconst errors = fn.metricErrors();\n```\n\n`Metric` objects can be account and region aware. You can specify `account` and `region` as properties of the metric, or use the `metric.attachTo(Construct)` method. `metric.attachTo()` will automatically copy the `region` and `account` fields of the `Construct`, which can come from anywhere in the Construct tree.\n\nYou can also instantiate `Metric` objects to reference any\n[published metric](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/aws-services-cloudwatch-metrics.html)\nthat's not exposed using a convenience method on the CDK construct.\nFor example:\n\n```ts\nconst hostedZone = new route53.HostedZone(this, 'MyHostedZone', { zoneName: \"example.org\" });\nconst metric = new cloudwatch.Metric({\n namespace: 'AWS/Route53',\n metricName: 'DNSQueries',\n dimensionsMap: {\n HostedZoneId: hostedZone.hostedZoneId\n }\n});\n```\n\n### Instantiating a new Metric object\n\nIf you want to reference a metric that is not yet exposed by an existing construct,\nyou can instantiate a `Metric` object to represent it. For example:\n\n```ts\nconst metric = new cloudwatch.Metric({\n namespace: 'MyNamespace',\n metricName: 'MyMetric',\n dimensionsMap: {\n ProcessingStep: 'Download'\n }\n});\n```\n\n### Metric Math\n\nMath expressions are supported by instantiating the `MathExpression` class.\nFor example, a math expression that sums two other metrics looks like this:\n\n```ts\ndeclare const fn: lambda.Function;\n\nconst allProblems = new cloudwatch.MathExpression({\n expression: \"errors + throttles\",\n usingMetrics: {\n errors: fn.metricErrors(),\n faults: fn.metricThrottles(),\n }\n});\n```\n\nYou can use `MathExpression` objects like any other metric, including using\nthem in other math expressions:\n\n```ts\ndeclare const fn: lambda.Function;\ndeclare const allProblems: cloudwatch.MathExpression;\n\nconst problemPercentage = new cloudwatch.MathExpression({\n expression: \"(problems / invocations) * 100\",\n usingMetrics: {\n problems: allProblems,\n invocations: fn.metricInvocations()\n }\n});\n```\n\n### Search Expressions\n\nMath expressions also support search expressions. For example, the following\nsearch expression returns all CPUUtilization metrics that it finds, with the\ngraph showing the Average statistic with an aggregation period of 5 minutes:\n\n```ts\nconst cpuUtilization = new cloudwatch.MathExpression({\n expression: \"SEARCH('{AWS/EC2,InstanceId} MetricName=\\\"CPUUtilization\\\"', 'Average', 300)\",\n\n // Specifying '' as the label suppresses the default behavior\n // of using the expression as metric label. This is especially appropriate\n // when using expressions that return multiple time series (like SEARCH()\n // or METRICS()), to show the labels of the retrieved metrics only.\n label: '',\n});\n```\n\nCross-account and cross-region search expressions are also supported. Use\nthe `searchAccount` and `searchRegion` properties to specify the account\nand/or region to evaluate the search expression against.\n\n### Aggregation\n\nTo graph or alarm on metrics you must aggregate them first, using a function\nlike `Average` or a percentile function like `P99`. By default, most Metric objects\nreturned by CDK libraries will be configured as `Average` over `300 seconds` (5 minutes).\nThe exception is if the metric represents a count of discrete events, such as\nfailures. In that case, the Metric object will be configured as `Sum` over `300\nseconds`, i.e. it represents the number of times that event occurred over the\ntime period.\n\nIf you want to change the default aggregation of the Metric object (for example,\nthe function or the period), you can do so by passing additional parameters\nto the metric function call:\n\n```ts\ndeclare const fn: lambda.Function;\n\nconst minuteErrorRate = fn.metricErrors({\n statistic: 'avg',\n period: Duration.minutes(1),\n label: 'Lambda failure rate'\n});\n```\n\nThis function also allows changing the metric label or color (which will be\nuseful when embedding them in graphs, see below).\n\n> Rates versus Sums\n>\n> The reason for using `Sum` to count discrete events is that *some* events are\n> emitted as either `0` or `1` (for example `Errors` for a Lambda) and some are\n> only emitted as `1` (for example `NumberOfMessagesPublished` for an SNS\n> topic).\n>\n> In case `0`-metrics are emitted, it makes sense to take the `Average` of this\n> metric: the result will be the fraction of errors over all executions.\n>\n> If `0`-metrics are not emitted, the `Average` will always be equal to `1`,\n> and not be very useful.\n>\n> In order to simplify the mental model of `Metric` objects, we default to\n> aggregating using `Sum`, which will be the same for both metrics types. If you\n> happen to know the Metric you want to alarm on makes sense as a rate\n> (`Average`) you can always choose to change the statistic.\n\n### Labels\n\nMetric labels are displayed in the legend of graphs that include the metrics.\n\nYou can use [dynamic labels](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/graph-dynamic-labels.html)\nto show summary information about the displayed time series\nin the legend. For example, if you use:\n\n```ts\ndeclare const fn: lambda.Function;\n\nconst minuteErrorRate = fn.metricErrors({\n statistic: 'sum',\n period: Duration.hours(1),\n\n // Show the maximum hourly error count in the legend\n label: '[max: ${MAX}] Lambda failure rate',\n});\n```\n\nAs the metric label, the maximum value in the visible range will\nbe shown next to the time series name in the graph's legend.\n\nIf the metric is a math expression producing more than one time series, the\nmaximum will be individually calculated and shown for each time series produce\nby the math expression.\n\n## Alarms\n\nAlarms can be created on metrics in one of two ways. Either create an `Alarm`\nobject, passing the `Metric` object to set the alarm on:\n\n```ts\ndeclare const fn: lambda.Function;\n\nnew cloudwatch.Alarm(this, 'Alarm', {\n metric: fn.metricErrors(),\n threshold: 100,\n evaluationPeriods: 2,\n});\n```\n\nAlternatively, you can call `metric.createAlarm()`:\n\n```ts\ndeclare const fn: lambda.Function;\n\nfn.metricErrors().createAlarm(this, 'Alarm', {\n threshold: 100,\n evaluationPeriods: 2,\n});\n```\n\nThe most important properties to set while creating an Alarms are:\n\n- `threshold`: the value to compare the metric against.\n- `comparisonOperator`: the comparison operation to use, defaults to `metric >= threshold`.\n- `evaluationPeriods`: how many consecutive periods the metric has to be\n breaching the the threshold for the alarm to trigger.\n\nTo create a cross-account alarm, make sure you have enabled [cross-account functionality](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html) in CloudWatch. Then, set the `account` property in the `Metric` object either manually or via the `metric.attachTo()` method.\n\n### Alarm Actions\n\nTo add actions to an alarm, use the integration classes from the\n`@aws-cdk/aws-cloudwatch-actions` package. For example, to post a message to\nan SNS topic when an alarm breaches, do the following:\n\n```ts\nimport * as cw_actions from '@aws-cdk/aws-cloudwatch-actions';\ndeclare const alarm: cloudwatch.Alarm;\n\nconst topic = new sns.Topic(this, 'Topic');\nalarm.addAlarmAction(new cw_actions.SnsAction(topic));\n```\n\n#### Notification formats\n\nAlarms can be created in one of two \"formats\":\n\n- With \"top-level parameters\" (these are the classic style of CloudWatch Alarms).\n- With a list of metrics specifications (these are the modern style of CloudWatch Alarms).\n\nFor backwards compatibility, CDK will try to create classic, top-level CloudWatch alarms\nas much as possible, unless you are using features that cannot be expressed in that format.\nFeatures that require the new-style alarm format are:\n\n- Metric math\n- Cross-account metrics\n- Labels\n\nThe difference between these two does not impact the functionality of the alarm\nin any way, *except* that the format of the notifications the Alarm generates is\ndifferent between them. This affects both the notifications sent out over SNS,\nas well as the EventBridge events generated by this Alarm. If you are writing\ncode to consume these notifications, be sure to handle both formats.\n\n### Composite Alarms\n\n[Composite Alarms](https://aws.amazon.com/about-aws/whats-new/2020/03/amazon-cloudwatch-now-allows-you-to-combine-multiple-alarms/)\ncan be created from existing Alarm resources.\n\n```ts\ndeclare const alarm1: cloudwatch.Alarm;\ndeclare const alarm2: cloudwatch.Alarm;\ndeclare const alarm3: cloudwatch.Alarm;\ndeclare const alarm4: cloudwatch.Alarm;\n\nconst alarmRule = cloudwatch.AlarmRule.anyOf(\n cloudwatch.AlarmRule.allOf(\n cloudwatch.AlarmRule.anyOf(\n alarm1,\n cloudwatch.AlarmRule.fromAlarm(alarm2, cloudwatch.AlarmState.OK),\n alarm3,\n ),\n cloudwatch.AlarmRule.not(cloudwatch.AlarmRule.fromAlarm(alarm4, cloudwatch.AlarmState.INSUFFICIENT_DATA)),\n ),\n cloudwatch.AlarmRule.fromBoolean(false),\n);\n\nnew cloudwatch.CompositeAlarm(this, 'MyAwesomeCompositeAlarm', {\n alarmRule,\n});\n```\n\n### A note on units\n\nIn CloudWatch, Metrics datums are emitted with units, such as `seconds` or\n`bytes`. When `Metric` objects are given a `unit` attribute, it will be used to\n*filter* the stream of metric datums for datums emitted using the same `unit`\nattribute.\n\nIn particular, the `unit` field is *not* used to rescale datums or alarm threshold\nvalues (for example, it cannot be used to specify an alarm threshold in\n*Megabytes* if the metric stream is being emitted as *bytes*).\n\nYou almost certainly don't want to specify the `unit` property when creating\n`Metric` objects (which will retrieve all datums regardless of their unit),\nunless you have very specific requirements. Note that in any case, CloudWatch\nonly supports filtering by `unit` for Alarms, not in Dashboard graphs.\n\nPlease see the following GitHub issue for a discussion on real unit\ncalculations in CDK: https://github.com/aws/aws-cdk/issues/5595\n\n## Dashboards\n\nDashboards are set of Widgets stored server-side which can be accessed quickly\nfrom the AWS console. Available widgets are graphs of a metric over time, the\ncurrent value of a metric, or a static piece of Markdown which explains what the\ngraphs mean.\n\nThe following widgets are available:\n\n- `GraphWidget` -- shows any number of metrics on both the left and right\n vertical axes.\n- `AlarmWidget` -- shows the graph and alarm line for a single alarm.\n- `SingleValueWidget` -- shows the current value of a set of metrics.\n- `TextWidget` -- shows some static Markdown.\n- `AlarmStatusWidget` -- shows the status of your alarms in a grid view.\n\n### Graph widget\n\nA graph widget can display any number of metrics on either the `left` or\n`right` vertical axis:\n\n```ts\ndeclare const dashboard: cloudwatch.Dashboard;\ndeclare const executionCountMetric: cloudwatch.Metric;\ndeclare const errorCountMetric: cloudwatch.Metric;\n\ndashboard.addWidgets(new cloudwatch.GraphWidget({\n title: \"Executions vs error rate\",\n\n left: [executionCountMetric],\n\n right: [errorCountMetric.with({\n statistic: \"average\",\n label: \"Error rate\",\n color: cloudwatch.Color.GREEN,\n })]\n}));\n```\n\nUsing the methods `addLeftMetric()` and `addRightMetric()` you can add metrics to a graph widget later on.\n\nGraph widgets can also display annotations attached to the left or the right y-axis.\n\n```ts\ndeclare const dashboard: cloudwatch.Dashboard;\n\ndashboard.addWidgets(new cloudwatch.GraphWidget({\n // ...\n\n leftAnnotations: [\n { value: 1800, label: Duration.minutes(30).toHumanString(), color: cloudwatch.Color.RED, },\n { value: 3600, label: '1 hour', color: '#2ca02c', }\n ],\n}));\n```\n\nThe graph legend can be adjusted from the default position at bottom of the widget.\n\n```ts\ndeclare const dashboard: cloudwatch.Dashboard;\n\ndashboard.addWidgets(new cloudwatch.GraphWidget({\n // ...\n\n legendPosition: cloudwatch.LegendPosition.RIGHT,\n}));\n```\n\nThe graph can publish live data within the last minute that has not been fully aggregated.\n\n```ts\ndeclare const dashboard: cloudwatch.Dashboard;\n\ndashboard.addWidgets(new cloudwatch.GraphWidget({\n // ...\n\n liveData: true,\n}));\n```\n\nThe graph view can be changed from default 'timeSeries' to 'bar' or 'pie'.\n\n```ts\ndeclare const dashboard: cloudwatch.Dashboard;\n\ndashboard.addWidgets(new cloudwatch.GraphWidget({\n // ...\n\n view: cloudwatch.GraphWidgetView.BAR,\n}));\n```\n\n### Alarm widget\n\nAn alarm widget shows the graph and the alarm line of a single alarm:\n\n```ts\ndeclare const dashboard: cloudwatch.Dashboard;\ndeclare const errorAlarm: cloudwatch.Alarm;\n\ndashboard.addWidgets(new cloudwatch.AlarmWidget({\n title: \"Errors\",\n alarm: errorAlarm,\n}));\n```\n\n### Single value widget\n\nA single-value widget shows the latest value of a set of metrics (as opposed\nto a graph of the value over time):\n\n```ts\ndeclare const dashboard: cloudwatch.Dashboard;\ndeclare const visitorCount: cloudwatch.Metric;\ndeclare const purchaseCount: cloudwatch.Metric;\n\ndashboard.addWidgets(new cloudwatch.SingleValueWidget({\n metrics: [visitorCount, purchaseCount],\n}));\n```\n\nShow as many digits as can fit, before rounding.\n\n```ts\ndeclare const dashboard: cloudwatch.Dashboard;\n\ndashboard.addWidgets(new cloudwatch.SingleValueWidget({\n metrics: [ /* ... */ ],\n\n fullPrecision: true,\n}));\n```\n\n### Text widget\n\nA text widget shows an arbitrary piece of MarkDown. Use this to add explanations\nto your dashboard:\n\n```ts\ndeclare const dashboard: cloudwatch.Dashboard;\n\ndashboard.addWidgets(new cloudwatch.TextWidget({\n markdown: '# Key Performance Indicators'\n}));\n```\n\n### Alarm Status widget\n\nAn alarm status widget displays instantly the status of any type of alarms and gives the\nability to aggregate one or more alarms together in a small surface.\n\n```ts\ndeclare const dashboard: cloudwatch.Dashboard;\ndeclare const errorAlarm: cloudwatch.Alarm;\n\ndashboard.addWidgets(\n new cloudwatch.AlarmStatusWidget({\n alarms: [errorAlarm],\n })\n);\n```\n\nAn alarm status widget only showing firing alarms, sorted by state and timestamp:\n\n```ts\ndeclare const dashboard: cloudwatch.Dashboard;\ndeclare const errorAlarm: cloudwatch.Alarm;\n\ndashboard.addWidgets(new cloudwatch.AlarmStatusWidget({\n title: \"Errors\",\n alarms: [errorAlarm],\n sortBy: cloudwatch.AlarmStatusWidgetSortBy.STATE_UPDATED_TIMESTAMP,\n states: [cloudwatch.AlarmState.ALARM],\n}));\n```\n\n### Query results widget\n\nA `LogQueryWidget` shows the results of a query from Logs Insights:\n\n```ts\ndeclare const dashboard: cloudwatch.Dashboard;\n\ndashboard.addWidgets(new cloudwatch.LogQueryWidget({\n logGroupNames: ['my-log-group'],\n view: cloudwatch.LogQueryVisualizationType.TABLE,\n // The lines will be automatically combined using '\\n|'.\n queryLines: [\n 'fields @message',\n 'filter @message like /Error/',\n ]\n}));\n```\n\n### Custom widget\n\nA `CustomWidget` shows the result of an AWS Lambda function:\n\n```ts\ndeclare const dashboard: cloudwatch.Dashboard;\n\n// Import or create a lambda function\nconst fn = lambda.Function.fromFunctionArn(\n dashboard,\n 'Function',\n 'arn:aws:lambda:us-east-1:123456789012:function:MyFn',\n);\n\ndashboard.addWidgets(new cloudwatch.CustomWidget({\n functionArn: fn.functionArn,\n title: 'My lambda baked widget',\n}));\n```\n\nYou can learn more about custom widgets in the [Amazon Cloudwatch User Guide](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/add_custom_widget_dashboard.html).\n\n### Dashboard Layout\n\nThe widgets on a dashboard are visually laid out in a grid that is 24 columns\nwide. Normally you specify X and Y coordinates for the widgets on a Dashboard,\nbut because this is inconvenient to do manually, the library contains a simple\nlayout system to help you lay out your dashboards the way you want them to.\n\nWidgets have a `width` and `height` property, and they will be automatically\nlaid out either horizontally or vertically stacked to fill out the available\nspace.\n\nWidgets are added to a Dashboard by calling `add(widget1, widget2, ...)`.\nWidgets given in the same call will be laid out horizontally. Widgets given\nin different calls will be laid out vertically. To make more complex layouts,\nyou can use the following widgets to pack widgets together in different ways:\n\n- `Column`: stack two or more widgets vertically.\n- `Row`: lay out two or more widgets horizontally.\n- `Spacer`: take up empty space\n"
204 },
205 "repository": {
206 "directory": "packages/@aws-cdk/aws-cloudwatch",
207 "type": "git",
208 "url": "https://github.com/aws/aws-cdk.git"
209 },
210 "schema": "jsii/0.10.0",
211 "targets": {
212 "dotnet": {
213 "iconUrl": "https://raw.githubusercontent.com/aws/aws-cdk/master/logo/default-256-dark.png",
214 "namespace": "Amazon.CDK.AWS.CloudWatch",
215 "packageId": "Amazon.CDK.AWS.CloudWatch"
216 },
217 "java": {
218 "maven": {
219 "artifactId": "cloudwatch",
220 "groupId": "software.amazon.awscdk"
221 },
222 "package": "software.amazon.awscdk.services.cloudwatch"
223 },
224 "js": {
225 "npm": "@aws-cdk/aws-cloudwatch"
226 },
227 "python": {
228 "classifiers": [
229 "Framework :: AWS CDK",
230 "Framework :: AWS CDK :: 1"
231 ],
232 "distName": "aws-cdk.aws-cloudwatch",
233 "module": "aws_cdk.aws_cloudwatch"
234 }
235 },
236 "types": {
237 "@aws-cdk/aws-cloudwatch.Alarm": {
238 "assembly": "@aws-cdk/aws-cloudwatch",
239 "base": "@aws-cdk/aws-cloudwatch.AlarmBase",
240 "docs": {
241 "stability": "stable",
242 "summary": "An alarm on a CloudWatch metric.",
243 "example": "import * as cloudwatch from '@aws-cdk/aws-cloudwatch';\n\ndeclare const alias: lambda.Alias;\nconst alarm = new cloudwatch.Alarm(this, 'Errors', {\n comparisonOperator: cloudwatch.ComparisonOperator.GREATER_THAN_THRESHOLD,\n threshold: 1,\n evaluationPeriods: 1,\n metric: alias.metricErrors(),\n});\nconst deploymentGroup = new codedeploy.LambdaDeploymentGroup(this, 'BlueGreenDeployment', {\n alias,\n deploymentConfig: codedeploy.LambdaDeploymentConfig.LINEAR_10PERCENT_EVERY_1MINUTE,\n alarms: [\n // pass some alarms when constructing the deployment group\n alarm,\n ],\n});\n\n// or add alarms to an existing group\ndeclare const blueGreenAlias: lambda.Alias;\ndeploymentGroup.addAlarm(new cloudwatch.Alarm(this, 'BlueGreenErrors', {\n comparisonOperator: cloudwatch.ComparisonOperator.GREATER_THAN_THRESHOLD,\n threshold: 1,\n evaluationPeriods: 1,\n metric: blueGreenAlias.metricErrors(),\n}));",
244 "custom": {
245 "exampleMetadata": "infused"
246 }
247 },
248 "fqn": "@aws-cdk/aws-cloudwatch.Alarm",
249 "initializer": {
250 "docs": {
251 "stability": "stable"
252 },
253 "locationInModule": {
254 "filename": "lib/alarm.ts",
255 "line": 146
256 },
257 "parameters": [
258 {
259 "name": "scope",
260 "type": {
261 "fqn": "constructs.Construct"
262 }
263 },
264 {
265 "name": "id",
266 "type": {
267 "primitive": "string"
268 }
269 },
270 {
271 "name": "props",
272 "type": {
273 "fqn": "@aws-cdk/aws-cloudwatch.AlarmProps"
274 }
275 }
276 ]
277 },
278 "kind": "class",
279 "locationInModule": {
280 "filename": "lib/alarm.ts",
281 "line": 105
282 },
283 "methods": [
284 {
285 "docs": {
286 "stability": "stable",
287 "summary": "Import an existing CloudWatch alarm provided an ARN."
288 },
289 "locationInModule": {
290 "filename": "lib/alarm.ts",
291 "line": 114
292 },
293 "name": "fromAlarmArn",
294 "parameters": [
295 {
296 "docs": {
297 "summary": "The parent creating construct (usually `this`)."
298 },
299 "name": "scope",
300 "type": {
301 "fqn": "constructs.Construct"
302 }
303 },
304 {
305 "docs": {
306 "summary": "The construct's name."
307 },
308 "name": "id",
309 "type": {
310 "primitive": "string"
311 }
312 },
313 {
314 "docs": {
315 "summary": "Alarm ARN (i.e. arn:aws:cloudwatch:<region>:<account-id>:alarm:Foo)."
316 },
317 "name": "alarmArn",
318 "type": {
319 "primitive": "string"
320 }
321 }
322 ],
323 "returns": {
324 "type": {
325 "fqn": "@aws-cdk/aws-cloudwatch.IAlarm"
326 }
327 },
328 "static": true
329 },
330 {
331 "docs": {
332 "remarks": "Typically the ARN of an SNS topic or ARN of an AutoScaling policy.",
333 "stability": "stable",
334 "summary": "Trigger this action if the alarm fires."
335 },
336 "locationInModule": {
337 "filename": "lib/alarm.ts",
338 "line": 237
339 },
340 "name": "addAlarmAction",
341 "overrides": "@aws-cdk/aws-cloudwatch.AlarmBase",
342 "parameters": [
343 {
344 "name": "actions",
345 "type": {
346 "fqn": "@aws-cdk/aws-cloudwatch.IAlarmAction"
347 },
348 "variadic": true
349 }
350 ],
351 "variadic": true
352 },
353 {
354 "docs": {
355 "remarks": "This is useful if you want to represent an Alarm in a non-AlarmWidget.\nAn `AlarmWidget` can directly show an alarm, but it can only show a\nsingle alarm and no other metrics. Instead, you can convert the alarm to\na HorizontalAnnotation and add it as an annotation to another graph.\n\nThis might be useful if:\n\n- You want to show multiple alarms inside a single graph, for example if\n you have both a \"small margin/long period\" alarm as well as a\n \"large margin/short period\" alarm.\n\n- You want to show an Alarm line in a graph with multiple metrics in it.",
356 "stability": "stable",
357 "summary": "Turn this alarm into a horizontal annotation."
358 },
359 "locationInModule": {
360 "filename": "lib/alarm.ts",
361 "line": 228
362 },
363 "name": "toAnnotation",
364 "returns": {
365 "type": {
366 "fqn": "@aws-cdk/aws-cloudwatch.HorizontalAnnotation"
367 }
368 }
369 }
370 ],
371 "name": "Alarm",
372 "properties": [
373 {
374 "docs": {
375 "custom": {
376 "attribute": "true"
377 },
378 "stability": "stable",
379 "summary": "ARN of this alarm."
380 },
381 "immutable": true,
382 "locationInModule": {
383 "filename": "lib/alarm.ts",
384 "line": 127
385 },
386 "name": "alarmArn",
387 "overrides": "@aws-cdk/aws-cloudwatch.AlarmBase",
388 "type": {
389 "primitive": "string"
390 }
391 },
392 {
393 "docs": {
394 "custom": {
395 "attribute": "true"
396 },
397 "stability": "stable",
398 "summary": "Name of this alarm."
399 },
400 "immutable": true,
401 "locationInModule": {
402 "filename": "lib/alarm.ts",
403 "line": 134
404 },
405 "name": "alarmName",
406 "overrides": "@aws-cdk/aws-cloudwatch.AlarmBase",
407 "type": {
408 "primitive": "string"
409 }
410 },
411 {
412 "docs": {
413 "stability": "stable",
414 "summary": "The metric object this alarm was based on."
415 },
416 "immutable": true,
417 "locationInModule": {
418 "filename": "lib/alarm.ts",
419 "line": 139
420 },
421 "name": "metric",
422 "type": {
423 "fqn": "@aws-cdk/aws-cloudwatch.IMetric"
424 }
425 }
426 ],
427 "symbolId": "lib/alarm:Alarm"
428 },
429 "@aws-cdk/aws-cloudwatch.AlarmActionConfig": {
430 "assembly": "@aws-cdk/aws-cloudwatch",
431 "datatype": true,
432 "docs": {
433 "stability": "stable",
434 "summary": "Properties for an alarm action.",
435 "example": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as cloudwatch from '@aws-cdk/aws-cloudwatch';\nconst alarmActionConfig: cloudwatch.AlarmActionConfig = {\n alarmActionArn: 'alarmActionArn',\n};",
436 "custom": {
437 "exampleMetadata": "fixture=_generated"
438 }
439 },
440 "fqn": "@aws-cdk/aws-cloudwatch.AlarmActionConfig",
441 "kind": "interface",
442 "locationInModule": {
443 "filename": "lib/alarm-action.ts",
444 "line": 24
445 },
446 "name": "AlarmActionConfig",
447 "properties": [
448 {
449 "abstract": true,
450 "docs": {
451 "stability": "stable",
452 "summary": "Return the ARN that should be used for a CloudWatch Alarm action."
453 },
454 "immutable": true,
455 "locationInModule": {
456 "filename": "lib/alarm-action.ts",
457 "line": 28
458 },
459 "name": "alarmActionArn",
460 "type": {
461 "primitive": "string"
462 }
463 }
464 ],
465 "symbolId": "lib/alarm-action:AlarmActionConfig"
466 },
467 "@aws-cdk/aws-cloudwatch.AlarmBase": {
468 "abstract": true,
469 "assembly": "@aws-cdk/aws-cloudwatch",
470 "base": "@aws-cdk/core.Resource",
471 "docs": {
472 "stability": "stable",
473 "summary": "The base class for Alarm and CompositeAlarm resources."
474 },
475 "fqn": "@aws-cdk/aws-cloudwatch.AlarmBase",
476 "initializer": {
477 "docs": {
478 "stability": "stable"
479 },
480 "locationInModule": {
481 "filename": "lib/resource.ts",
482 "line": 150
483 },
484 "parameters": [
485 {
486 "name": "scope",
487 "type": {
488 "fqn": "constructs.Construct"
489 }
490 },
491 {
492 "name": "id",
493 "type": {
494 "primitive": "string"
495 }
496 },
497 {
498 "name": "props",
499 "optional": true,
500 "type": {
501 "fqn": "@aws-cdk/core.ResourceProps"
502 }
503 }
504 ]
505 },
506 "interfaces": [
507 "@aws-cdk/aws-cloudwatch.IAlarm"
508 ],
509 "kind": "class",
510 "locationInModule": {
511 "filename": "lib/alarm-base.ts",
512 "line": 38
513 },
514 "methods": [
515 {
516 "docs": {
517 "remarks": "Typically the ARN of an SNS topic or ARN of an AutoScaling policy.",
518 "stability": "stable",
519 "summary": "Trigger this action if the alarm fires."
520 },
521 "locationInModule": {
522 "filename": "lib/alarm-base.ts",
523 "line": 62
524 },
525 "name": "addAlarmAction",
526 "parameters": [
527 {
528 "name": "actions",
529 "type": {
530 "fqn": "@aws-cdk/aws-cloudwatch.IAlarmAction"
531 },
532 "variadic": true
533 }
534 ],
535 "variadic": true
536 },
537 {
538 "docs": {
539 "remarks": "Typically the ARN of an SNS topic or ARN of an AutoScaling policy.",
540 "stability": "stable",
541 "summary": "Trigger this action if there is insufficient data to evaluate the alarm."
542 },
543 "locationInModule": {
544 "filename": "lib/alarm-base.ts",
545 "line": 75
546 },
547 "name": "addInsufficientDataAction",
548 "parameters": [
549 {
550 "name": "actions",
551 "type": {
552 "fqn": "@aws-cdk/aws-cloudwatch.IAlarmAction"
553 },
554 "variadic": true
555 }
556 ],
557 "variadic": true
558 },
559 {
560 "docs": {
561 "remarks": "Typically the ARN of an SNS topic or ARN of an AutoScaling policy.",
562 "stability": "stable",
563 "summary": "Trigger this action if the alarm returns from breaching state into ok state."
564 },
565 "locationInModule": {
566 "filename": "lib/alarm-base.ts",
567 "line": 88
568 },
569 "name": "addOkAction",
570 "parameters": [
571 {
572 "name": "actions",
573 "type": {
574 "fqn": "@aws-cdk/aws-cloudwatch.IAlarmAction"
575 },
576 "variadic": true
577 }
578 ],
579 "variadic": true
580 },
581 {
582 "docs": {
583 "stability": "stable",
584 "summary": "AlarmRule indicating ALARM state for Alarm."
585 },
586 "locationInModule": {
587 "filename": "lib/alarm-base.ts",
588 "line": 53
589 },
590 "name": "renderAlarmRule",
591 "overrides": "@aws-cdk/aws-cloudwatch.IAlarmRule",
592 "returns": {
593 "type": {
594 "primitive": "string"
595 }
596 }
597 }
598 ],
599 "name": "AlarmBase",
600 "properties": [
601 {
602 "abstract": true,
603 "docs": {
604 "custom": {
605 "attribute": "true"
606 },
607 "stability": "stable",
608 "summary": "Alarm ARN (i.e. arn:aws:cloudwatch:<region>:<account-id>:alarm:Foo)."
609 },
610 "immutable": true,
611 "locationInModule": {
612 "filename": "lib/alarm-base.ts",
613 "line": 43
614 },
615 "name": "alarmArn",
616 "overrides": "@aws-cdk/aws-cloudwatch.IAlarm",
617 "type": {
618 "primitive": "string"
619 }
620 },
621 {
622 "abstract": true,
623 "docs": {
624 "stability": "stable",
625 "summary": "Name of the alarm."
626 },
627 "immutable": true,
628 "locationInModule": {
629 "filename": "lib/alarm-base.ts",
630 "line": 44
631 },
632 "name": "alarmName",
633 "overrides": "@aws-cdk/aws-cloudwatch.IAlarm",
634 "type": {
635 "primitive": "string"
636 }
637 },
638 {
639 "docs": {
640 "stability": "stable"
641 },
642 "locationInModule": {
643 "filename": "lib/alarm-base.ts",
644 "line": 46
645 },
646 "name": "alarmActionArns",
647 "optional": true,
648 "protected": true,
649 "type": {
650 "collection": {
651 "elementtype": {
652 "primitive": "string"
653 },
654 "kind": "array"
655 }
656 }
657 },
658 {
659 "docs": {
660 "stability": "stable"
661 },
662 "locationInModule": {
663 "filename": "lib/alarm-base.ts",
664 "line": 47
665 },
666 "name": "insufficientDataActionArns",
667 "optional": true,
668 "protected": true,
669 "type": {
670 "collection": {
671 "elementtype": {
672 "primitive": "string"
673 },
674 "kind": "array"
675 }
676 }
677 },
678 {
679 "docs": {
680 "stability": "stable"
681 },
682 "locationInModule": {
683 "filename": "lib/alarm-base.ts",
684 "line": 48
685 },
686 "name": "okActionArns",
687 "optional": true,
688 "protected": true,
689 "type": {
690 "collection": {
691 "elementtype": {
692 "primitive": "string"
693 },
694 "kind": "array"
695 }
696 }
697 }
698 ],
699 "symbolId": "lib/alarm-base:AlarmBase"
700 },
701 "@aws-cdk/aws-cloudwatch.AlarmProps": {
702 "assembly": "@aws-cdk/aws-cloudwatch",
703 "datatype": true,
704 "docs": {
705 "stability": "stable",
706 "summary": "Properties for Alarms.",
707 "example": "import * as cloudwatch from '@aws-cdk/aws-cloudwatch';\n\ndeclare const alias: lambda.Alias;\nconst alarm = new cloudwatch.Alarm(this, 'Errors', {\n comparisonOperator: cloudwatch.ComparisonOperator.GREATER_THAN_THRESHOLD,\n threshold: 1,\n evaluationPeriods: 1,\n metric: alias.metricErrors(),\n});\nconst deploymentGroup = new codedeploy.LambdaDeploymentGroup(this, 'BlueGreenDeployment', {\n alias,\n deploymentConfig: codedeploy.LambdaDeploymentConfig.LINEAR_10PERCENT_EVERY_1MINUTE,\n alarms: [\n // pass some alarms when constructing the deployment group\n alarm,\n ],\n});\n\n// or add alarms to an existing group\ndeclare const blueGreenAlias: lambda.Alias;\ndeploymentGroup.addAlarm(new cloudwatch.Alarm(this, 'BlueGreenErrors', {\n comparisonOperator: cloudwatch.ComparisonOperator.GREATER_THAN_THRESHOLD,\n threshold: 1,\n evaluationPeriods: 1,\n metric: blueGreenAlias.metricErrors(),\n}));",
708 "custom": {
709 "exampleMetadata": "infused"
710 }
711 },
712 "fqn": "@aws-cdk/aws-cloudwatch.AlarmProps",
713 "interfaces": [
714 "@aws-cdk/aws-cloudwatch.CreateAlarmOptions"
715 ],
716 "kind": "interface",
717 "locationInModule": {
718 "filename": "lib/alarm.ts",
719 "line": 17
720 },
721 "name": "AlarmProps",
722 "properties": [
723 {
724 "abstract": true,
725 "docs": {
726 "remarks": "Metric objects can be obtained from most resources, or you can construct\ncustom Metric objects by instantiating one.",
727 "stability": "stable",
728 "summary": "The metric to add the alarm on."
729 },
730 "immutable": true,
731 "locationInModule": {
732 "filename": "lib/alarm.ts",
733 "line": 24
734 },
735 "name": "metric",
736 "type": {
737 "fqn": "@aws-cdk/aws-cloudwatch.IMetric"
738 }
739 }
740 ],
741 "symbolId": "lib/alarm:AlarmProps"
742 },
743 "@aws-cdk/aws-cloudwatch.AlarmRule": {
744 "assembly": "@aws-cdk/aws-cloudwatch",
745 "docs": {
746 "stability": "stable",
747 "summary": "Class with static functions to build AlarmRule for Composite Alarms.",
748 "example": "declare const alarm1: cloudwatch.Alarm;\ndeclare const alarm2: cloudwatch.Alarm;\ndeclare const alarm3: cloudwatch.Alarm;\ndeclare const alarm4: cloudwatch.Alarm;\n\nconst alarmRule = cloudwatch.AlarmRule.anyOf(\n cloudwatch.AlarmRule.allOf(\n cloudwatch.AlarmRule.anyOf(\n alarm1,\n cloudwatch.AlarmRule.fromAlarm(alarm2, cloudwatch.AlarmState.OK),\n alarm3,\n ),\n cloudwatch.AlarmRule.not(cloudwatch.AlarmRule.fromAlarm(alarm4, cloudwatch.AlarmState.INSUFFICIENT_DATA)),\n ),\n cloudwatch.AlarmRule.fromBoolean(false),\n);\n\nnew cloudwatch.CompositeAlarm(this, 'MyAwesomeCompositeAlarm', {\n alarmRule,\n});",
749 "custom": {
750 "exampleMetadata": "infused"
751 }
752 },
753 "fqn": "@aws-cdk/aws-cloudwatch.AlarmRule",
754 "initializer": {
755 "docs": {
756 "stability": "stable"
757 }
758 },
759 "kind": "class",
760 "locationInModule": {
761 "filename": "lib/alarm-rule.ts",
762 "line": 39
763 },
764 "methods": [
765 {
766 "docs": {
767 "stability": "stable",
768 "summary": "function to join all provided AlarmRules with AND operator."
769 },
770 "locationInModule": {
771 "filename": "lib/alarm-rule.ts",
772 "line": 46
773 },
774 "name": "allOf",
775 "parameters": [
776 {
777 "docs": {
778 "summary": "IAlarmRules to be joined with AND operator."
779 },
780 "name": "operands",
781 "type": {
782 "fqn": "@aws-cdk/aws-cloudwatch.IAlarmRule"
783 },
784 "variadic": true
785 }
786 ],
787 "returns": {
788 "type": {
789 "fqn": "@aws-cdk/aws-cloudwatch.IAlarmRule"
790 }
791 },
792 "static": true,
793 "variadic": true
794 },
795 {
796 "docs": {
797 "stability": "stable",
798 "summary": "function to join all provided AlarmRules with OR operator."
799 },
800 "locationInModule": {
801 "filename": "lib/alarm-rule.ts",
802 "line": 55
803 },
804 "name": "anyOf",
805 "parameters": [
806 {
807 "docs": {
808 "summary": "IAlarmRules to be joined with OR operator."
809 },
810 "name": "operands",
811 "type": {
812 "fqn": "@aws-cdk/aws-cloudwatch.IAlarmRule"
813 },
814 "variadic": true
815 }
816 ],
817 "returns": {
818 "type": {
819 "fqn": "@aws-cdk/aws-cloudwatch.IAlarmRule"
820 }
821 },
822 "static": true,
823 "variadic": true
824 },
825 {
826 "docs": {
827 "stability": "stable",
828 "summary": "function to build Rule Expression for given IAlarm and AlarmState."
829 },
830 "locationInModule": {
831 "filename": "lib/alarm-rule.ts",
832 "line": 91
833 },
834 "name": "fromAlarm",
835 "parameters": [
836 {
837 "docs": {
838 "summary": "IAlarm to be used in Rule Expression."
839 },
840 "name": "alarm",
841 "type": {
842 "fqn": "@aws-cdk/aws-cloudwatch.IAlarm"
843 }
844 },
845 {
846 "docs": {
847 "summary": "AlarmState to be used in Rule Expression."
848 },
849 "name": "alarmState",
850 "type": {
851 "fqn": "@aws-cdk/aws-cloudwatch.AlarmState"
852 }
853 }
854 ],
855 "returns": {
856 "type": {
857 "fqn": "@aws-cdk/aws-cloudwatch.IAlarmRule"
858 }
859 },
860 "static": true
861 },
862 {
863 "docs": {
864 "stability": "stable",
865 "summary": "function to build TRUE/FALSE intent for Rule Expression."
866 },
867 "locationInModule": {
868 "filename": "lib/alarm-rule.ts",
869 "line": 77
870 },
871 "name": "fromBoolean",
872 "parameters": [
873 {
874 "docs": {
875 "summary": "boolean value to be used in rule expression."
876 },
877 "name": "value",
878 "type": {
879 "primitive": "boolean"
880 }
881 }
882 ],
883 "returns": {
884 "type": {
885 "fqn": "@aws-cdk/aws-cloudwatch.IAlarmRule"
886 }
887 },
888 "static": true
889 },
890 {
891 "docs": {
892 "stability": "stable",
893 "summary": "function to build Rule Expression for given Alarm Rule string."
894 },
895 "locationInModule": {
896 "filename": "lib/alarm-rule.ts",
897 "line": 104
898 },
899 "name": "fromString",
900 "parameters": [
901 {
902 "docs": {
903 "summary": "string to be used in Rule Expression."
904 },
905 "name": "alarmRule",
906 "type": {
907 "primitive": "string"
908 }
909 }
910 ],
911 "returns": {
912 "type": {
913 "fqn": "@aws-cdk/aws-cloudwatch.IAlarmRule"
914 }
915 },
916 "static": true
917 },
918 {
919 "docs": {
920 "stability": "stable",
921 "summary": "function to wrap provided AlarmRule in NOT operator."
922 },
923 "locationInModule": {
924 "filename": "lib/alarm-rule.ts",
925 "line": 64
926 },
927 "name": "not",
928 "parameters": [
929 {
930 "docs": {
931 "summary": "IAlarmRule to be wrapped in NOT operator."
932 },
933 "name": "operand",
934 "type": {
935 "fqn": "@aws-cdk/aws-cloudwatch.IAlarmRule"
936 }
937 }
938 ],
939 "returns": {
940 "type": {
941 "fqn": "@aws-cdk/aws-cloudwatch.IAlarmRule"
942 }
943 },
944 "static": true
945 }
946 ],
947 "name": "AlarmRule",
948 "symbolId": "lib/alarm-rule:AlarmRule"
949 },
950 "@aws-cdk/aws-cloudwatch.AlarmState": {
951 "assembly": "@aws-cdk/aws-cloudwatch",
952 "docs": {
953 "stability": "stable",
954 "summary": "Enumeration indicates state of Alarm used in building Alarm Rule.",
955 "example": "declare const dashboard: cloudwatch.Dashboard;\ndeclare const errorAlarm: cloudwatch.Alarm;\n\ndashboard.addWidgets(new cloudwatch.AlarmStatusWidget({\n title: \"Errors\",\n alarms: [errorAlarm],\n sortBy: cloudwatch.AlarmStatusWidgetSortBy.STATE_UPDATED_TIMESTAMP,\n states: [cloudwatch.AlarmState.ALARM],\n}));",
956 "custom": {
957 "exampleMetadata": "infused"
958 }
959 },
960 "fqn": "@aws-cdk/aws-cloudwatch.AlarmState",
961 "kind": "enum",
962 "locationInModule": {
963 "filename": "lib/alarm-rule.ts",
964 "line": 6
965 },
966 "members": [
967 {
968 "docs": {
969 "stability": "stable",
970 "summary": "State indicates resource is in ALARM."
971 },
972 "name": "ALARM"
973 },
974 {
975 "docs": {
976 "stability": "stable",
977 "summary": "State indicates resource is not in ALARM."
978 },
979 "name": "OK"
980 },
981 {
982 "docs": {
983 "stability": "stable",
984 "summary": "State indicates there is not enough data to determine is resource is in ALARM."
985 },
986 "name": "INSUFFICIENT_DATA"
987 }
988 ],
989 "name": "AlarmState",
990 "symbolId": "lib/alarm-rule:AlarmState"
991 },
992 "@aws-cdk/aws-cloudwatch.AlarmStatusWidget": {
993 "assembly": "@aws-cdk/aws-cloudwatch",
994 "base": "@aws-cdk/aws-cloudwatch.ConcreteWidget",
995 "docs": {
996 "stability": "stable",
997 "summary": "A dashboard widget that displays alarms in a grid view.",
998 "example": "declare const dashboard: cloudwatch.Dashboard;\ndeclare const errorAlarm: cloudwatch.Alarm;\n\ndashboard.addWidgets(\n new cloudwatch.AlarmStatusWidget({\n alarms: [errorAlarm],\n })\n);",
999 "custom": {
1000 "exampleMetadata": "infused"
1001 }
1002 },
1003 "fqn": "@aws-cdk/aws-cloudwatch.AlarmStatusWidget",
1004 "initializer": {
1005 "docs": {
1006 "stability": "stable"
1007 },
1008 "locationInModule": {
1009 "filename": "lib/alarm-status-widget.ts",
1010 "line": 83
1011 },
1012 "parameters": [
1013 {
1014 "name": "props",
1015 "type": {
1016 "fqn": "@aws-cdk/aws-cloudwatch.AlarmStatusWidgetProps"
1017 }
1018 }
1019 ]
1020 },
1021 "kind": "class",
1022 "locationInModule": {
1023 "filename": "lib/alarm-status-widget.ts",
1024 "line": 80
1025 },
1026 "methods": [
1027 {
1028 "docs": {
1029 "stability": "stable",
1030 "summary": "Place the widget at a given position."
1031 },
1032 "locationInModule": {
1033 "filename": "lib/alarm-status-widget.ts",
1034 "line": 88
1035 },
1036 "name": "position",
1037 "overrides": "@aws-cdk/aws-cloudwatch.ConcreteWidget",
1038 "parameters": [
1039 {
1040 "name": "x",
1041 "type": {
1042 "primitive": "number"
1043 }
1044 },
1045 {
1046 "name": "y",
1047 "type": {
1048 "primitive": "number"
1049 }
1050 }
1051 ]
1052 },
1053 {
1054 "docs": {
1055 "stability": "stable",
1056 "summary": "Return the widget JSON for use in the dashboard."
1057 },
1058 "locationInModule": {
1059 "filename": "lib/alarm-status-widget.ts",
1060 "line": 93
1061 },
1062 "name": "toJson",
1063 "overrides": "@aws-cdk/aws-cloudwatch.ConcreteWidget",
1064 "returns": {
1065 "type": {
1066 "collection": {
1067 "elementtype": {
1068 "primitive": "any"
1069 },
1070 "kind": "array"
1071 }
1072 }
1073 }
1074 }
1075 ],
1076 "name": "AlarmStatusWidget",
1077 "symbolId": "lib/alarm-status-widget:AlarmStatusWidget"
1078 },
1079 "@aws-cdk/aws-cloudwatch.AlarmStatusWidgetProps": {
1080 "assembly": "@aws-cdk/aws-cloudwatch",
1081 "datatype": true,
1082 "docs": {
1083 "stability": "stable",
1084 "summary": "Properties for an Alarm Status Widget.",
1085 "example": "declare const dashboard: cloudwatch.Dashboard;\ndeclare const errorAlarm: cloudwatch.Alarm;\n\ndashboard.addWidgets(\n new cloudwatch.AlarmStatusWidget({\n alarms: [errorAlarm],\n })\n);",
1086 "custom": {
1087 "exampleMetadata": "infused"
1088 }
1089 },
1090 "fqn": "@aws-cdk/aws-cloudwatch.AlarmStatusWidgetProps",
1091 "kind": "interface",
1092 "locationInModule": {
1093 "filename": "lib/alarm-status-widget.ts",
1094 "line": 34
1095 },
1096 "name": "AlarmStatusWidgetProps",
1097 "properties": [
1098 {
1099 "abstract": true,
1100 "docs": {
1101 "stability": "stable",
1102 "summary": "CloudWatch Alarms to show in widget."
1103 },
1104 "immutable": true,
1105 "locationInModule": {
1106 "filename": "lib/alarm-status-widget.ts",
1107 "line": 38
1108 },
1109 "name": "alarms",
1110 "type": {
1111 "collection": {
1112 "elementtype": {
1113 "fqn": "@aws-cdk/aws-cloudwatch.IAlarm"
1114 },
1115 "kind": "array"
1116 }
1117 }
1118 },
1119 {
1120 "abstract": true,
1121 "docs": {
1122 "default": "3",
1123 "stability": "stable",
1124 "summary": "Height of the widget."
1125 },
1126 "immutable": true,
1127 "locationInModule": {
1128 "filename": "lib/alarm-status-widget.ts",
1129 "line": 56
1130 },
1131 "name": "height",
1132 "optional": true,
1133 "type": {
1134 "primitive": "number"
1135 }
1136 },
1137 {
1138 "abstract": true,
1139 "docs": {
1140 "default": "- alphabetical order",
1141 "stability": "stable",
1142 "summary": "Specifies how to sort the alarms in the widget."
1143 },
1144 "immutable": true,
1145 "locationInModule": {
1146 "filename": "lib/alarm-status-widget.ts",
1147 "line": 63
1148 },
1149 "name": "sortBy",
1150 "optional": true,
1151 "type": {
1152 "fqn": "@aws-cdk/aws-cloudwatch.AlarmStatusWidgetSortBy"
1153 }
1154 },
1155 {
1156 "abstract": true,
1157 "docs": {
1158 "default": "- all the alarms specified in alarms are displayed.",
1159 "remarks": "You can specify one or more alarm states in the value for this field.\nThe alarm states that you can specify are ALARM, INSUFFICIENT_DATA, and OK.\n\nIf you omit this field or specify an empty array, all the alarms specifed in alarms are displayed.",
1160 "stability": "stable",
1161 "summary": "Use this field to filter the list of alarms displayed in the widget to only those alarms currently in the specified states."
1162 },
1163 "immutable": true,
1164 "locationInModule": {
1165 "filename": "lib/alarm-status-widget.ts",
1166 "line": 74
1167 },
1168 "name": "states",
1169 "optional": true,
1170 "type": {
1171 "collection": {
1172 "elementtype": {
1173 "fqn": "@aws-cdk/aws-cloudwatch.AlarmState"
1174 },
1175 "kind": "array"
1176 }
1177 }
1178 },
1179 {
1180 "abstract": true,
1181 "docs": {
1182 "default": "'Alarm Status'",
1183 "stability": "stable",
1184 "summary": "The title of the widget."
1185 },
1186 "immutable": true,
1187 "locationInModule": {
1188 "filename": "lib/alarm-status-widget.ts",
1189 "line": 44
1190 },
1191 "name": "title",
1192 "optional": true,
1193 "type": {
1194 "primitive": "string"
1195 }
1196 },
1197 {
1198 "abstract": true,
1199 "docs": {
1200 "default": "6",
1201 "stability": "stable",
1202 "summary": "Width of the widget, in a grid of 24 units wide."
1203 },
1204 "immutable": true,
1205 "locationInModule": {
1206 "filename": "lib/alarm-status-widget.ts",
1207 "line": 50
1208 },
1209 "name": "width",
1210 "optional": true,
1211 "type": {
1212 "primitive": "number"
1213 }
1214 }
1215 ],
1216 "symbolId": "lib/alarm-status-widget:AlarmStatusWidgetProps"
1217 },
1218 "@aws-cdk/aws-cloudwatch.AlarmStatusWidgetSortBy": {
1219 "assembly": "@aws-cdk/aws-cloudwatch",
1220 "docs": {
1221 "stability": "stable",
1222 "summary": "The sort possibilities for AlarmStatusWidgets.",
1223 "example": "declare const dashboard: cloudwatch.Dashboard;\ndeclare const errorAlarm: cloudwatch.Alarm;\n\ndashboard.addWidgets(new cloudwatch.AlarmStatusWidget({\n title: \"Errors\",\n alarms: [errorAlarm],\n sortBy: cloudwatch.AlarmStatusWidgetSortBy.STATE_UPDATED_TIMESTAMP,\n states: [cloudwatch.AlarmState.ALARM],\n}));",
1224 "custom": {
1225 "exampleMetadata": "infused"
1226 }
1227 },
1228 "fqn": "@aws-cdk/aws-cloudwatch.AlarmStatusWidgetSortBy",
1229 "kind": "enum",
1230 "locationInModule": {
1231 "filename": "lib/alarm-status-widget.ts",
1232 "line": 9
1233 },
1234 "members": [
1235 {
1236 "docs": {
1237 "stability": "stable",
1238 "summary": "Choose DEFAULT to sort them in alphabetical order by alarm name."
1239 },
1240 "name": "DEFAULT"
1241 },
1242 {
1243 "docs": {
1244 "remarks": "Within each group, the alarms are sorted by when they last changed state, with more recent state changes listed first.",
1245 "stability": "stable",
1246 "summary": "Choose STATE_UPDATED_TIMESTAMP to sort them first by alarm state, with alarms in ALARM state first, INSUFFICIENT_DATA alarms next, and OK alarms last."
1247 },
1248 "name": "STATE_UPDATED_TIMESTAMP"
1249 },
1250 {
1251 "docs": {
1252 "remarks": "The alarm that changed state most recently is listed first.",
1253 "stability": "stable",
1254 "summary": "Choose TIMESTAMP to sort them by the time when the alarms most recently changed state, no matter the current alarm state."
1255 },
1256 "name": "TIMESTAMP"
1257 }
1258 ],
1259 "name": "AlarmStatusWidgetSortBy",
1260 "symbolId": "lib/alarm-status-widget:AlarmStatusWidgetSortBy"
1261 },
1262 "@aws-cdk/aws-cloudwatch.AlarmWidget": {
1263 "assembly": "@aws-cdk/aws-cloudwatch",
1264 "base": "@aws-cdk/aws-cloudwatch.ConcreteWidget",
1265 "docs": {
1266 "stability": "stable",
1267 "summary": "Display the metric associated with an alarm, including the alarm line.",
1268 "example": "declare const dashboard: cloudwatch.Dashboard;\ndeclare const errorAlarm: cloudwatch.Alarm;\n\ndashboard.addWidgets(new cloudwatch.AlarmWidget({\n title: \"Errors\",\n alarm: errorAlarm,\n}));",
1269 "custom": {
1270 "exampleMetadata": "infused"
1271 }
1272 },
1273 "fqn": "@aws-cdk/aws-cloudwatch.AlarmWidget",
1274 "initializer": {
1275 "docs": {
1276 "stability": "stable"
1277 },
1278 "locationInModule": {
1279 "filename": "lib/graph.ts",
1280 "line": 97
1281 },
1282 "parameters": [
1283 {
1284 "name": "props",
1285 "type": {
1286 "fqn": "@aws-cdk/aws-cloudwatch.AlarmWidgetProps"
1287 }
1288 }
1289 ]
1290 },
1291 "kind": "class",
1292 "locationInModule": {
1293 "filename": "lib/graph.ts",
1294 "line": 94
1295 },
1296 "methods": [
1297 {
1298 "docs": {
1299 "stability": "stable",
1300 "summary": "Return the widget JSON for use in the dashboard."
1301 },
1302 "locationInModule": {
1303 "filename": "lib/graph.ts",
1304 "line": 102
1305 },
1306 "name": "toJson",
1307 "overrides": "@aws-cdk/aws-cloudwatch.ConcreteWidget",
1308 "returns": {
1309 "type": {
1310 "collection": {
1311 "elementtype": {
1312 "primitive": "any"
1313 },
1314 "kind": "array"
1315 }
1316 }
1317 }
1318 }
1319 ],
1320 "name": "AlarmWidget",
1321 "symbolId": "lib/graph:AlarmWidget"
1322 },
1323 "@aws-cdk/aws-cloudwatch.AlarmWidgetProps": {
1324 "assembly": "@aws-cdk/aws-cloudwatch",
1325 "datatype": true,
1326 "docs": {
1327 "stability": "stable",
1328 "summary": "Properties for an AlarmWidget.",
1329 "example": "declare const dashboard: cloudwatch.Dashboard;\ndeclare const errorAlarm: cloudwatch.Alarm;\n\ndashboard.addWidgets(new cloudwatch.AlarmWidget({\n title: \"Errors\",\n alarm: errorAlarm,\n}));",
1330 "custom": {
1331 "exampleMetadata": "infused"
1332 }
1333 },
1334 "fqn": "@aws-cdk/aws-cloudwatch.AlarmWidgetProps",
1335 "interfaces": [
1336 "@aws-cdk/aws-cloudwatch.MetricWidgetProps"
1337 ],
1338 "kind": "interface",
1339 "locationInModule": {
1340 "filename": "lib/graph.ts",
1341 "line": 77
1342 },
1343 "name": "AlarmWidgetProps",
1344 "properties": [
1345 {
1346 "abstract": true,
1347 "docs": {
1348 "stability": "stable",
1349 "summary": "The alarm to show."
1350 },
1351 "immutable": true,
1352 "locationInModule": {
1353 "filename": "lib/graph.ts",
1354 "line": 81
1355 },
1356 "name": "alarm",
1357 "type": {
1358 "fqn": "@aws-cdk/aws-cloudwatch.IAlarm"
1359 }
1360 },
1361 {
1362 "abstract": true,
1363 "docs": {
1364 "default": "- No minimum or maximum values for the left Y-axis",
1365 "stability": "stable",
1366 "summary": "Left Y axis."
1367 },
1368 "immutable": true,
1369 "locationInModule": {
1370 "filename": "lib/graph.ts",
1371 "line": 88
1372 },
1373 "name": "leftYAxis",
1374 "optional": true,
1375 "type": {
1376 "fqn": "@aws-cdk/aws-cloudwatch.YAxisProps"
1377 }
1378 }
1379 ],
1380 "symbolId": "lib/graph:AlarmWidgetProps"
1381 },
1382 "@aws-cdk/aws-cloudwatch.CfnAlarm": {
1383 "assembly": "@aws-cdk/aws-cloudwatch",
1384 "base": "@aws-cdk/core.CfnResource",
1385 "docs": {
1386 "custom": {
1387 "cloudformationResource": "AWS::CloudWatch::Alarm",
1388 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudwatch-alarm.html",
1389 "exampleMetadata": "fixture=_generated"
1390 },
1391 "remarks": "The `AWS::CloudWatch::Alarm` type specifies an alarm and associates it with the specified metric or metric math expression.\n\nWhen this operation creates an alarm, the alarm state is immediately set to `INSUFFICIENT_DATA` . The alarm is then evaluated and its state is set appropriately. Any actions associated with the new state are then executed.\n\nWhen you update an existing alarm, its state is left unchanged, but the update completely overwrites the previous configuration of the alarm.",
1392 "stability": "external",
1393 "summary": "A CloudFormation `AWS::CloudWatch::Alarm`.",
1394 "example": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as cloudwatch from '@aws-cdk/aws-cloudwatch';\nconst cfnAlarm = new cloudwatch.CfnAlarm(this, 'MyCfnAlarm', {\n comparisonOperator: 'comparisonOperator',\n evaluationPeriods: 123,\n\n // the properties below are optional\n actionsEnabled: false,\n alarmActions: ['alarmActions'],\n alarmDescription: 'alarmDescription',\n alarmName: 'alarmName',\n datapointsToAlarm: 123,\n dimensions: [{\n name: 'name',\n value: 'value',\n }],\n evaluateLowSampleCountPercentile: 'evaluateLowSampleCountPercentile',\n extendedStatistic: 'extendedStatistic',\n insufficientDataActions: ['insufficientDataActions'],\n metricName: 'metricName',\n metrics: [{\n id: 'id',\n\n // the properties below are optional\n accountId: 'accountId',\n expression: 'expression',\n label: 'label',\n metricStat: {\n metric: {\n dimensions: [{\n name: 'name',\n value: 'value',\n }],\n metricName: 'metricName',\n namespace: 'namespace',\n },\n period: 123,\n stat: 'stat',\n\n // the properties below are optional\n unit: 'unit',\n },\n period: 123,\n returnData: false,\n }],\n namespace: 'namespace',\n okActions: ['okActions'],\n period: 123,\n statistic: 'statistic',\n threshold: 123,\n thresholdMetricId: 'thresholdMetricId',\n treatMissingData: 'treatMissingData',\n unit: 'unit',\n});"
1395 },
1396 "fqn": "@aws-cdk/aws-cloudwatch.CfnAlarm",
1397 "initializer": {
1398 "docs": {
1399 "stability": "external",
1400 "summary": "Create a new `AWS::CloudWatch::Alarm`."
1401 },
1402 "locationInModule": {
1403 "filename": "lib/cloudwatch.generated.ts",
1404 "line": 531
1405 },
1406 "parameters": [
1407 {
1408 "docs": {
1409 "summary": "- scope in which this resource is defined."
1410 },
1411 "name": "scope",
1412 "type": {
1413 "fqn": "@aws-cdk/core.Construct"
1414 }
1415 },
1416 {
1417 "docs": {
1418 "summary": "- scoped id of the resource."
1419 },
1420 "name": "id",
1421 "type": {
1422 "primitive": "string"
1423 }
1424 },
1425 {
1426 "docs": {
1427 "summary": "- resource properties."
1428 },
1429 "name": "props",
1430 "type": {
1431 "fqn": "@aws-cdk/aws-cloudwatch.CfnAlarmProps"
1432 }
1433 }
1434 ]
1435 },
1436 "interfaces": [
1437 "@aws-cdk/core.IInspectable"
1438 ],
1439 "kind": "class",
1440 "locationInModule": {
1441 "filename": "lib/cloudwatch.generated.ts",
1442 "line": 318
1443 },
1444 "methods": [
1445 {
1446 "docs": {
1447 "stability": "external",
1448 "summary": "Examines the CloudFormation resource and discloses attributes."
1449 },
1450 "locationInModule": {
1451 "filename": "lib/cloudwatch.generated.ts",
1452 "line": 566
1453 },
1454 "name": "inspect",
1455 "overrides": "@aws-cdk/core.IInspectable",
1456 "parameters": [
1457 {
1458 "docs": {
1459 "summary": "- tree inspector to collect and process attributes."
1460 },
1461 "name": "inspector",
1462 "type": {
1463 "fqn": "@aws-cdk/core.TreeInspector"
1464 }
1465 }
1466 ]
1467 },
1468 {
1469 "docs": {
1470 "stability": "external"
1471 },
1472 "locationInModule": {
1473 "filename": "lib/cloudwatch.generated.ts",
1474 "line": 597
1475 },
1476 "name": "renderProperties",
1477 "overrides": "@aws-cdk/core.CfnResource",
1478 "parameters": [
1479 {
1480 "name": "props",
1481 "type": {
1482 "collection": {
1483 "elementtype": {
1484 "primitive": "any"
1485 },
1486 "kind": "map"
1487 }
1488 }
1489 }
1490 ],
1491 "protected": true,
1492 "returns": {
1493 "type": {
1494 "collection": {
1495 "elementtype": {
1496 "primitive": "any"
1497 },
1498 "kind": "map"
1499 }
1500 }
1501 }
1502 }
1503 ],
1504 "name": "CfnAlarm",
1505 "properties": [
1506 {
1507 "const": true,
1508 "docs": {
1509 "stability": "external",
1510 "summary": "The CloudFormation resource type name for this resource class."
1511 },
1512 "immutable": true,
1513 "locationInModule": {
1514 "filename": "lib/cloudwatch.generated.ts",
1515 "line": 322
1516 },
1517 "name": "CFN_RESOURCE_TYPE_NAME",
1518 "static": true,
1519 "type": {
1520 "primitive": "string"
1521 }
1522 },
1523 {
1524 "docs": {
1525 "custom": {
1526 "cloudformationAttribute": "Arn"
1527 },
1528 "stability": "external",
1529 "summary": "The ARN of the CloudWatch alarm, such as `arn:aws:cloudwatch:us-west-2:123456789012:alarm:myCloudWatchAlarm-CPUAlarm-UXMMZK36R55Z` ."
1530 },
1531 "immutable": true,
1532 "locationInModule": {
1533 "filename": "lib/cloudwatch.generated.ts",
1534 "line": 347
1535 },
1536 "name": "attrArn",
1537 "type": {
1538 "primitive": "string"
1539 }
1540 },
1541 {
1542 "docs": {
1543 "stability": "external"
1544 },
1545 "immutable": true,
1546 "locationInModule": {
1547 "filename": "lib/cloudwatch.generated.ts",
1548 "line": 571
1549 },
1550 "name": "cfnProperties",
1551 "overrides": "@aws-cdk/core.CfnResource",
1552 "protected": true,
1553 "type": {
1554 "collection": {
1555 "elementtype": {
1556 "primitive": "any"
1557 },
1558 "kind": "map"
1559 }
1560 }
1561 },
1562 {
1563 "docs": {
1564 "custom": {
1565 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudwatch-alarm.html#cfn-cloudwatch-alarms-comparisonoperator"
1566 },
1567 "remarks": "The specified statistic value is used as the first operand.\n\nYou can specify the following values: `GreaterThanThreshold` , `GreaterThanOrEqualToThreshold` , `LessThanThreshold` , or `LessThanOrEqualToThreshold` .",
1568 "stability": "external",
1569 "summary": "The arithmetic operation to use when comparing the specified statistic and threshold."
1570 },
1571 "locationInModule": {
1572 "filename": "lib/cloudwatch.generated.ts",
1573 "line": 356
1574 },
1575 "name": "comparisonOperator",
1576 "type": {
1577 "primitive": "string"
1578 }
1579 },
1580 {
1581 "docs": {
1582 "custom": {
1583 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudwatch-alarm.html#cfn-cloudwatch-alarms-evaluationperiods"
1584 },
1585 "remarks": "If you are setting an alarm that requires that a number of consecutive data points be breaching to trigger the alarm, this value specifies that number. If you are setting an \"M out of N\" alarm, this value is the N, and `DatapointsToAlarm` is the M.\n\nFor more information, see [Evaluating an Alarm](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/AlarmThatSendsEmail.html#alarm-evaluation) in the *Amazon CloudWatch User Guide* .",
1586 "stability": "external",
1587 "summary": "The number of periods over which data is compared to the specified threshold."
1588 },
1589 "locationInModule": {
1590 "filename": "lib/cloudwatch.generated.ts",
1591 "line": 365
1592 },
1593 "name": "evaluationPeriods",
1594 "type": {
1595 "primitive": "number"
1596 }
1597 },
1598 {
1599 "docs": {
1600 "custom": {
1601 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudwatch-alarm.html#cfn-cloudwatch-alarms-actionsenabled"
1602 },
1603 "remarks": "The default is TRUE.",
1604 "stability": "external",
1605 "summary": "Indicates whether actions should be executed during any changes to the alarm state."
1606 },
1607 "locationInModule": {
1608 "filename": "lib/cloudwatch.generated.ts",
1609 "line": 372
1610 },
1611 "name": "actionsEnabled",
1612 "optional": true,
1613 "type": {
1614 "union": {
1615 "types": [
1616 {
1617 "primitive": "boolean"
1618 },
1619 {
1620 "fqn": "@aws-cdk/core.IResolvable"
1621 }
1622 ]
1623 }
1624 }
1625 },
1626 {
1627 "docs": {
1628 "custom": {
1629 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudwatch-alarm.html#cfn-cloudwatch-alarms-alarmactions"
1630 },
1631 "remarks": "Specify each action as an Amazon Resource Name (ARN). For more information about creating alarms and the actions that you can specify, see [PutMetricAlarm](https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_PutMetricAlarm.html) in the *Amazon CloudWatch API Reference* .",
1632 "stability": "external",
1633 "summary": "The list of actions to execute when this alarm transitions into an ALARM state from any other state."
1634 },
1635 "locationInModule": {
1636 "filename": "lib/cloudwatch.generated.ts",
1637 "line": 379
1638 },
1639 "name": "alarmActions",
1640 "optional": true,
1641 "type": {
1642 "collection": {
1643 "elementtype": {
1644 "primitive": "string"
1645 },
1646 "kind": "array"
1647 }
1648 }
1649 },
1650 {
1651 "docs": {
1652 "custom": {
1653 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudwatch-alarm.html#cfn-cloudwatch-alarms-alarmdescription"
1654 },
1655 "stability": "external",
1656 "summary": "The description of the alarm."
1657 },
1658 "locationInModule": {
1659 "filename": "lib/cloudwatch.generated.ts",
1660 "line": 386
1661 },
1662 "name": "alarmDescription",
1663 "optional": true,
1664 "type": {
1665 "primitive": "string"
1666 }
1667 },
1668 {
1669 "docs": {
1670 "custom": {
1671 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudwatch-alarm.html#cfn-cloudwatch-alarms-alarmname"
1672 },
1673 "remarks": "If you don't specify a name, AWS CloudFormation generates a unique physical ID and uses that ID for the alarm name.\n\n> If you specify a name, you cannot perform updates that require replacement of this resource. You can perform updates that require no or some interruption. If you must replace the resource, specify a new name.",
1674 "stability": "external",
1675 "summary": "The name of the alarm."
1676 },
1677 "locationInModule": {
1678 "filename": "lib/cloudwatch.generated.ts",
1679 "line": 395
1680 },
1681 "name": "alarmName",
1682 "optional": true,
1683 "type": {
1684 "primitive": "string"
1685 }
1686 },
1687 {
1688 "docs": {
1689 "custom": {
1690 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudwatch-alarm.html#cfn-cloudwatch-alarm-datapointstoalarm"
1691 },
1692 "remarks": "This is used only if you are setting an \"M out of N\" alarm. In that case, this value is the M, and the value that you set for `EvaluationPeriods` is the N value. For more information, see [Evaluating an Alarm](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/AlarmThatSendsEmail.html#alarm-evaluation) in the *Amazon CloudWatch User Guide* .\n\nIf you omit this parameter, CloudWatch uses the same value here that you set for `EvaluationPeriods` , and the alarm goes to alarm state if that many consecutive periods are breaching.",
1693 "stability": "external",
1694 "summary": "The number of datapoints that must be breaching to trigger the alarm."
1695 },
1696 "locationInModule": {
1697 "filename": "lib/cloudwatch.generated.ts",
1698 "line": 404
1699 },
1700 "name": "datapointsToAlarm",
1701 "optional": true,
1702 "type": {
1703 "primitive": "number"
1704 }
1705 },
1706 {
1707 "docs": {
1708 "custom": {
1709 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudwatch-alarm.html#cfn-cloudwatch-alarms-dimension"
1710 },
1711 "remarks": "For an alarm based on a math expression, you can't specify `Dimensions` . Instead, you use `Metrics` .",
1712 "stability": "external",
1713 "summary": "The dimensions for the metric associated with the alarm."
1714 },
1715 "locationInModule": {
1716 "filename": "lib/cloudwatch.generated.ts",
1717 "line": 411
1718 },
1719 "name": "dimensions",
1720 "optional": true,
1721 "type": {
1722 "union": {
1723 "types": [
1724 {
1725 "fqn": "@aws-cdk/core.IResolvable"
1726 },
1727 {
1728 "collection": {
1729 "elementtype": {
1730 "union": {
1731 "types": [
1732 {
1733 "fqn": "@aws-cdk/core.IResolvable"
1734 },
1735 {
1736 "fqn": "@aws-cdk/aws-cloudwatch.CfnAlarm.DimensionProperty"
1737 }
1738 ]
1739 }
1740 },
1741 "kind": "array"
1742 }
1743 }
1744 ]
1745 }
1746 }
1747 },
1748 {
1749 "docs": {
1750 "custom": {
1751 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudwatch-alarm.html#cfn-cloudwatch-alarms-evaluatelowsamplecountpercentile"
1752 },
1753 "remarks": "If `ignore` , the alarm state does not change during periods with too few data points to be statistically significant. If `evaluate` or this parameter is not used, the alarm is always evaluated and possibly changes state no matter how many data points are available.",
1754 "stability": "external",
1755 "summary": "Used only for alarms based on percentiles."
1756 },
1757 "locationInModule": {
1758 "filename": "lib/cloudwatch.generated.ts",
1759 "line": 418
1760 },
1761 "name": "evaluateLowSampleCountPercentile",
1762 "optional": true,
1763 "type": {
1764 "primitive": "string"
1765 }
1766 },
1767 {
1768 "docs": {
1769 "custom": {
1770 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudwatch-alarm.html#cfn-cloudwatch-alarms-extendedstatistic"
1771 },
1772 "remarks": "For an alarm based on a metric, you must specify either `Statistic` or `ExtendedStatistic` but not both.\n\nFor an alarm based on a math expression, you can't specify `ExtendedStatistic` . Instead, you use `Metrics` .",
1773 "stability": "external",
1774 "summary": "The percentile statistic for the metric associated with the alarm. Specify a value between p0.0 and p100."
1775 },
1776 "locationInModule": {
1777 "filename": "lib/cloudwatch.generated.ts",
1778 "line": 429
1779 },
1780 "name": "extendedStatistic",
1781 "optional": true,
1782 "type": {
1783 "primitive": "string"
1784 }
1785 },
1786 {
1787 "docs": {
1788 "custom": {
1789 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudwatch-alarm.html#cfn-cloudwatch-alarms-insufficientdataactions"
1790 },
1791 "remarks": "Each action is specified as an Amazon Resource Name (ARN).",
1792 "stability": "external",
1793 "summary": "The actions to execute when this alarm transitions to the `INSUFFICIENT_DATA` state from any other state."
1794 },
1795 "locationInModule": {
1796 "filename": "lib/cloudwatch.generated.ts",
1797 "line": 436
1798 },
1799 "name": "insufficientDataActions",
1800 "optional": true,
1801 "type": {
1802 "collection": {
1803 "elementtype": {
1804 "primitive": "string"
1805 },
1806 "kind": "array"
1807 }
1808 }
1809 },
1810 {
1811 "docs": {
1812 "custom": {
1813 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudwatch-alarm.html#cfn-cloudwatch-alarms-metricname"
1814 },
1815 "remarks": "This is required for an alarm based on a metric. For an alarm based on a math expression, you use `Metrics` instead and you can't specify `MetricName` .",
1816 "stability": "external",
1817 "summary": "The name of the metric associated with the alarm."
1818 },
1819 "locationInModule": {
1820 "filename": "lib/cloudwatch.generated.ts",
1821 "line": 443
1822 },
1823 "name": "metricName",
1824 "optional": true,
1825 "type": {
1826 "primitive": "string"
1827 }
1828 },
1829 {
1830 "docs": {
1831 "custom": {
1832 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudwatch-alarm.html#cfn-cloudwatch-alarm-metrics"
1833 },
1834 "remarks": "Each item in the array either retrieves a metric or performs a math expression.\n\nIf you specify the `Metrics` parameter, you cannot specify `MetricName` , `Dimensions` , `Period` , `Namespace` , `Statistic` , `ExtendedStatistic` , or `Unit` .",
1835 "stability": "external",
1836 "summary": "An array that enables you to create an alarm based on the result of a metric math expression."
1837 },
1838 "locationInModule": {
1839 "filename": "lib/cloudwatch.generated.ts",
1840 "line": 452
1841 },
1842 "name": "metrics",
1843 "optional": true,
1844 "type": {
1845 "union": {
1846 "types": [
1847 {
1848 "fqn": "@aws-cdk/core.IResolvable"
1849 },
1850 {
1851 "collection": {
1852 "elementtype": {
1853 "union": {
1854 "types": [
1855 {
1856 "fqn": "@aws-cdk/core.IResolvable"
1857 },
1858 {
1859 "fqn": "@aws-cdk/aws-cloudwatch.CfnAlarm.MetricDataQueryProperty"
1860 }
1861 ]
1862 }
1863 },
1864 "kind": "array"
1865 }
1866 }
1867 ]
1868 }
1869 }
1870 },
1871 {
1872 "docs": {
1873 "custom": {
1874 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudwatch-alarm.html#cfn-cloudwatch-alarms-namespace"
1875 },
1876 "remarks": "This is required for an alarm based on a metric. For an alarm based on a math expression, you can't specify `Namespace` and you use `Metrics` instead.\n\nFor a list of namespaces for metrics from AWS services, see [AWS Services That Publish CloudWatch Metrics.](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/aws-services-cloudwatch-metrics.html)",
1877 "stability": "external",
1878 "summary": "The namespace of the metric associated with the alarm."
1879 },
1880 "locationInModule": {
1881 "filename": "lib/cloudwatch.generated.ts",
1882 "line": 461
1883 },
1884 "name": "namespace",
1885 "optional": true,
1886 "type": {
1887 "primitive": "string"
1888 }
1889 },
1890 {
1891 "docs": {
1892 "custom": {
1893 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudwatch-alarm.html#cfn-cloudwatch-alarms-okactions"
1894 },
1895 "remarks": "Each action is specified as an Amazon Resource Name (ARN).",
1896 "stability": "external",
1897 "summary": "The actions to execute when this alarm transitions to the `OK` state from any other state."
1898 },
1899 "locationInModule": {
1900 "filename": "lib/cloudwatch.generated.ts",
1901 "line": 468
1902 },
1903 "name": "okActions",
1904 "optional": true,
1905 "type": {
1906 "collection": {
1907 "elementtype": {
1908 "primitive": "string"
1909 },
1910 "kind": "array"
1911 }
1912 }
1913 },
1914 {
1915 "docs": {
1916 "custom": {
1917 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudwatch-alarm.html#cfn-cloudwatch-alarms-period"
1918 },
1919 "remarks": "This is required for an alarm based on a metric. Valid values are 10, 30, 60, and any multiple of 60.\n\nFor an alarm based on a math expression, you can't specify `Period` , and instead you use the `Metrics` parameter.\n\n*Minimum:* 10",
1920 "stability": "external",
1921 "summary": "The period, in seconds, over which the statistic is applied."
1922 },
1923 "locationInModule": {
1924 "filename": "lib/cloudwatch.generated.ts",
1925 "line": 479
1926 },
1927 "name": "period",
1928 "optional": true,
1929 "type": {
1930 "primitive": "number"
1931 }
1932 },
1933 {
1934 "docs": {
1935 "custom": {
1936 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudwatch-alarm.html#cfn-cloudwatch-alarms-statistic"
1937 },
1938 "remarks": "For an alarm based on a metric, you must specify either `Statistic` or `ExtendedStatistic` but not both.\n\nFor an alarm based on a math expression, you can't specify `Statistic` . Instead, you use `Metrics` .",
1939 "stability": "external",
1940 "summary": "The statistic for the metric associated with the alarm, other than percentile. For percentile statistics, use `ExtendedStatistic` ."
1941 },
1942 "locationInModule": {
1943 "filename": "lib/cloudwatch.generated.ts",
1944 "line": 490
1945 },
1946 "name": "statistic",
1947 "optional": true,
1948 "type": {
1949 "primitive": "string"
1950 }
1951 },
1952 {
1953 "docs": {
1954 "custom": {
1955 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudwatch-alarm.html#cfn-cloudwatch-alarms-threshold"
1956 },
1957 "stability": "external",
1958 "summary": "The value to compare with the specified statistic."
1959 },
1960 "locationInModule": {
1961 "filename": "lib/cloudwatch.generated.ts",
1962 "line": 497
1963 },
1964 "name": "threshold",
1965 "optional": true,
1966 "type": {
1967 "primitive": "number"
1968 }
1969 },
1970 {
1971 "docs": {
1972 "custom": {
1973 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudwatch-alarm.html#cfn-cloudwatch-alarms-dynamic-threshold"
1974 },
1975 "stability": "external",
1976 "summary": "In an alarm based on an anomaly detection model, this is the ID of the `ANOMALY_DETECTION_BAND` function used as the threshold for the alarm."
1977 },
1978 "locationInModule": {
1979 "filename": "lib/cloudwatch.generated.ts",
1980 "line": 504
1981 },
1982 "name": "thresholdMetricId",
1983 "optional": true,
1984 "type": {
1985 "primitive": "string"
1986 }
1987 },
1988 {
1989 "docs": {
1990 "custom": {
1991 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudwatch-alarm.html#cfn-cloudwatch-alarms-treatmissingdata"
1992 },
1993 "remarks": "Valid values are `breaching` , `notBreaching` , `ignore` , and `missing` . For more information, see [Configuring How CloudWatch Alarms Treat Missing Data](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/AlarmThatSendsEmail.html#alarms-and-missing-data) in the *Amazon CloudWatch User Guide* .\n\nIf you omit this parameter, the default behavior of `missing` is used.",
1994 "stability": "external",
1995 "summary": "Sets how this alarm is to handle missing data points."
1996 },
1997 "locationInModule": {
1998 "filename": "lib/cloudwatch.generated.ts",
1999 "line": 513
2000 },
2001 "name": "treatMissingData",
2002 "optional": true,
2003 "type": {
2004 "primitive": "string"
2005 }
2006 },
2007 {
2008 "docs": {
2009 "custom": {
2010 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudwatch-alarm.html#cfn-cloudwatch-alarms-unit"
2011 },
2012 "remarks": "Specify this only if you are creating an alarm based on a single metric. Do not specify this if you are specifying a `Metrics` array.\n\nYou can specify the following values: Seconds, Microseconds, Milliseconds, Bytes, Kilobytes, Megabytes, Gigabytes, Terabytes, Bits, Kilobits, Megabits, Gigabits, Terabits, Percent, Count, Bytes/Second, Kilobytes/Second, Megabytes/Second, Gigabytes/Second, Terabytes/Second, Bits/Second, Kilobits/Second, Megabits/Second, Gigabits/Second, Terabits/Second, Count/Second, or None.",
2013 "stability": "external",
2014 "summary": "The unit of the metric associated with the alarm."
2015 },
2016 "locationInModule": {
2017 "filename": "lib/cloudwatch.generated.ts",
2018 "line": 522
2019 },
2020 "name": "unit",
2021 "optional": true,
2022 "type": {
2023 "primitive": "string"
2024 }
2025 }
2026 ],
2027 "symbolId": "lib/cloudwatch.generated:CfnAlarm"
2028 },
2029 "@aws-cdk/aws-cloudwatch.CfnAlarm.DimensionProperty": {
2030 "assembly": "@aws-cdk/aws-cloudwatch",
2031 "datatype": true,
2032 "docs": {
2033 "custom": {
2034 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cw-dimension.html",
2035 "exampleMetadata": "fixture=_generated"
2036 },
2037 "remarks": "Dimensions are name/value pairs that can be associated with a CloudWatch metric. You can specify a maximum of 10 dimensions for a given metric.",
2038 "stability": "external",
2039 "summary": "Dimension is an embedded property of the `AWS::CloudWatch::Alarm` type.",
2040 "example": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as cloudwatch from '@aws-cdk/aws-cloudwatch';\nconst dimensionProperty: cloudwatch.CfnAlarm.DimensionProperty = {\n name: 'name',\n value: 'value',\n};"
2041 },
2042 "fqn": "@aws-cdk/aws-cloudwatch.CfnAlarm.DimensionProperty",
2043 "kind": "interface",
2044 "locationInModule": {
2045 "filename": "lib/cloudwatch.generated.ts",
2046 "line": 611
2047 },
2048 "name": "DimensionProperty",
2049 "namespace": "CfnAlarm",
2050 "properties": [
2051 {
2052 "abstract": true,
2053 "docs": {
2054 "custom": {
2055 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cw-dimension.html#cfn-cloudwatch-alarm-dimension-name"
2056 },
2057 "remarks": "This dimension name must have been included when the metric was published.",
2058 "stability": "external",
2059 "summary": "The name of the dimension, from 1–255 characters in length."
2060 },
2061 "immutable": true,
2062 "locationInModule": {
2063 "filename": "lib/cloudwatch.generated.ts",
2064 "line": 617
2065 },
2066 "name": "name",
2067 "type": {
2068 "primitive": "string"
2069 }
2070 },
2071 {
2072 "abstract": true,
2073 "docs": {
2074 "custom": {
2075 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cw-dimension.html#cfn-cloudwatch-alarm-dimension-value"
2076 },
2077 "stability": "external",
2078 "summary": "The value for the dimension, from 1–255 characters in length."
2079 },
2080 "immutable": true,
2081 "locationInModule": {
2082 "filename": "lib/cloudwatch.generated.ts",
2083 "line": 623
2084 },
2085 "name": "value",
2086 "type": {
2087 "primitive": "string"
2088 }
2089 }
2090 ],
2091 "symbolId": "lib/cloudwatch.generated:CfnAlarm.DimensionProperty"
2092 },
2093 "@aws-cdk/aws-cloudwatch.CfnAlarm.MetricDataQueryProperty": {
2094 "assembly": "@aws-cdk/aws-cloudwatch",
2095 "datatype": true,
2096 "docs": {
2097 "custom": {
2098 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudwatch-alarm-metricdataquery.html",
2099 "exampleMetadata": "fixture=_generated"
2100 },
2101 "remarks": "Any expression used must return a single time series. For more information, see [Metric Math Syntax and Functions](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/using-metric-math.html#metric-math-syntax) in the *Amazon CloudWatch User Guide* .",
2102 "stability": "external",
2103 "summary": "The `MetricDataQuery` property type specifies the metric data to return, and whether this call is just retrieving a batch set of data for one metric, or is performing a math expression on metric data.",
2104 "example": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as cloudwatch from '@aws-cdk/aws-cloudwatch';\nconst metricDataQueryProperty: cloudwatch.CfnAlarm.MetricDataQueryProperty = {\n id: 'id',\n\n // the properties below are optional\n accountId: 'accountId',\n expression: 'expression',\n label: 'label',\n metricStat: {\n metric: {\n dimensions: [{\n name: 'name',\n value: 'value',\n }],\n metricName: 'metricName',\n namespace: 'namespace',\n },\n period: 123,\n stat: 'stat',\n\n // the properties below are optional\n unit: 'unit',\n },\n period: 123,\n returnData: false,\n};"
2105 },
2106 "fqn": "@aws-cdk/aws-cloudwatch.CfnAlarm.MetricDataQueryProperty",
2107 "kind": "interface",
2108 "locationInModule": {
2109 "filename": "lib/cloudwatch.generated.ts",
2110 "line": 776
2111 },
2112 "name": "MetricDataQueryProperty",
2113 "namespace": "CfnAlarm",
2114 "properties": [
2115 {
2116 "abstract": true,
2117 "docs": {
2118 "custom": {
2119 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudwatch-alarm-metricdataquery.html#cfn-cloudwatch-alarm-metricdataquery-id"
2120 },
2121 "remarks": "This name must be unique within a single call to `GetMetricData` . If you are performing math expressions on this set of data, this name represents that data and can serve as a variable in the mathematical expression. The valid characters are letters, numbers, and underscore. The first character must be a lowercase letter.",
2122 "stability": "external",
2123 "summary": "A short name used to tie this object to the results in the response."
2124 },
2125 "immutable": true,
2126 "locationInModule": {
2127 "filename": "lib/cloudwatch.generated.ts",
2128 "line": 796
2129 },
2130 "name": "id",
2131 "type": {
2132 "primitive": "string"
2133 }
2134 },
2135 {
2136 "abstract": true,
2137 "docs": {
2138 "custom": {
2139 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudwatch-alarm-metricdataquery.html#cfn-cloudwatch-alarm-metricdataquery-accountid"
2140 },
2141 "stability": "external",
2142 "summary": "The ID of the account where the metrics are located, if this is a cross-account alarm."
2143 },
2144 "immutable": true,
2145 "locationInModule": {
2146 "filename": "lib/cloudwatch.generated.ts",
2147 "line": 782
2148 },
2149 "name": "accountId",
2150 "optional": true,
2151 "type": {
2152 "primitive": "string"
2153 }
2154 },
2155 {
2156 "abstract": true,
2157 "docs": {
2158 "custom": {
2159 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudwatch-alarm-metricdataquery.html#cfn-cloudwatch-alarm-metricdataquery-expression"
2160 },
2161 "remarks": "This expression can use the `Id` of the other metrics to refer to those metrics, and can also use the `Id` of other expressions to use the result of those expressions. For more information about metric math expressions, see [Metric Math Syntax and Functions](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/using-metric-math.html#metric-math-syntax) in the *Amazon CloudWatch User Guide* .\n\nWithin each MetricDataQuery object, you must specify either `Expression` or `MetricStat` but not both.",
2162 "stability": "external",
2163 "summary": "The math expression to be performed on the returned data, if this object is performing a math expression."
2164 },
2165 "immutable": true,
2166 "locationInModule": {
2167 "filename": "lib/cloudwatch.generated.ts",
2168 "line": 790
2169 },
2170 "name": "expression",
2171 "optional": true,
2172 "type": {
2173 "primitive": "string"
2174 }
2175 },
2176 {
2177 "abstract": true,
2178 "docs": {
2179 "custom": {
2180 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudwatch-alarm-metricdataquery.html#cfn-cloudwatch-alarm-metricdataquery-label"
2181 },
2182 "remarks": "This is especially useful if this is an expression, so that you know what the value represents. If the metric or expression is shown in a CloudWatch dashboard widget, the label is shown. If `Label` is omitted, CloudWatch generates a default.",
2183 "stability": "external",
2184 "summary": "A human-readable label for this metric or expression."
2185 },
2186 "immutable": true,
2187 "locationInModule": {
2188 "filename": "lib/cloudwatch.generated.ts",
2189 "line": 802
2190 },
2191 "name": "label",
2192 "optional": true,
2193 "type": {
2194 "primitive": "string"
2195 }
2196 },
2197 {
2198 "abstract": true,
2199 "docs": {
2200 "custom": {
2201 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudwatch-alarm-metricdataquery.html#cfn-cloudwatch-alarm-metricdataquery-metricstat"
2202 },
2203 "remarks": "Use this parameter only if this object is retrieving a metric and not performing a math expression on returned data.\n\nWithin one MetricDataQuery object, you must specify either `Expression` or `MetricStat` but not both.",
2204 "stability": "external",
2205 "summary": "The metric to be returned, along with statistics, period, and units."
2206 },
2207 "immutable": true,
2208 "locationInModule": {
2209 "filename": "lib/cloudwatch.generated.ts",
2210 "line": 810
2211 },
2212 "name": "metricStat",
2213 "optional": true,
2214 "type": {
2215 "union": {
2216 "types": [
2217 {
2218 "fqn": "@aws-cdk/core.IResolvable"
2219 },
2220 {
2221 "fqn": "@aws-cdk/aws-cloudwatch.CfnAlarm.MetricStatProperty"
2222 }
2223 ]
2224 }
2225 }
2226 },
2227 {
2228 "abstract": true,
2229 "docs": {
2230 "remarks": "For metrics with regular resolution, a period can be as short as one minute (60 seconds) and must be a multiple of 60. For high-resolution metrics that are collected at intervals of less than one minute, the period can be 1, 5, 10, 30, 60, or any multiple of 60. High-resolution metrics are those metrics stored by a `PutMetricData` operation that includes a `StorageResolution of 1 second` .",
2231 "stability": "external",
2232 "summary": "The granularity, in seconds, of the returned data points."
2233 },
2234 "immutable": true,
2235 "locationInModule": {
2236 "filename": "lib/cloudwatch.generated.ts",
2237 "line": 814
2238 },
2239 "name": "period",
2240 "optional": true,
2241 "type": {
2242 "primitive": "number"
2243 }
2244 },
2245 {
2246 "abstract": true,
2247 "docs": {
2248 "custom": {
2249 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudwatch-alarm-metricdataquery.html#cfn-cloudwatch-alarm-metricdataquery-returndata"
2250 },
2251 "remarks": "When you create an alarm based on a metric math expression, specify `True` for this value for only the one math expression that the alarm is based on. You must specify `False` for `ReturnData` for all the other metrics and expressions used in the alarm.\n\nThis field is required.",
2252 "stability": "external",
2253 "summary": "This option indicates whether to return the timestamps and raw data values of this metric."
2254 },
2255 "immutable": true,
2256 "locationInModule": {
2257 "filename": "lib/cloudwatch.generated.ts",
2258 "line": 824
2259 },
2260 "name": "returnData",
2261 "optional": true,
2262 "type": {
2263 "union": {
2264 "types": [
2265 {
2266 "primitive": "boolean"
2267 },
2268 {
2269 "fqn": "@aws-cdk/core.IResolvable"
2270 }
2271 ]
2272 }
2273 }
2274 }
2275 ],
2276 "symbolId": "lib/cloudwatch.generated:CfnAlarm.MetricDataQueryProperty"
2277 },
2278 "@aws-cdk/aws-cloudwatch.CfnAlarm.MetricProperty": {
2279 "assembly": "@aws-cdk/aws-cloudwatch",
2280 "datatype": true,
2281 "docs": {
2282 "custom": {
2283 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudwatch-alarm-metric.html",
2284 "exampleMetadata": "fixture=_generated"
2285 },
2286 "remarks": "`Metric` is a property of the [MetricStat](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudwatch-alarm-metricstat.html) property type.",
2287 "stability": "external",
2288 "summary": "The `Metric` property type represents a specific metric.",
2289 "example": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as cloudwatch from '@aws-cdk/aws-cloudwatch';\nconst metricProperty: cloudwatch.CfnAlarm.MetricProperty = {\n dimensions: [{\n name: 'name',\n value: 'value',\n }],\n metricName: 'metricName',\n namespace: 'namespace',\n};"
2290 },
2291 "fqn": "@aws-cdk/aws-cloudwatch.CfnAlarm.MetricProperty",
2292 "kind": "interface",
2293 "locationInModule": {
2294 "filename": "lib/cloudwatch.generated.ts",
2295 "line": 689
2296 },
2297 "name": "MetricProperty",
2298 "namespace": "CfnAlarm",
2299 "properties": [
2300 {
2301 "abstract": true,
2302 "docs": {
2303 "custom": {
2304 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudwatch-alarm-metric.html#cfn-cloudwatch-alarm-metric-dimensions"
2305 },
2306 "stability": "external",
2307 "summary": "The metric dimensions that you want to be used for the metric that the alarm will watch."
2308 },
2309 "immutable": true,
2310 "locationInModule": {
2311 "filename": "lib/cloudwatch.generated.ts",
2312 "line": 695
2313 },
2314 "name": "dimensions",
2315 "optional": true,
2316 "type": {
2317 "union": {
2318 "types": [
2319 {
2320 "fqn": "@aws-cdk/core.IResolvable"
2321 },
2322 {
2323 "collection": {
2324 "elementtype": {
2325 "union": {
2326 "types": [
2327 {
2328 "fqn": "@aws-cdk/core.IResolvable"
2329 },
2330 {
2331 "fqn": "@aws-cdk/aws-cloudwatch.CfnAlarm.DimensionProperty"
2332 }
2333 ]
2334 }
2335 },
2336 "kind": "array"
2337 }
2338 }
2339 ]
2340 }
2341 }
2342 },
2343 {
2344 "abstract": true,
2345 "docs": {
2346 "custom": {
2347 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudwatch-alarm-metric.html#cfn-cloudwatch-alarm-metric-metricname"
2348 },
2349 "remarks": "This is a required field.",
2350 "stability": "external",
2351 "summary": "The name of the metric that you want the alarm to watch."
2352 },
2353 "immutable": true,
2354 "locationInModule": {
2355 "filename": "lib/cloudwatch.generated.ts",
2356 "line": 701
2357 },
2358 "name": "metricName",
2359 "optional": true,
2360 "type": {
2361 "primitive": "string"
2362 }
2363 },
2364 {
2365 "abstract": true,
2366 "docs": {
2367 "custom": {
2368 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudwatch-alarm-metric.html#cfn-cloudwatch-alarm-metric-namespace"
2369 },
2370 "stability": "external",
2371 "summary": "The namespace of the metric that the alarm will watch."
2372 },
2373 "immutable": true,
2374 "locationInModule": {
2375 "filename": "lib/cloudwatch.generated.ts",
2376 "line": 707
2377 },
2378 "name": "namespace",
2379 "optional": true,
2380 "type": {
2381 "primitive": "string"
2382 }
2383 }
2384 ],
2385 "symbolId": "lib/cloudwatch.generated:CfnAlarm.MetricProperty"
2386 },
2387 "@aws-cdk/aws-cloudwatch.CfnAlarm.MetricStatProperty": {
2388 "assembly": "@aws-cdk/aws-cloudwatch",
2389 "datatype": true,
2390 "docs": {
2391 "custom": {
2392 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudwatch-alarm-metricstat.html",
2393 "exampleMetadata": "fixture=_generated"
2394 },
2395 "remarks": "`MetricStat` is a property of the [MetricDataQuery](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudwatch-alarm-metricdataquery.html) property type.",
2396 "stability": "external",
2397 "summary": "This structure defines the metric to be returned, along with the statistics, period, and units.",
2398 "example": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as cloudwatch from '@aws-cdk/aws-cloudwatch';\nconst metricStatProperty: cloudwatch.CfnAlarm.MetricStatProperty = {\n metric: {\n dimensions: [{\n name: 'name',\n value: 'value',\n }],\n metricName: 'metricName',\n namespace: 'namespace',\n },\n period: 123,\n stat: 'stat',\n\n // the properties below are optional\n unit: 'unit',\n};"
2399 },
2400 "fqn": "@aws-cdk/aws-cloudwatch.CfnAlarm.MetricStatProperty",
2401 "kind": "interface",
2402 "locationInModule": {
2403 "filename": "lib/cloudwatch.generated.ts",
2404 "line": 906
2405 },
2406 "name": "MetricStatProperty",
2407 "namespace": "CfnAlarm",
2408 "properties": [
2409 {
2410 "abstract": true,
2411 "docs": {
2412 "custom": {
2413 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudwatch-alarm-metricstat.html#cfn-cloudwatch-alarm-metricstat-metric"
2414 },
2415 "stability": "external",
2416 "summary": "The metric to return, including the metric name, namespace, and dimensions."
2417 },
2418 "immutable": true,
2419 "locationInModule": {
2420 "filename": "lib/cloudwatch.generated.ts",
2421 "line": 912
2422 },
2423 "name": "metric",
2424 "type": {
2425 "union": {
2426 "types": [
2427 {
2428 "fqn": "@aws-cdk/core.IResolvable"
2429 },
2430 {
2431 "fqn": "@aws-cdk/aws-cloudwatch.CfnAlarm.MetricProperty"
2432 }
2433 ]
2434 }
2435 }
2436 },
2437 {
2438 "abstract": true,
2439 "docs": {
2440 "custom": {
2441 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudwatch-alarm-metricstat.html#cfn-cloudwatch-alarm-metricstat-period"
2442 },
2443 "remarks": "For metrics with regular resolution, a period can be as short as one minute (60 seconds) and must be a multiple of 60. For high-resolution metrics that are collected at intervals of less than one minute, the period can be 1, 5, 10, 30, 60, or any multiple of 60. High-resolution metrics are those metrics stored by a `PutMetricData` call that includes a `StorageResolution` of 1 second.\n\nIf the `StartTime` parameter specifies a time stamp that is greater than 3 hours ago, you must specify the period as follows or no data points in that time range is returned:\n\n- Start time between 3 hours and 15 days ago - Use a multiple of 60 seconds (1 minute).\n- Start time between 15 and 63 days ago - Use a multiple of 300 seconds (5 minutes).\n- Start time greater than 63 days ago - Use a multiple of 3600 seconds (1 hour).",
2444 "stability": "external",
2445 "summary": "The granularity, in seconds, of the returned data points."
2446 },
2447 "immutable": true,
2448 "locationInModule": {
2449 "filename": "lib/cloudwatch.generated.ts",
2450 "line": 924
2451 },
2452 "name": "period",
2453 "type": {
2454 "primitive": "number"
2455 }
2456 },
2457 {
2458 "abstract": true,
2459 "docs": {
2460 "custom": {
2461 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudwatch-alarm-metricstat.html#cfn-cloudwatch-alarm-metricstat-stat"
2462 },
2463 "remarks": "It can include any CloudWatch statistic or extended statistic. For a list of valid values, see the table in [Statistics](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/cloudwatch_concepts.html#Statistic) in the *Amazon CloudWatch User Guide* .",
2464 "stability": "external",
2465 "summary": "The statistic to return."
2466 },
2467 "immutable": true,
2468 "locationInModule": {
2469 "filename": "lib/cloudwatch.generated.ts",
2470 "line": 930
2471 },
2472 "name": "stat",
2473 "type": {
2474 "primitive": "string"
2475 }
2476 },
2477 {
2478 "abstract": true,
2479 "docs": {
2480 "custom": {
2481 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudwatch-alarm-metricstat.html#cfn-cloudwatch-alarm-metricstat-unit"
2482 },
2483 "remarks": "Valid values are: Seconds, Microseconds, Milliseconds, Bytes, Kilobytes, Megabytes, Gigabytes, Terabytes, Bits, Kilobits, Megabits, Gigabits, Terabits, Percent, Count, Bytes/Second, Kilobytes/Second, Megabytes/Second, Gigabytes/Second, Terabytes/Second, Bits/Second, Kilobits/Second, Megabits/Second, Gigabits/Second, Terabits/Second, Count/Second, or None.",
2484 "stability": "external",
2485 "summary": "The unit to use for the returned data points."
2486 },
2487 "immutable": true,
2488 "locationInModule": {
2489 "filename": "lib/cloudwatch.generated.ts",
2490 "line": 938
2491 },
2492 "name": "unit",
2493 "optional": true,
2494 "type": {
2495 "primitive": "string"
2496 }
2497 }
2498 ],
2499 "symbolId": "lib/cloudwatch.generated:CfnAlarm.MetricStatProperty"
2500 },
2501 "@aws-cdk/aws-cloudwatch.CfnAlarmProps": {
2502 "assembly": "@aws-cdk/aws-cloudwatch",
2503 "datatype": true,
2504 "docs": {
2505 "custom": {
2506 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudwatch-alarm.html",
2507 "exampleMetadata": "fixture=_generated"
2508 },
2509 "stability": "external",
2510 "summary": "Properties for defining a `CfnAlarm`.",
2511 "example": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as cloudwatch from '@aws-cdk/aws-cloudwatch';\nconst cfnAlarmProps: cloudwatch.CfnAlarmProps = {\n comparisonOperator: 'comparisonOperator',\n evaluationPeriods: 123,\n\n // the properties below are optional\n actionsEnabled: false,\n alarmActions: ['alarmActions'],\n alarmDescription: 'alarmDescription',\n alarmName: 'alarmName',\n datapointsToAlarm: 123,\n dimensions: [{\n name: 'name',\n value: 'value',\n }],\n evaluateLowSampleCountPercentile: 'evaluateLowSampleCountPercentile',\n extendedStatistic: 'extendedStatistic',\n insufficientDataActions: ['insufficientDataActions'],\n metricName: 'metricName',\n metrics: [{\n id: 'id',\n\n // the properties below are optional\n accountId: 'accountId',\n expression: 'expression',\n label: 'label',\n metricStat: {\n metric: {\n dimensions: [{\n name: 'name',\n value: 'value',\n }],\n metricName: 'metricName',\n namespace: 'namespace',\n },\n period: 123,\n stat: 'stat',\n\n // the properties below are optional\n unit: 'unit',\n },\n period: 123,\n returnData: false,\n }],\n namespace: 'namespace',\n okActions: ['okActions'],\n period: 123,\n statistic: 'statistic',\n threshold: 123,\n thresholdMetricId: 'thresholdMetricId',\n treatMissingData: 'treatMissingData',\n unit: 'unit',\n};"
2512 },
2513 "fqn": "@aws-cdk/aws-cloudwatch.CfnAlarmProps",
2514 "kind": "interface",
2515 "locationInModule": {
2516 "filename": "lib/cloudwatch.generated.ts",
2517 "line": 19
2518 },
2519 "name": "CfnAlarmProps",
2520 "properties": [
2521 {
2522 "abstract": true,
2523 "docs": {
2524 "custom": {
2525 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudwatch-alarm.html#cfn-cloudwatch-alarms-comparisonoperator"
2526 },
2527 "remarks": "The specified statistic value is used as the first operand.\n\nYou can specify the following values: `GreaterThanThreshold` , `GreaterThanOrEqualToThreshold` , `LessThanThreshold` , or `LessThanOrEqualToThreshold` .",
2528 "stability": "external",
2529 "summary": "The arithmetic operation to use when comparing the specified statistic and threshold."
2530 },
2531 "immutable": true,
2532 "locationInModule": {
2533 "filename": "lib/cloudwatch.generated.ts",
2534 "line": 28
2535 },
2536 "name": "comparisonOperator",
2537 "type": {
2538 "primitive": "string"
2539 }
2540 },
2541 {
2542 "abstract": true,
2543 "docs": {
2544 "custom": {
2545 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudwatch-alarm.html#cfn-cloudwatch-alarms-evaluationperiods"
2546 },
2547 "remarks": "If you are setting an alarm that requires that a number of consecutive data points be breaching to trigger the alarm, this value specifies that number. If you are setting an \"M out of N\" alarm, this value is the N, and `DatapointsToAlarm` is the M.\n\nFor more information, see [Evaluating an Alarm](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/AlarmThatSendsEmail.html#alarm-evaluation) in the *Amazon CloudWatch User Guide* .",
2548 "stability": "external",
2549 "summary": "The number of periods over which data is compared to the specified threshold."
2550 },
2551 "immutable": true,
2552 "locationInModule": {
2553 "filename": "lib/cloudwatch.generated.ts",
2554 "line": 37
2555 },
2556 "name": "evaluationPeriods",
2557 "type": {
2558 "primitive": "number"
2559 }
2560 },
2561 {
2562 "abstract": true,
2563 "docs": {
2564 "custom": {
2565 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudwatch-alarm.html#cfn-cloudwatch-alarms-actionsenabled"
2566 },
2567 "remarks": "The default is TRUE.",
2568 "stability": "external",
2569 "summary": "Indicates whether actions should be executed during any changes to the alarm state."
2570 },
2571 "immutable": true,
2572 "locationInModule": {
2573 "filename": "lib/cloudwatch.generated.ts",
2574 "line": 44
2575 },
2576 "name": "actionsEnabled",
2577 "optional": true,
2578 "type": {
2579 "union": {
2580 "types": [
2581 {
2582 "primitive": "boolean"
2583 },
2584 {
2585 "fqn": "@aws-cdk/core.IResolvable"
2586 }
2587 ]
2588 }
2589 }
2590 },
2591 {
2592 "abstract": true,
2593 "docs": {
2594 "custom": {
2595 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudwatch-alarm.html#cfn-cloudwatch-alarms-alarmactions"
2596 },
2597 "remarks": "Specify each action as an Amazon Resource Name (ARN). For more information about creating alarms and the actions that you can specify, see [PutMetricAlarm](https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_PutMetricAlarm.html) in the *Amazon CloudWatch API Reference* .",
2598 "stability": "external",
2599 "summary": "The list of actions to execute when this alarm transitions into an ALARM state from any other state."
2600 },
2601 "immutable": true,
2602 "locationInModule": {
2603 "filename": "lib/cloudwatch.generated.ts",
2604 "line": 51
2605 },
2606 "name": "alarmActions",
2607 "optional": true,
2608 "type": {
2609 "collection": {
2610 "elementtype": {
2611 "primitive": "string"
2612 },
2613 "kind": "array"
2614 }
2615 }
2616 },
2617 {
2618 "abstract": true,
2619 "docs": {
2620 "custom": {
2621 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudwatch-alarm.html#cfn-cloudwatch-alarms-alarmdescription"
2622 },
2623 "stability": "external",
2624 "summary": "The description of the alarm."
2625 },
2626 "immutable": true,
2627 "locationInModule": {
2628 "filename": "lib/cloudwatch.generated.ts",
2629 "line": 58
2630 },
2631 "name": "alarmDescription",
2632 "optional": true,
2633 "type": {
2634 "primitive": "string"
2635 }
2636 },
2637 {
2638 "abstract": true,
2639 "docs": {
2640 "custom": {
2641 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudwatch-alarm.html#cfn-cloudwatch-alarms-alarmname"
2642 },
2643 "remarks": "If you don't specify a name, AWS CloudFormation generates a unique physical ID and uses that ID for the alarm name.\n\n> If you specify a name, you cannot perform updates that require replacement of this resource. You can perform updates that require no or some interruption. If you must replace the resource, specify a new name.",
2644 "stability": "external",
2645 "summary": "The name of the alarm."
2646 },
2647 "immutable": true,
2648 "locationInModule": {
2649 "filename": "lib/cloudwatch.generated.ts",
2650 "line": 67
2651 },
2652 "name": "alarmName",
2653 "optional": true,
2654 "type": {
2655 "primitive": "string"
2656 }
2657 },
2658 {
2659 "abstract": true,
2660 "docs": {
2661 "custom": {
2662 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudwatch-alarm.html#cfn-cloudwatch-alarm-datapointstoalarm"
2663 },
2664 "remarks": "This is used only if you are setting an \"M out of N\" alarm. In that case, this value is the M, and the value that you set for `EvaluationPeriods` is the N value. For more information, see [Evaluating an Alarm](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/AlarmThatSendsEmail.html#alarm-evaluation) in the *Amazon CloudWatch User Guide* .\n\nIf you omit this parameter, CloudWatch uses the same value here that you set for `EvaluationPeriods` , and the alarm goes to alarm state if that many consecutive periods are breaching.",
2665 "stability": "external",
2666 "summary": "The number of datapoints that must be breaching to trigger the alarm."
2667 },
2668 "immutable": true,
2669 "locationInModule": {
2670 "filename": "lib/cloudwatch.generated.ts",
2671 "line": 76
2672 },
2673 "name": "datapointsToAlarm",
2674 "optional": true,
2675 "type": {
2676 "primitive": "number"
2677 }
2678 },
2679 {
2680 "abstract": true,
2681 "docs": {
2682 "custom": {
2683 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudwatch-alarm.html#cfn-cloudwatch-alarms-dimension"
2684 },
2685 "remarks": "For an alarm based on a math expression, you can't specify `Dimensions` . Instead, you use `Metrics` .",
2686 "stability": "external",
2687 "summary": "The dimensions for the metric associated with the alarm."
2688 },
2689 "immutable": true,
2690 "locationInModule": {
2691 "filename": "lib/cloudwatch.generated.ts",
2692 "line": 83
2693 },
2694 "name": "dimensions",
2695 "optional": true,
2696 "type": {
2697 "union": {
2698 "types": [
2699 {
2700 "fqn": "@aws-cdk/core.IResolvable"
2701 },
2702 {
2703 "collection": {
2704 "elementtype": {
2705 "union": {
2706 "types": [
2707 {
2708 "fqn": "@aws-cdk/core.IResolvable"
2709 },
2710 {
2711 "fqn": "@aws-cdk/aws-cloudwatch.CfnAlarm.DimensionProperty"
2712 }
2713 ]
2714 }
2715 },
2716 "kind": "array"
2717 }
2718 }
2719 ]
2720 }
2721 }
2722 },
2723 {
2724 "abstract": true,
2725 "docs": {
2726 "custom": {
2727 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudwatch-alarm.html#cfn-cloudwatch-alarms-evaluatelowsamplecountpercentile"
2728 },
2729 "remarks": "If `ignore` , the alarm state does not change during periods with too few data points to be statistically significant. If `evaluate` or this parameter is not used, the alarm is always evaluated and possibly changes state no matter how many data points are available.",
2730 "stability": "external",
2731 "summary": "Used only for alarms based on percentiles."
2732 },
2733 "immutable": true,
2734 "locationInModule": {
2735 "filename": "lib/cloudwatch.generated.ts",
2736 "line": 90
2737 },
2738 "name": "evaluateLowSampleCountPercentile",
2739 "optional": true,
2740 "type": {
2741 "primitive": "string"
2742 }
2743 },
2744 {
2745 "abstract": true,
2746 "docs": {
2747 "custom": {
2748 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudwatch-alarm.html#cfn-cloudwatch-alarms-extendedstatistic"
2749 },
2750 "remarks": "For an alarm based on a metric, you must specify either `Statistic` or `ExtendedStatistic` but not both.\n\nFor an alarm based on a math expression, you can't specify `ExtendedStatistic` . Instead, you use `Metrics` .",
2751 "stability": "external",
2752 "summary": "The percentile statistic for the metric associated with the alarm. Specify a value between p0.0 and p100."
2753 },
2754 "immutable": true,
2755 "locationInModule": {
2756 "filename": "lib/cloudwatch.generated.ts",
2757 "line": 101
2758 },
2759 "name": "extendedStatistic",
2760 "optional": true,
2761 "type": {
2762 "primitive": "string"
2763 }
2764 },
2765 {
2766 "abstract": true,
2767 "docs": {
2768 "custom": {
2769 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudwatch-alarm.html#cfn-cloudwatch-alarms-insufficientdataactions"
2770 },
2771 "remarks": "Each action is specified as an Amazon Resource Name (ARN).",
2772 "stability": "external",
2773 "summary": "The actions to execute when this alarm transitions to the `INSUFFICIENT_DATA` state from any other state."
2774 },
2775 "immutable": true,
2776 "locationInModule": {
2777 "filename": "lib/cloudwatch.generated.ts",
2778 "line": 108
2779 },
2780 "name": "insufficientDataActions",
2781 "optional": true,
2782 "type": {
2783 "collection": {
2784 "elementtype": {
2785 "primitive": "string"
2786 },
2787 "kind": "array"
2788 }
2789 }
2790 },
2791 {
2792 "abstract": true,
2793 "docs": {
2794 "custom": {
2795 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudwatch-alarm.html#cfn-cloudwatch-alarms-metricname"
2796 },
2797 "remarks": "This is required for an alarm based on a metric. For an alarm based on a math expression, you use `Metrics` instead and you can't specify `MetricName` .",
2798 "stability": "external",
2799 "summary": "The name of the metric associated with the alarm."
2800 },
2801 "immutable": true,
2802 "locationInModule": {
2803 "filename": "lib/cloudwatch.generated.ts",
2804 "line": 115
2805 },
2806 "name": "metricName",
2807 "optional": true,
2808 "type": {
2809 "primitive": "string"
2810 }
2811 },
2812 {
2813 "abstract": true,
2814 "docs": {
2815 "custom": {
2816 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudwatch-alarm.html#cfn-cloudwatch-alarm-metrics"
2817 },
2818 "remarks": "Each item in the array either retrieves a metric or performs a math expression.\n\nIf you specify the `Metrics` parameter, you cannot specify `MetricName` , `Dimensions` , `Period` , `Namespace` , `Statistic` , `ExtendedStatistic` , or `Unit` .",
2819 "stability": "external",
2820 "summary": "An array that enables you to create an alarm based on the result of a metric math expression."
2821 },
2822 "immutable": true,
2823 "locationInModule": {
2824 "filename": "lib/cloudwatch.generated.ts",
2825 "line": 124
2826 },
2827 "name": "metrics",
2828 "optional": true,
2829 "type": {
2830 "union": {
2831 "types": [
2832 {
2833 "fqn": "@aws-cdk/core.IResolvable"
2834 },
2835 {
2836 "collection": {
2837 "elementtype": {
2838 "union": {
2839 "types": [
2840 {
2841 "fqn": "@aws-cdk/core.IResolvable"
2842 },
2843 {
2844 "fqn": "@aws-cdk/aws-cloudwatch.CfnAlarm.MetricDataQueryProperty"
2845 }
2846 ]
2847 }
2848 },
2849 "kind": "array"
2850 }
2851 }
2852 ]
2853 }
2854 }
2855 },
2856 {
2857 "abstract": true,
2858 "docs": {
2859 "custom": {
2860 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudwatch-alarm.html#cfn-cloudwatch-alarms-namespace"
2861 },
2862 "remarks": "This is required for an alarm based on a metric. For an alarm based on a math expression, you can't specify `Namespace` and you use `Metrics` instead.\n\nFor a list of namespaces for metrics from AWS services, see [AWS Services That Publish CloudWatch Metrics.](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/aws-services-cloudwatch-metrics.html)",
2863 "stability": "external",
2864 "summary": "The namespace of the metric associated with the alarm."
2865 },
2866 "immutable": true,
2867 "locationInModule": {
2868 "filename": "lib/cloudwatch.generated.ts",
2869 "line": 133
2870 },
2871 "name": "namespace",
2872 "optional": true,
2873 "type": {
2874 "primitive": "string"
2875 }
2876 },
2877 {
2878 "abstract": true,
2879 "docs": {
2880 "custom": {
2881 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudwatch-alarm.html#cfn-cloudwatch-alarms-okactions"
2882 },
2883 "remarks": "Each action is specified as an Amazon Resource Name (ARN).",
2884 "stability": "external",
2885 "summary": "The actions to execute when this alarm transitions to the `OK` state from any other state."
2886 },
2887 "immutable": true,
2888 "locationInModule": {
2889 "filename": "lib/cloudwatch.generated.ts",
2890 "line": 140
2891 },
2892 "name": "okActions",
2893 "optional": true,
2894 "type": {
2895 "collection": {
2896 "elementtype": {
2897 "primitive": "string"
2898 },
2899 "kind": "array"
2900 }
2901 }
2902 },
2903 {
2904 "abstract": true,
2905 "docs": {
2906 "custom": {
2907 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudwatch-alarm.html#cfn-cloudwatch-alarms-period"
2908 },
2909 "remarks": "This is required for an alarm based on a metric. Valid values are 10, 30, 60, and any multiple of 60.\n\nFor an alarm based on a math expression, you can't specify `Period` , and instead you use the `Metrics` parameter.\n\n*Minimum:* 10",
2910 "stability": "external",
2911 "summary": "The period, in seconds, over which the statistic is applied."
2912 },
2913 "immutable": true,
2914 "locationInModule": {
2915 "filename": "lib/cloudwatch.generated.ts",
2916 "line": 151
2917 },
2918 "name": "period",
2919 "optional": true,
2920 "type": {
2921 "primitive": "number"
2922 }
2923 },
2924 {
2925 "abstract": true,
2926 "docs": {
2927 "custom": {
2928 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudwatch-alarm.html#cfn-cloudwatch-alarms-statistic"
2929 },
2930 "remarks": "For an alarm based on a metric, you must specify either `Statistic` or `ExtendedStatistic` but not both.\n\nFor an alarm based on a math expression, you can't specify `Statistic` . Instead, you use `Metrics` .",
2931 "stability": "external",
2932 "summary": "The statistic for the metric associated with the alarm, other than percentile. For percentile statistics, use `ExtendedStatistic` ."
2933 },
2934 "immutable": true,
2935 "locationInModule": {
2936 "filename": "lib/cloudwatch.generated.ts",
2937 "line": 162
2938 },
2939 "name": "statistic",
2940 "optional": true,
2941 "type": {
2942 "primitive": "string"
2943 }
2944 },
2945 {
2946 "abstract": true,
2947 "docs": {
2948 "custom": {
2949 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudwatch-alarm.html#cfn-cloudwatch-alarms-threshold"
2950 },
2951 "stability": "external",
2952 "summary": "The value to compare with the specified statistic."
2953 },
2954 "immutable": true,
2955 "locationInModule": {
2956 "filename": "lib/cloudwatch.generated.ts",
2957 "line": 169
2958 },
2959 "name": "threshold",
2960 "optional": true,
2961 "type": {
2962 "primitive": "number"
2963 }
2964 },
2965 {
2966 "abstract": true,
2967 "docs": {
2968 "custom": {
2969 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudwatch-alarm.html#cfn-cloudwatch-alarms-dynamic-threshold"
2970 },
2971 "stability": "external",
2972 "summary": "In an alarm based on an anomaly detection model, this is the ID of the `ANOMALY_DETECTION_BAND` function used as the threshold for the alarm."
2973 },
2974 "immutable": true,
2975 "locationInModule": {
2976 "filename": "lib/cloudwatch.generated.ts",
2977 "line": 176
2978 },
2979 "name": "thresholdMetricId",
2980 "optional": true,
2981 "type": {
2982 "primitive": "string"
2983 }
2984 },
2985 {
2986 "abstract": true,
2987 "docs": {
2988 "custom": {
2989 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudwatch-alarm.html#cfn-cloudwatch-alarms-treatmissingdata"
2990 },
2991 "remarks": "Valid values are `breaching` , `notBreaching` , `ignore` , and `missing` . For more information, see [Configuring How CloudWatch Alarms Treat Missing Data](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/AlarmThatSendsEmail.html#alarms-and-missing-data) in the *Amazon CloudWatch User Guide* .\n\nIf you omit this parameter, the default behavior of `missing` is used.",
2992 "stability": "external",
2993 "summary": "Sets how this alarm is to handle missing data points."
2994 },
2995 "immutable": true,
2996 "locationInModule": {
2997 "filename": "lib/cloudwatch.generated.ts",
2998 "line": 185
2999 },
3000 "name": "treatMissingData",
3001 "optional": true,
3002 "type": {
3003 "primitive": "string"
3004 }
3005 },
3006 {
3007 "abstract": true,
3008 "docs": {
3009 "custom": {
3010 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudwatch-alarm.html#cfn-cloudwatch-alarms-unit"
3011 },
3012 "remarks": "Specify this only if you are creating an alarm based on a single metric. Do not specify this if you are specifying a `Metrics` array.\n\nYou can specify the following values: Seconds, Microseconds, Milliseconds, Bytes, Kilobytes, Megabytes, Gigabytes, Terabytes, Bits, Kilobits, Megabits, Gigabits, Terabits, Percent, Count, Bytes/Second, Kilobytes/Second, Megabytes/Second, Gigabytes/Second, Terabytes/Second, Bits/Second, Kilobits/Second, Megabits/Second, Gigabits/Second, Terabits/Second, Count/Second, or None.",
3013 "stability": "external",
3014 "summary": "The unit of the metric associated with the alarm."
3015 },
3016 "immutable": true,
3017 "locationInModule": {
3018 "filename": "lib/cloudwatch.generated.ts",
3019 "line": 194
3020 },
3021 "name": "unit",
3022 "optional": true,
3023 "type": {
3024 "primitive": "string"
3025 }
3026 }
3027 ],
3028 "symbolId": "lib/cloudwatch.generated:CfnAlarmProps"
3029 },
3030 "@aws-cdk/aws-cloudwatch.CfnAnomalyDetector": {
3031 "assembly": "@aws-cdk/aws-cloudwatch",
3032 "base": "@aws-cdk/core.CfnResource",
3033 "docs": {
3034 "custom": {
3035 "cloudformationResource": "AWS::CloudWatch::AnomalyDetector",
3036 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudwatch-anomalydetector.html",
3037 "exampleMetadata": "fixture=_generated"
3038 },
3039 "remarks": "The `AWS::CloudWatch::AnomalyDetector` type specifies an anomaly detection band for a certain metric and statistic. The band represents the expected \"normal\" range for the metric values. Anomaly detection bands can be used for visualization of a metric's expected values, and for alarms.",
3040 "stability": "external",
3041 "summary": "A CloudFormation `AWS::CloudWatch::AnomalyDetector`.",
3042 "example": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as cloudwatch from '@aws-cdk/aws-cloudwatch';\nconst cfnAnomalyDetector = new cloudwatch.CfnAnomalyDetector(this, 'MyCfnAnomalyDetector', /* all optional props */ {\n configuration: {\n excludedTimeRanges: [{\n endTime: 'endTime',\n startTime: 'startTime',\n }],\n metricTimeZone: 'metricTimeZone',\n },\n dimensions: [{\n name: 'name',\n value: 'value',\n }],\n metricMathAnomalyDetector: {\n metricDataQueries: [{\n id: 'id',\n\n // the properties below are optional\n accountId: 'accountId',\n expression: 'expression',\n label: 'label',\n metricStat: {\n metric: {\n metricName: 'metricName',\n namespace: 'namespace',\n\n // the properties below are optional\n dimensions: [{\n name: 'name',\n value: 'value',\n }],\n },\n period: 123,\n stat: 'stat',\n\n // the properties below are optional\n unit: 'unit',\n },\n period: 123,\n returnData: false,\n }],\n },\n metricName: 'metricName',\n namespace: 'namespace',\n singleMetricAnomalyDetector: {\n dimensions: [{\n name: 'name',\n value: 'value',\n }],\n metricName: 'metricName',\n namespace: 'namespace',\n stat: 'stat',\n },\n stat: 'stat',\n});"
3043 },
3044 "fqn": "@aws-cdk/aws-cloudwatch.CfnAnomalyDetector",
3045 "initializer": {
3046 "docs": {
3047 "stability": "external",
3048 "summary": "Create a new `AWS::CloudWatch::AnomalyDetector`."
3049 },
3050 "locationInModule": {
3051 "filename": "lib/cloudwatch.generated.ts",
3052 "line": 1216
3053 },
3054 "parameters": [
3055 {
3056 "docs": {
3057 "summary": "- scope in which this resource is defined."
3058 },
3059 "name": "scope",
3060 "type": {
3061 "fqn": "@aws-cdk/core.Construct"
3062 }
3063 },
3064 {
3065 "docs": {
3066 "summary": "- scoped id of the resource."
3067 },
3068 "name": "id",
3069 "type": {
3070 "primitive": "string"
3071 }
3072 },
3073 {
3074 "docs": {
3075 "summary": "- resource properties."
3076 },
3077 "name": "props",
3078 "optional": true,
3079 "type": {
3080 "fqn": "@aws-cdk/aws-cloudwatch.CfnAnomalyDetectorProps"
3081 }
3082 }
3083 ]
3084 },
3085 "interfaces": [
3086 "@aws-cdk/core.IInspectable"
3087 ],
3088 "kind": "class",
3089 "locationInModule": {
3090 "filename": "lib/cloudwatch.generated.ts",
3091 "line": 1135
3092 },
3093 "methods": [
3094 {
3095 "docs": {
3096 "stability": "external",
3097 "summary": "Examines the CloudFormation resource and discloses attributes."
3098 },
3099 "locationInModule": {
3100 "filename": "lib/cloudwatch.generated.ts",
3101 "line": 1234
3102 },
3103 "name": "inspect",
3104 "overrides": "@aws-cdk/core.IInspectable",
3105 "parameters": [
3106 {
3107 "docs": {
3108 "summary": "- tree inspector to collect and process attributes."
3109 },
3110 "name": "inspector",
3111 "type": {
3112 "fqn": "@aws-cdk/core.TreeInspector"
3113 }
3114 }
3115 ]
3116 },
3117 {
3118 "docs": {
3119 "stability": "external"
3120 },
3121 "locationInModule": {
3122 "filename": "lib/cloudwatch.generated.ts",
3123 "line": 1251
3124 },
3125 "name": "renderProperties",
3126 "overrides": "@aws-cdk/core.CfnResource",
3127 "parameters": [
3128 {
3129 "name": "props",
3130 "type": {
3131 "collection": {
3132 "elementtype": {
3133 "primitive": "any"
3134 },
3135 "kind": "map"
3136 }
3137 }
3138 }
3139 ],
3140 "protected": true,
3141 "returns": {
3142 "type": {
3143 "collection": {
3144 "elementtype": {
3145 "primitive": "any"
3146 },
3147 "kind": "map"
3148 }
3149 }
3150 }
3151 }
3152 ],
3153 "name": "CfnAnomalyDetector",
3154 "properties": [
3155 {
3156 "const": true,
3157 "docs": {
3158 "stability": "external",
3159 "summary": "The CloudFormation resource type name for this resource class."
3160 },
3161 "immutable": true,
3162 "locationInModule": {
3163 "filename": "lib/cloudwatch.generated.ts",
3164 "line": 1139
3165 },
3166 "name": "CFN_RESOURCE_TYPE_NAME",
3167 "static": true,
3168 "type": {
3169 "primitive": "string"
3170 }
3171 },
3172 {
3173 "docs": {
3174 "stability": "external"
3175 },
3176 "immutable": true,
3177 "locationInModule": {
3178 "filename": "lib/cloudwatch.generated.ts",
3179 "line": 1239
3180 },
3181 "name": "cfnProperties",
3182 "overrides": "@aws-cdk/core.CfnResource",
3183 "protected": true,
3184 "type": {
3185 "collection": {
3186 "elementtype": {
3187 "primitive": "any"
3188 },
3189 "kind": "map"
3190 }
3191 }
3192 },
3193 {
3194 "docs": {
3195 "custom": {
3196 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudwatch-anomalydetector.html#cfn-cloudwatch-anomalydetector-configuration"
3197 },
3198 "remarks": "The configuration can also include the time zone to use for the metric.",
3199 "stability": "external",
3200 "summary": "Specifies details about how the anomaly detection model is to be trained, including time ranges to exclude when training and updating the model."
3201 },
3202 "locationInModule": {
3203 "filename": "lib/cloudwatch.generated.ts",
3204 "line": 1165
3205 },
3206 "name": "configuration",
3207 "optional": true,
3208 "type": {
3209 "union": {
3210 "types": [
3211 {
3212 "fqn": "@aws-cdk/core.IResolvable"
3213 },
3214 {
3215 "fqn": "@aws-cdk/aws-cloudwatch.CfnAnomalyDetector.ConfigurationProperty"
3216 }
3217 ]
3218 }
3219 }
3220 },
3221 {
3222 "docs": {
3223 "custom": {
3224 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudwatch-anomalydetector.html#cfn-cloudwatch-anomalydetector-dimensions"
3225 },
3226 "stability": "external",
3227 "summary": "The dimensions of the metric associated with the anomaly detection band."
3228 },
3229 "locationInModule": {
3230 "filename": "lib/cloudwatch.generated.ts",
3231 "line": 1172
3232 },
3233 "name": "dimensions",
3234 "optional": true,
3235 "type": {
3236 "union": {
3237 "types": [
3238 {
3239 "fqn": "@aws-cdk/core.IResolvable"
3240 },
3241 {
3242 "collection": {
3243 "elementtype": {
3244 "union": {
3245 "types": [
3246 {
3247 "fqn": "@aws-cdk/core.IResolvable"
3248 },
3249 {
3250 "fqn": "@aws-cdk/aws-cloudwatch.CfnAnomalyDetector.DimensionProperty"
3251 }
3252 ]
3253 }
3254 },
3255 "kind": "array"
3256 }
3257 }
3258 ]
3259 }
3260 }
3261 },
3262 {
3263 "docs": {
3264 "custom": {
3265 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudwatch-anomalydetector.html#cfn-cloudwatch-anomalydetector-metricmathanomalydetector"
3266 },
3267 "stability": "external",
3268 "summary": "The CloudWatch metric math expression for this anomaly detector."
3269 },
3270 "locationInModule": {
3271 "filename": "lib/cloudwatch.generated.ts",
3272 "line": 1179
3273 },
3274 "name": "metricMathAnomalyDetector",
3275 "optional": true,
3276 "type": {
3277 "union": {
3278 "types": [
3279 {
3280 "fqn": "@aws-cdk/core.IResolvable"
3281 },
3282 {
3283 "fqn": "@aws-cdk/aws-cloudwatch.CfnAnomalyDetector.MetricMathAnomalyDetectorProperty"
3284 }
3285 ]
3286 }
3287 }
3288 },
3289 {
3290 "docs": {
3291 "custom": {
3292 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudwatch-anomalydetector.html#cfn-cloudwatch-anomalydetector-metricname"
3293 },
3294 "stability": "external",
3295 "summary": "The name of the metric associated with the anomaly detection band."
3296 },
3297 "locationInModule": {
3298 "filename": "lib/cloudwatch.generated.ts",
3299 "line": 1186
3300 },
3301 "name": "metricName",
3302 "optional": true,
3303 "type": {
3304 "primitive": "string"
3305 }
3306 },
3307 {
3308 "docs": {
3309 "custom": {
3310 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudwatch-anomalydetector.html#cfn-cloudwatch-anomalydetector-namespace"
3311 },
3312 "stability": "external",
3313 "summary": "The namespace of the metric associated with the anomaly detection band."
3314 },
3315 "locationInModule": {
3316 "filename": "lib/cloudwatch.generated.ts",
3317 "line": 1193
3318 },
3319 "name": "namespace",
3320 "optional": true,
3321 "type": {
3322 "primitive": "string"
3323 }
3324 },
3325 {
3326 "docs": {
3327 "custom": {
3328 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudwatch-anomalydetector.html#cfn-cloudwatch-anomalydetector-singlemetricanomalydetector"
3329 },
3330 "stability": "external",
3331 "summary": "The CloudWatch metric and statistic for this anomaly detector."
3332 },
3333 "locationInModule": {
3334 "filename": "lib/cloudwatch.generated.ts",
3335 "line": 1200
3336 },
3337 "name": "singleMetricAnomalyDetector",
3338 "optional": true,
3339 "type": {
3340 "union": {
3341 "types": [
3342 {
3343 "fqn": "@aws-cdk/core.IResolvable"
3344 },
3345 {
3346 "fqn": "@aws-cdk/aws-cloudwatch.CfnAnomalyDetector.SingleMetricAnomalyDetectorProperty"
3347 }
3348 ]
3349 }
3350 }
3351 },
3352 {
3353 "docs": {
3354 "custom": {
3355 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudwatch-anomalydetector.html#cfn-cloudwatch-anomalydetector-stat"
3356 },
3357 "stability": "external",
3358 "summary": "The statistic of the metric associated with the anomaly detection band."
3359 },
3360 "locationInModule": {
3361 "filename": "lib/cloudwatch.generated.ts",
3362 "line": 1207
3363 },
3364 "name": "stat",
3365 "optional": true,
3366 "type": {
3367 "primitive": "string"
3368 }
3369 }
3370 ],
3371 "symbolId": "lib/cloudwatch.generated:CfnAnomalyDetector"
3372 },
3373 "@aws-cdk/aws-cloudwatch.CfnAnomalyDetector.ConfigurationProperty": {
3374 "assembly": "@aws-cdk/aws-cloudwatch",
3375 "datatype": true,
3376 "docs": {
3377 "custom": {
3378 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudwatch-anomalydetector-configuration.html",
3379 "exampleMetadata": "fixture=_generated"
3380 },
3381 "remarks": "The configuration can also include the time zone to use for the metric.",
3382 "stability": "external",
3383 "summary": "Specifies details about how the anomaly detection model is to be trained, including time ranges to exclude when training and updating the model.",
3384 "example": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as cloudwatch from '@aws-cdk/aws-cloudwatch';\nconst configurationProperty: cloudwatch.CfnAnomalyDetector.ConfigurationProperty = {\n excludedTimeRanges: [{\n endTime: 'endTime',\n startTime: 'startTime',\n }],\n metricTimeZone: 'metricTimeZone',\n};"
3385 },
3386 "fqn": "@aws-cdk/aws-cloudwatch.CfnAnomalyDetector.ConfigurationProperty",
3387 "kind": "interface",
3388 "locationInModule": {
3389 "filename": "lib/cloudwatch.generated.ts",
3390 "line": 1265
3391 },
3392 "name": "ConfigurationProperty",
3393 "namespace": "CfnAnomalyDetector",
3394 "properties": [
3395 {
3396 "abstract": true,
3397 "docs": {
3398 "custom": {
3399 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudwatch-anomalydetector-configuration.html#cfn-cloudwatch-anomalydetector-configuration-excludedtimeranges"
3400 },
3401 "remarks": "Use this to make sure that events that could cause unusual values for the metric, such as deployments, aren't used when CloudWatch creates or updates the model.",
3402 "stability": "external",
3403 "summary": "Specifies an array of time ranges to exclude from use when the anomaly detection model is trained and updated."
3404 },
3405 "immutable": true,
3406 "locationInModule": {
3407 "filename": "lib/cloudwatch.generated.ts",
3408 "line": 1271
3409 },
3410 "name": "excludedTimeRanges",
3411 "optional": true,
3412 "type": {
3413 "union": {
3414 "types": [
3415 {
3416 "fqn": "@aws-cdk/core.IResolvable"
3417 },
3418 {
3419 "collection": {
3420 "elementtype": {
3421 "union": {
3422 "types": [
3423 {
3424 "fqn": "@aws-cdk/core.IResolvable"
3425 },
3426 {
3427 "fqn": "@aws-cdk/aws-cloudwatch.CfnAnomalyDetector.RangeProperty"
3428 }
3429 ]
3430 }
3431 },
3432 "kind": "array"
3433 }
3434 }
3435 ]
3436 }
3437 }
3438 },
3439 {
3440 "abstract": true,
3441 "docs": {
3442 "custom": {
3443 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudwatch-anomalydetector-configuration.html#cfn-cloudwatch-anomalydetector-configuration-metrictimezone"
3444 },
3445 "remarks": "This is useful to enable the model to automatically account for daylight savings time changes if the metric is sensitive to such time changes.\n\nTo specify a time zone, use the name of the time zone as specified in the standard tz database. For more information, see [tz database](https://docs.aws.amazon.com/https://en.wikipedia.org/wiki/Tz_database) .",
3446 "stability": "external",
3447 "summary": "The time zone to use for the metric."
3448 },
3449 "immutable": true,
3450 "locationInModule": {
3451 "filename": "lib/cloudwatch.generated.ts",
3452 "line": 1279
3453 },
3454 "name": "metricTimeZone",
3455 "optional": true,
3456 "type": {
3457 "primitive": "string"
3458 }
3459 }
3460 ],
3461 "symbolId": "lib/cloudwatch.generated:CfnAnomalyDetector.ConfigurationProperty"
3462 },
3463 "@aws-cdk/aws-cloudwatch.CfnAnomalyDetector.DimensionProperty": {
3464 "assembly": "@aws-cdk/aws-cloudwatch",
3465 "datatype": true,
3466 "docs": {
3467 "custom": {
3468 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudwatch-anomalydetector-dimension.html",
3469 "exampleMetadata": "fixture=_generated"
3470 },
3471 "remarks": "Because dimensions are part of the unique identifier for a metric, whenever you add a unique name/value pair to one of your metrics, you are creating a new variation of that metric. For example, many Amazon EC2 metrics publish `InstanceId` as a dimension name, and the actual instance ID as the value for that dimension.\n\nYou can assign up to 30 dimensions to a metric.",
3472 "stability": "external",
3473 "summary": "A dimension is a name/value pair that is part of the identity of a metric.",
3474 "example": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as cloudwatch from '@aws-cdk/aws-cloudwatch';\nconst dimensionProperty: cloudwatch.CfnAnomalyDetector.DimensionProperty = {\n name: 'name',\n value: 'value',\n};"
3475 },
3476 "fqn": "@aws-cdk/aws-cloudwatch.CfnAnomalyDetector.DimensionProperty",
3477 "kind": "interface",
3478 "locationInModule": {
3479 "filename": "lib/cloudwatch.generated.ts",
3480 "line": 1345
3481 },
3482 "name": "DimensionProperty",
3483 "namespace": "CfnAnomalyDetector",
3484 "properties": [
3485 {
3486 "abstract": true,
3487 "docs": {
3488 "custom": {
3489 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudwatch-anomalydetector-dimension.html#cfn-cloudwatch-anomalydetector-dimension-name"
3490 },
3491 "stability": "external",
3492 "summary": "The name of the dimension."
3493 },
3494 "immutable": true,
3495 "locationInModule": {
3496 "filename": "lib/cloudwatch.generated.ts",
3497 "line": 1351
3498 },
3499 "name": "name",
3500 "type": {
3501 "primitive": "string"
3502 }
3503 },
3504 {
3505 "abstract": true,
3506 "docs": {
3507 "custom": {
3508 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudwatch-anomalydetector-dimension.html#cfn-cloudwatch-anomalydetector-dimension-value"
3509 },
3510 "remarks": "Dimension values must contain only ASCII characters and must include at least one non-whitespace character. ASCII control characters are not supported as part of dimension values.",
3511 "stability": "external",
3512 "summary": "The value of the dimension."
3513 },
3514 "immutable": true,
3515 "locationInModule": {
3516 "filename": "lib/cloudwatch.generated.ts",
3517 "line": 1357
3518 },
3519 "name": "value",
3520 "type": {
3521 "primitive": "string"
3522 }
3523 }
3524 ],
3525 "symbolId": "lib/cloudwatch.generated:CfnAnomalyDetector.DimensionProperty"
3526 },
3527 "@aws-cdk/aws-cloudwatch.CfnAnomalyDetector.MetricDataQueryProperty": {
3528 "assembly": "@aws-cdk/aws-cloudwatch",
3529 "datatype": true,
3530 "docs": {
3531 "custom": {
3532 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudwatch-anomalydetector-metricdataquery.html",
3533 "exampleMetadata": "fixture=_generated"
3534 },
3535 "remarks": "The supported use of this structure is different for those two operations.\n\nWhen used in `GetMetricData` , it indicates the metric data to return, and whether this call is just retrieving a batch set of data for one metric, or is performing a Metrics Insights query or a math expression. A single `GetMetricData` call can include up to 500 `MetricDataQuery` structures.\n\nWhen used in `PutMetricAlarm` , it enables you to create an alarm based on a metric math expression. Each `MetricDataQuery` in the array specifies either a metric to retrieve, or a math expression to be performed on retrieved metrics. A single `PutMetricAlarm` call can include up to 20 `MetricDataQuery` structures in the array. The 20 structures can include as many as 10 structures that contain a `MetricStat` parameter to retrieve a metric, and as many as 10 structures that contain the `Expression` parameter to perform a math expression. Of those `Expression` structures, one must have `true` as the value for `ReturnData` . The result of this expression is the value the alarm watches.\n\nAny expression used in a `PutMetricAlarm` operation must return a single time series. For more information, see [Metric Math Syntax and Functions](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/using-metric-math.html#metric-math-syntax) in the *Amazon CloudWatch User Guide* .\n\nSome of the parameters of this structure also have different uses whether you are using this structure in a `GetMetricData` operation or a `PutMetricAlarm` operation. These differences are explained in the following parameter list.",
3536 "stability": "external",
3537 "summary": "This structure is used in both `GetMetricData` and `PutMetricAlarm` .",
3538 "example": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as cloudwatch from '@aws-cdk/aws-cloudwatch';\nconst metricDataQueryProperty: cloudwatch.CfnAnomalyDetector.MetricDataQueryProperty = {\n id: 'id',\n\n // the properties below are optional\n accountId: 'accountId',\n expression: 'expression',\n label: 'label',\n metricStat: {\n metric: {\n metricName: 'metricName',\n namespace: 'namespace',\n\n // the properties below are optional\n dimensions: [{\n name: 'name',\n value: 'value',\n }],\n },\n period: 123,\n stat: 'stat',\n\n // the properties below are optional\n unit: 'unit',\n },\n period: 123,\n returnData: false,\n};"
3539 },
3540 "fqn": "@aws-cdk/aws-cloudwatch.CfnAnomalyDetector.MetricDataQueryProperty",
3541 "kind": "interface",
3542 "locationInModule": {
3543 "filename": "lib/cloudwatch.generated.ts",
3544 "line": 1518
3545 },
3546 "name": "MetricDataQueryProperty",
3547 "namespace": "CfnAnomalyDetector",
3548 "properties": [
3549 {
3550 "abstract": true,
3551 "docs": {
3552 "custom": {
3553 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudwatch-anomalydetector-metricdataquery.html#cfn-cloudwatch-anomalydetector-metricdataquery-id"
3554 },
3555 "remarks": "This name must be unique within a single call to `GetMetricData` . If you are performing math expressions on this set of data, this name represents that data and can serve as a variable in the mathematical expression. The valid characters are letters, numbers, and underscore. The first character must be a lowercase letter.",
3556 "stability": "external",
3557 "summary": "A short name used to tie this object to the results in the response."
3558 },
3559 "immutable": true,
3560 "locationInModule": {
3561 "filename": "lib/cloudwatch.generated.ts",
3562 "line": 1544
3563 },
3564 "name": "id",
3565 "type": {
3566 "primitive": "string"
3567 }
3568 },
3569 {
3570 "abstract": true,
3571 "docs": {
3572 "custom": {
3573 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudwatch-anomalydetector-metricdataquery.html#cfn-cloudwatch-anomalydetector-metricdataquery-accountid"
3574 },
3575 "remarks": "If you are performing a `GetMetricData` operation in a monitoring account, use this to specify which account to retrieve this metric from.\n\nIf you are performing a `PutMetricAlarm` operation, use this to specify which account contains the metric that the alarm is watching.",
3576 "stability": "external",
3577 "summary": "The ID of the account where the metrics are located."
3578 },
3579 "immutable": true,
3580 "locationInModule": {
3581 "filename": "lib/cloudwatch.generated.ts",
3582 "line": 1528
3583 },
3584 "name": "accountId",
3585 "optional": true,
3586 "type": {
3587 "primitive": "string"
3588 }
3589 },
3590 {
3591 "abstract": true,
3592 "docs": {
3593 "custom": {
3594 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudwatch-anomalydetector-metricdataquery.html#cfn-cloudwatch-anomalydetector-metricdataquery-expression"
3595 },
3596 "remarks": "For more information about Metrics Insights queries, see [Metrics Insights query components and syntax](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/cloudwatch-metrics-insights-querylanguage) in the *Amazon CloudWatch User Guide* .\n\nA math expression can use the `Id` of the other metrics or queries to refer to those metrics, and can also use the `Id` of other expressions to use the result of those expressions. For more information about metric math expressions, see [Metric Math Syntax and Functions](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/using-metric-math.html#metric-math-syntax) in the *Amazon CloudWatch User Guide* .\n\nWithin each MetricDataQuery object, you must specify either `Expression` or `MetricStat` but not both.",
3597 "stability": "external",
3598 "summary": "This field can contain either a Metrics Insights query, or a metric math expression to be performed on the returned data."
3599 },
3600 "immutable": true,
3601 "locationInModule": {
3602 "filename": "lib/cloudwatch.generated.ts",
3603 "line": 1538
3604 },
3605 "name": "expression",
3606 "optional": true,
3607 "type": {
3608 "primitive": "string"
3609 }
3610 },
3611 {
3612 "abstract": true,
3613 "docs": {
3614 "custom": {
3615 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudwatch-anomalydetector-metricdataquery.html#cfn-cloudwatch-anomalydetector-metricdataquery-label"
3616 },
3617 "remarks": "This is especially useful if this is an expression, so that you know what the value represents. If the metric or expression is shown in a CloudWatch dashboard widget, the label is shown. If Label is omitted, CloudWatch generates a default.\n\nYou can put dynamic expressions into a label, so that it is more descriptive. For more information, see [Using Dynamic Labels](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/graph-dynamic-labels.html) .",
3618 "stability": "external",
3619 "summary": "A human-readable label for this metric or expression."
3620 },
3621 "immutable": true,
3622 "locationInModule": {
3623 "filename": "lib/cloudwatch.generated.ts",
3624 "line": 1552
3625 },
3626 "name": "label",
3627 "optional": true,
3628 "type": {
3629 "primitive": "string"
3630 }
3631 },
3632 {
3633 "abstract": true,
3634 "docs": {
3635 "custom": {
3636 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudwatch-anomalydetector-metricdataquery.html#cfn-cloudwatch-anomalydetector-metricdataquery-metricstat"
3637 },
3638 "remarks": "Use this parameter only if this object is retrieving a metric and not performing a math expression on returned data.\n\nWithin one MetricDataQuery object, you must specify either `Expression` or `MetricStat` but not both.",
3639 "stability": "external",
3640 "summary": "The metric to be returned, along with statistics, period, and units."
3641 },
3642 "immutable": true,
3643 "locationInModule": {
3644 "filename": "lib/cloudwatch.generated.ts",
3645 "line": 1560
3646 },
3647 "name": "metricStat",
3648 "optional": true,
3649 "type": {
3650 "union": {
3651 "types": [
3652 {
3653 "fqn": "@aws-cdk/core.IResolvable"
3654 },
3655 {
3656 "fqn": "@aws-cdk/aws-cloudwatch.CfnAnomalyDetector.MetricStatProperty"
3657 }
3658 ]
3659 }
3660 }
3661 },
3662 {
3663 "abstract": true,
3664 "docs": {
3665 "custom": {
3666 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudwatch-anomalydetector-metricdataquery.html#cfn-cloudwatch-anomalydetector-metricdataquery-period"
3667 },
3668 "remarks": "For metrics with regular resolution, a period can be as short as one minute (60 seconds) and must be a multiple of 60. For high-resolution metrics that are collected at intervals of less than one minute, the period can be 1, 5, 10, 30, 60, or any multiple of 60. High-resolution metrics are those metrics stored by a `PutMetricData` operation that includes a `StorageResolution of 1 second` .",
3669 "stability": "external",
3670 "summary": "The granularity, in seconds, of the returned data points."
3671 },
3672 "immutable": true,
3673 "locationInModule": {
3674 "filename": "lib/cloudwatch.generated.ts",
3675 "line": 1566
3676 },
3677 "name": "period",
3678 "optional": true,
3679 "type": {
3680 "primitive": "number"
3681 }
3682 },
3683 {
3684 "abstract": true,
3685 "docs": {
3686 "custom": {
3687 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudwatch-anomalydetector-metricdataquery.html#cfn-cloudwatch-anomalydetector-metricdataquery-returndata"
3688 },
3689 "remarks": "If you are performing this call just to do math expressions and do not also need the raw data returned, you can specify `false` . If you omit this, the default of `true` is used.\n\nWhen used in `PutMetricAlarm` , specify `true` for the one expression result to use as the alarm. For all other metrics and expressions in the same `PutMetricAlarm` operation, specify `ReturnData` as False.",
3690 "stability": "external",
3691 "summary": "When used in `GetMetricData` , this option indicates whether to return the timestamps and raw data values of this metric."
3692 },
3693 "immutable": true,
3694 "locationInModule": {
3695 "filename": "lib/cloudwatch.generated.ts",
3696 "line": 1574
3697 },
3698 "name": "returnData",
3699 "optional": true,
3700 "type": {
3701 "union": {
3702 "types": [
3703 {
3704 "primitive": "boolean"
3705 },
3706 {
3707 "fqn": "@aws-cdk/core.IResolvable"
3708 }
3709 ]
3710 }
3711 }
3712 }
3713 ],
3714 "symbolId": "lib/cloudwatch.generated:CfnAnomalyDetector.MetricDataQueryProperty"
3715 },
3716 "@aws-cdk/aws-cloudwatch.CfnAnomalyDetector.MetricMathAnomalyDetectorProperty": {
3717 "assembly": "@aws-cdk/aws-cloudwatch",
3718 "datatype": true,
3719 "docs": {
3720 "custom": {
3721 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudwatch-anomalydetector-metricmathanomalydetector.html",
3722 "exampleMetadata": "fixture=_generated"
3723 },
3724 "remarks": "The designated math expression must return a single time series.",
3725 "stability": "external",
3726 "summary": "Indicates the CloudWatch math expression that provides the time series the anomaly detector uses as input.",
3727 "example": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as cloudwatch from '@aws-cdk/aws-cloudwatch';\nconst metricMathAnomalyDetectorProperty: cloudwatch.CfnAnomalyDetector.MetricMathAnomalyDetectorProperty = {\n metricDataQueries: [{\n id: 'id',\n\n // the properties below are optional\n accountId: 'accountId',\n expression: 'expression',\n label: 'label',\n metricStat: {\n metric: {\n metricName: 'metricName',\n namespace: 'namespace',\n\n // the properties below are optional\n dimensions: [{\n name: 'name',\n value: 'value',\n }],\n },\n period: 123,\n stat: 'stat',\n\n // the properties below are optional\n unit: 'unit',\n },\n period: 123,\n returnData: false,\n }],\n};"
3728 },
3729 "fqn": "@aws-cdk/aws-cloudwatch.CfnAnomalyDetector.MetricMathAnomalyDetectorProperty",
3730 "kind": "interface",
3731 "locationInModule": {
3732 "filename": "lib/cloudwatch.generated.ts",
3733 "line": 1654
3734 },
3735 "name": "MetricMathAnomalyDetectorProperty",
3736 "namespace": "CfnAnomalyDetector",
3737 "properties": [
3738 {
3739 "abstract": true,
3740 "docs": {
3741 "custom": {
3742 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudwatch-anomalydetector-metricmathanomalydetector.html#cfn-cloudwatch-anomalydetector-metricmathanomalydetector-metricdataqueries"
3743 },
3744 "remarks": "Each item in `MetricDataQueries` gets a metric or performs a math expression. One item in `MetricDataQueries` is the expression that provides the time series that the anomaly detector uses as input. Designate the expression by setting `ReturnData` to `true` for this object in the array. For all other expressions and metrics, set `ReturnData` to `false` . The designated expression must return a single time series.",
3745 "stability": "external",
3746 "summary": "An array of metric data query structures that enables you to create an anomaly detector based on the result of a metric math expression."
3747 },
3748 "immutable": true,
3749 "locationInModule": {
3750 "filename": "lib/cloudwatch.generated.ts",
3751 "line": 1660
3752 },
3753 "name": "metricDataQueries",
3754 "optional": true,
3755 "type": {
3756 "union": {
3757 "types": [
3758 {
3759 "fqn": "@aws-cdk/core.IResolvable"
3760 },
3761 {
3762 "collection": {
3763 "elementtype": {
3764 "union": {
3765 "types": [
3766 {
3767 "fqn": "@aws-cdk/core.IResolvable"
3768 },
3769 {
3770 "fqn": "@aws-cdk/aws-cloudwatch.CfnAnomalyDetector.MetricDataQueryProperty"
3771 }
3772 ]
3773 }
3774 },
3775 "kind": "array"
3776 }
3777 }
3778 ]
3779 }
3780 }
3781 }
3782 ],
3783 "symbolId": "lib/cloudwatch.generated:CfnAnomalyDetector.MetricMathAnomalyDetectorProperty"
3784 },
3785 "@aws-cdk/aws-cloudwatch.CfnAnomalyDetector.MetricProperty": {
3786 "assembly": "@aws-cdk/aws-cloudwatch",
3787 "datatype": true,
3788 "docs": {
3789 "custom": {
3790 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudwatch-anomalydetector-metric.html",
3791 "exampleMetadata": "fixture=_generated"
3792 },
3793 "stability": "external",
3794 "summary": "Represents a specific metric.",
3795 "example": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as cloudwatch from '@aws-cdk/aws-cloudwatch';\nconst metricProperty: cloudwatch.CfnAnomalyDetector.MetricProperty = {\n metricName: 'metricName',\n namespace: 'namespace',\n\n // the properties below are optional\n dimensions: [{\n name: 'name',\n value: 'value',\n }],\n};"
3796 },
3797 "fqn": "@aws-cdk/aws-cloudwatch.CfnAnomalyDetector.MetricProperty",
3798 "kind": "interface",
3799 "locationInModule": {
3800 "filename": "lib/cloudwatch.generated.ts",
3801 "line": 1423
3802 },
3803 "name": "MetricProperty",
3804 "namespace": "CfnAnomalyDetector",
3805 "properties": [
3806 {
3807 "abstract": true,
3808 "docs": {
3809 "custom": {
3810 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudwatch-anomalydetector-metric.html#cfn-cloudwatch-anomalydetector-metric-metricname"
3811 },
3812 "remarks": "This is a required field.",
3813 "stability": "external",
3814 "summary": "The name of the metric."
3815 },
3816 "immutable": true,
3817 "locationInModule": {
3818 "filename": "lib/cloudwatch.generated.ts",
3819 "line": 1435
3820 },
3821 "name": "metricName",
3822 "type": {
3823 "primitive": "string"
3824 }
3825 },
3826 {
3827 "abstract": true,
3828 "docs": {
3829 "custom": {
3830 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudwatch-anomalydetector-metric.html#cfn-cloudwatch-anomalydetector-metric-namespace"
3831 },
3832 "stability": "external",
3833 "summary": "The namespace of the metric."
3834 },
3835 "immutable": true,
3836 "locationInModule": {
3837 "filename": "lib/cloudwatch.generated.ts",
3838 "line": 1441
3839 },
3840 "name": "namespace",
3841 "type": {
3842 "primitive": "string"
3843 }
3844 },
3845 {
3846 "abstract": true,
3847 "docs": {
3848 "custom": {
3849 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudwatch-anomalydetector-metric.html#cfn-cloudwatch-anomalydetector-metric-dimensions"
3850 },
3851 "stability": "external",
3852 "summary": "The dimensions for the metric."
3853 },
3854 "immutable": true,
3855 "locationInModule": {
3856 "filename": "lib/cloudwatch.generated.ts",
3857 "line": 1429
3858 },
3859 "name": "dimensions",
3860 "optional": true,
3861 "type": {
3862 "union": {
3863 "types": [
3864 {
3865 "fqn": "@aws-cdk/core.IResolvable"
3866 },
3867 {
3868 "collection": {
3869 "elementtype": {
3870 "union": {
3871 "types": [
3872 {
3873 "fqn": "@aws-cdk/core.IResolvable"
3874 },
3875 {
3876 "fqn": "@aws-cdk/aws-cloudwatch.CfnAnomalyDetector.DimensionProperty"
3877 }
3878 ]
3879 }
3880 },
3881 "kind": "array"
3882 }
3883 }
3884 ]
3885 }
3886 }
3887 }
3888 ],
3889 "symbolId": "lib/cloudwatch.generated:CfnAnomalyDetector.MetricProperty"
3890 },
3891 "@aws-cdk/aws-cloudwatch.CfnAnomalyDetector.MetricStatProperty": {
3892 "assembly": "@aws-cdk/aws-cloudwatch",
3893 "datatype": true,
3894 "docs": {
3895 "custom": {
3896 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudwatch-anomalydetector-metricstat.html",
3897 "exampleMetadata": "fixture=_generated"
3898 },
3899 "stability": "external",
3900 "summary": "This structure defines the metric to be returned, along with the statistics, period, and units.",
3901 "example": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as cloudwatch from '@aws-cdk/aws-cloudwatch';\nconst metricStatProperty: cloudwatch.CfnAnomalyDetector.MetricStatProperty = {\n metric: {\n metricName: 'metricName',\n namespace: 'namespace',\n\n // the properties below are optional\n dimensions: [{\n name: 'name',\n value: 'value',\n }],\n },\n period: 123,\n stat: 'stat',\n\n // the properties below are optional\n unit: 'unit',\n};"
3902 },
3903 "fqn": "@aws-cdk/aws-cloudwatch.CfnAnomalyDetector.MetricStatProperty",
3904 "kind": "interface",
3905 "locationInModule": {
3906 "filename": "lib/cloudwatch.generated.ts",
3907 "line": 1721
3908 },
3909 "name": "MetricStatProperty",
3910 "namespace": "CfnAnomalyDetector",
3911 "properties": [
3912 {
3913 "abstract": true,
3914 "docs": {
3915 "custom": {
3916 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudwatch-anomalydetector-metricstat.html#cfn-cloudwatch-anomalydetector-metricstat-metric"
3917 },
3918 "stability": "external",
3919 "summary": "The metric to return, including the metric name, namespace, and dimensions."
3920 },
3921 "immutable": true,
3922 "locationInModule": {
3923 "filename": "lib/cloudwatch.generated.ts",
3924 "line": 1727
3925 },
3926 "name": "metric",
3927 "type": {
3928 "union": {
3929 "types": [
3930 {
3931 "fqn": "@aws-cdk/core.IResolvable"
3932 },
3933 {
3934 "fqn": "@aws-cdk/aws-cloudwatch.CfnAnomalyDetector.MetricProperty"
3935 }
3936 ]
3937 }
3938 }
3939 },
3940 {
3941 "abstract": true,
3942 "docs": {
3943 "custom": {
3944 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudwatch-anomalydetector-metricstat.html#cfn-cloudwatch-anomalydetector-metricstat-period"
3945 },
3946 "remarks": "For metrics with regular resolution, a period can be as short as one minute (60 seconds) and must be a multiple of 60. For high-resolution metrics that are collected at intervals of less than one minute, the period can be 1, 5, 10, 30, 60, or any multiple of 60. High-resolution metrics are those metrics stored by a `PutMetricData` call that includes a `StorageResolution` of 1 second.\n\nIf the `StartTime` parameter specifies a time stamp that is greater than 3 hours ago, you must specify the period as follows or no data points in that time range is returned:\n\n- Start time between 3 hours and 15 days ago - Use a multiple of 60 seconds (1 minute).\n- Start time between 15 and 63 days ago - Use a multiple of 300 seconds (5 minutes).\n- Start time greater than 63 days ago - Use a multiple of 3600 seconds (1 hour).",
3947 "stability": "external",
3948 "summary": "The granularity, in seconds, of the returned data points."
3949 },
3950 "immutable": true,
3951 "locationInModule": {
3952 "filename": "lib/cloudwatch.generated.ts",
3953 "line": 1739
3954 },
3955 "name": "period",
3956 "type": {
3957 "primitive": "number"
3958 }
3959 },
3960 {
3961 "abstract": true,
3962 "docs": {
3963 "custom": {
3964 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudwatch-anomalydetector-metricstat.html#cfn-cloudwatch-anomalydetector-metricstat-stat"
3965 },
3966 "remarks": "It can include any CloudWatch statistic or extended statistic.",
3967 "stability": "external",
3968 "summary": "The statistic to return."
3969 },
3970 "immutable": true,
3971 "locationInModule": {
3972 "filename": "lib/cloudwatch.generated.ts",
3973 "line": 1745
3974 },
3975 "name": "stat",
3976 "type": {
3977 "primitive": "string"
3978 }
3979 },
3980 {
3981 "abstract": true,
3982 "docs": {
3983 "custom": {
3984 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudwatch-anomalydetector-metricstat.html#cfn-cloudwatch-anomalydetector-metricstat-unit"
3985 },
3986 "remarks": "In a `Get` operation, if you omit `Unit` then all data that was collected with any unit is returned, along with the corresponding units that were specified when the data was reported to CloudWatch. If you specify a unit, the operation returns only data that was collected with that unit specified. If you specify a unit that does not match the data collected, the results of the operation are null. CloudWatch does not perform unit conversions.",
3987 "stability": "external",
3988 "summary": "When you are using a `Put` operation, this defines what unit you want to use when storing the metric."
3989 },
3990 "immutable": true,
3991 "locationInModule": {
3992 "filename": "lib/cloudwatch.generated.ts",
3993 "line": 1753
3994 },
3995 "name": "unit",
3996 "optional": true,
3997 "type": {
3998 "primitive": "string"
3999 }
4000 }
4001 ],
4002 "symbolId": "lib/cloudwatch.generated:CfnAnomalyDetector.MetricStatProperty"
4003 },
4004 "@aws-cdk/aws-cloudwatch.CfnAnomalyDetector.RangeProperty": {
4005 "assembly": "@aws-cdk/aws-cloudwatch",
4006 "datatype": true,
4007 "docs": {
4008 "custom": {
4009 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudwatch-anomalydetector-range.html",
4010 "exampleMetadata": "fixture=_generated"
4011 },
4012 "stability": "external",
4013 "summary": "Each `Range` specifies one range of days or times to exclude from use for training or updating an anomaly detection model.",
4014 "example": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as cloudwatch from '@aws-cdk/aws-cloudwatch';\nconst rangeProperty: cloudwatch.CfnAnomalyDetector.RangeProperty = {\n endTime: 'endTime',\n startTime: 'startTime',\n};"
4015 },
4016 "fqn": "@aws-cdk/aws-cloudwatch.CfnAnomalyDetector.RangeProperty",
4017 "kind": "interface",
4018 "locationInModule": {
4019 "filename": "lib/cloudwatch.generated.ts",
4020 "line": 1826
4021 },
4022 "name": "RangeProperty",
4023 "namespace": "CfnAnomalyDetector",
4024 "properties": [
4025 {
4026 "abstract": true,
4027 "docs": {
4028 "custom": {
4029 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudwatch-anomalydetector-range.html#cfn-cloudwatch-anomalydetector-range-endtime"
4030 },
4031 "remarks": "The format is `yyyy-MM-dd'T'HH:mm:ss` . For example, `2019-07-01T23:59:59` .",
4032 "stability": "external",
4033 "summary": "The end time of the range to exclude."
4034 },
4035 "immutable": true,
4036 "locationInModule": {
4037 "filename": "lib/cloudwatch.generated.ts",
4038 "line": 1832
4039 },
4040 "name": "endTime",
4041 "type": {
4042 "primitive": "string"
4043 }
4044 },
4045 {
4046 "abstract": true,
4047 "docs": {
4048 "custom": {
4049 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudwatch-anomalydetector-range.html#cfn-cloudwatch-anomalydetector-range-starttime"
4050 },
4051 "remarks": "The format is `yyyy-MM-dd'T'HH:mm:ss` . For example, `2019-07-01T23:59:59` .",
4052 "stability": "external",
4053 "summary": "The start time of the range to exclude."
4054 },
4055 "immutable": true,
4056 "locationInModule": {
4057 "filename": "lib/cloudwatch.generated.ts",
4058 "line": 1838
4059 },
4060 "name": "startTime",
4061 "type": {
4062 "primitive": "string"
4063 }
4064 }
4065 ],
4066 "symbolId": "lib/cloudwatch.generated:CfnAnomalyDetector.RangeProperty"
4067 },
4068 "@aws-cdk/aws-cloudwatch.CfnAnomalyDetector.SingleMetricAnomalyDetectorProperty": {
4069 "assembly": "@aws-cdk/aws-cloudwatch",
4070 "datatype": true,
4071 "docs": {
4072 "custom": {
4073 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudwatch-anomalydetector-singlemetricanomalydetector.html",
4074 "exampleMetadata": "fixture=_generated"
4075 },
4076 "stability": "external",
4077 "summary": "Designates the CloudWatch metric and statistic that provides the time series the anomaly detector uses as input.",
4078 "example": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as cloudwatch from '@aws-cdk/aws-cloudwatch';\nconst singleMetricAnomalyDetectorProperty: cloudwatch.CfnAnomalyDetector.SingleMetricAnomalyDetectorProperty = {\n dimensions: [{\n name: 'name',\n value: 'value',\n }],\n metricName: 'metricName',\n namespace: 'namespace',\n stat: 'stat',\n};"
4079 },
4080 "fqn": "@aws-cdk/aws-cloudwatch.CfnAnomalyDetector.SingleMetricAnomalyDetectorProperty",
4081 "kind": "interface",
4082 "locationInModule": {
4083 "filename": "lib/cloudwatch.generated.ts",
4084 "line": 1904
4085 },
4086 "name": "SingleMetricAnomalyDetectorProperty",
4087 "namespace": "CfnAnomalyDetector",
4088 "properties": [
4089 {
4090 "abstract": true,
4091 "docs": {
4092 "custom": {
4093 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudwatch-anomalydetector-singlemetricanomalydetector.html#cfn-cloudwatch-anomalydetector-singlemetricanomalydetector-dimensions"
4094 },
4095 "stability": "external",
4096 "summary": "The metric dimensions to create the anomaly detection model for."
4097 },
4098 "immutable": true,
4099 "locationInModule": {
4100 "filename": "lib/cloudwatch.generated.ts",
4101 "line": 1910
4102 },
4103 "name": "dimensions",
4104 "optional": true,
4105 "type": {
4106 "union": {
4107 "types": [
4108 {
4109 "fqn": "@aws-cdk/core.IResolvable"
4110 },
4111 {
4112 "collection": {
4113 "elementtype": {
4114 "union": {
4115 "types": [
4116 {
4117 "fqn": "@aws-cdk/core.IResolvable"
4118 },
4119 {
4120 "fqn": "@aws-cdk/aws-cloudwatch.CfnAnomalyDetector.DimensionProperty"
4121 }
4122 ]
4123 }
4124 },
4125 "kind": "array"
4126 }
4127 }
4128 ]
4129 }
4130 }
4131 },
4132 {
4133 "abstract": true,
4134 "docs": {
4135 "custom": {
4136 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudwatch-anomalydetector-singlemetricanomalydetector.html#cfn-cloudwatch-anomalydetector-singlemetricanomalydetector-metricname"
4137 },
4138 "stability": "external",
4139 "summary": "The name of the metric to create the anomaly detection model for."
4140 },
4141 "immutable": true,
4142 "locationInModule": {
4143 "filename": "lib/cloudwatch.generated.ts",
4144 "line": 1916
4145 },
4146 "name": "metricName",
4147 "optional": true,
4148 "type": {
4149 "primitive": "string"
4150 }
4151 },
4152 {
4153 "abstract": true,
4154 "docs": {
4155 "custom": {
4156 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudwatch-anomalydetector-singlemetricanomalydetector.html#cfn-cloudwatch-anomalydetector-singlemetricanomalydetector-namespace"
4157 },
4158 "stability": "external",
4159 "summary": "The namespace of the metric to create the anomaly detection model for."
4160 },
4161 "immutable": true,
4162 "locationInModule": {
4163 "filename": "lib/cloudwatch.generated.ts",
4164 "line": 1922
4165 },
4166 "name": "namespace",
4167 "optional": true,
4168 "type": {
4169 "primitive": "string"
4170 }
4171 },
4172 {
4173 "abstract": true,
4174 "docs": {
4175 "custom": {
4176 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudwatch-anomalydetector-singlemetricanomalydetector.html#cfn-cloudwatch-anomalydetector-singlemetricanomalydetector-stat"
4177 },
4178 "stability": "external",
4179 "summary": "The statistic to use for the metric and anomaly detection model."
4180 },
4181 "immutable": true,
4182 "locationInModule": {
4183 "filename": "lib/cloudwatch.generated.ts",
4184 "line": 1928
4185 },
4186 "name": "stat",
4187 "optional": true,
4188 "type": {
4189 "primitive": "string"
4190 }
4191 }
4192 ],
4193 "symbolId": "lib/cloudwatch.generated:CfnAnomalyDetector.SingleMetricAnomalyDetectorProperty"
4194 },
4195 "@aws-cdk/aws-cloudwatch.CfnAnomalyDetectorProps": {
4196 "assembly": "@aws-cdk/aws-cloudwatch",
4197 "datatype": true,
4198 "docs": {
4199 "custom": {
4200 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudwatch-anomalydetector.html",
4201 "exampleMetadata": "fixture=_generated"
4202 },
4203 "stability": "external",
4204 "summary": "Properties for defining a `CfnAnomalyDetector`.",
4205 "example": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as cloudwatch from '@aws-cdk/aws-cloudwatch';\nconst cfnAnomalyDetectorProps: cloudwatch.CfnAnomalyDetectorProps = {\n configuration: {\n excludedTimeRanges: [{\n endTime: 'endTime',\n startTime: 'startTime',\n }],\n metricTimeZone: 'metricTimeZone',\n },\n dimensions: [{\n name: 'name',\n value: 'value',\n }],\n metricMathAnomalyDetector: {\n metricDataQueries: [{\n id: 'id',\n\n // the properties below are optional\n accountId: 'accountId',\n expression: 'expression',\n label: 'label',\n metricStat: {\n metric: {\n metricName: 'metricName',\n namespace: 'namespace',\n\n // the properties below are optional\n dimensions: [{\n name: 'name',\n value: 'value',\n }],\n },\n period: 123,\n stat: 'stat',\n\n // the properties below are optional\n unit: 'unit',\n },\n period: 123,\n returnData: false,\n }],\n },\n metricName: 'metricName',\n namespace: 'namespace',\n singleMetricAnomalyDetector: {\n dimensions: [{\n name: 'name',\n value: 'value',\n }],\n metricName: 'metricName',\n namespace: 'namespace',\n stat: 'stat',\n },\n stat: 'stat',\n};"
4206 },
4207 "fqn": "@aws-cdk/aws-cloudwatch.CfnAnomalyDetectorProps",
4208 "kind": "interface",
4209 "locationInModule": {
4210 "filename": "lib/cloudwatch.generated.ts",
4211 "line": 1010
4212 },
4213 "name": "CfnAnomalyDetectorProps",
4214 "properties": [
4215 {
4216 "abstract": true,
4217 "docs": {
4218 "custom": {
4219 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudwatch-anomalydetector.html#cfn-cloudwatch-anomalydetector-configuration"
4220 },
4221 "remarks": "The configuration can also include the time zone to use for the metric.",
4222 "stability": "external",
4223 "summary": "Specifies details about how the anomaly detection model is to be trained, including time ranges to exclude when training and updating the model."
4224 },
4225 "immutable": true,
4226 "locationInModule": {
4227 "filename": "lib/cloudwatch.generated.ts",
4228 "line": 1017
4229 },
4230 "name": "configuration",
4231 "optional": true,
4232 "type": {
4233 "union": {
4234 "types": [
4235 {
4236 "fqn": "@aws-cdk/core.IResolvable"
4237 },
4238 {
4239 "fqn": "@aws-cdk/aws-cloudwatch.CfnAnomalyDetector.ConfigurationProperty"
4240 }
4241 ]
4242 }
4243 }
4244 },
4245 {
4246 "abstract": true,
4247 "docs": {
4248 "custom": {
4249 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudwatch-anomalydetector.html#cfn-cloudwatch-anomalydetector-dimensions"
4250 },
4251 "stability": "external",
4252 "summary": "The dimensions of the metric associated with the anomaly detection band."
4253 },
4254 "immutable": true,
4255 "locationInModule": {
4256 "filename": "lib/cloudwatch.generated.ts",
4257 "line": 1024
4258 },
4259 "name": "dimensions",
4260 "optional": true,
4261 "type": {
4262 "union": {
4263 "types": [
4264 {
4265 "fqn": "@aws-cdk/core.IResolvable"
4266 },
4267 {
4268 "collection": {
4269 "elementtype": {
4270 "union": {
4271 "types": [
4272 {
4273 "fqn": "@aws-cdk/core.IResolvable"
4274 },
4275 {
4276 "fqn": "@aws-cdk/aws-cloudwatch.CfnAnomalyDetector.DimensionProperty"
4277 }
4278 ]
4279 }
4280 },
4281 "kind": "array"
4282 }
4283 }
4284 ]
4285 }
4286 }
4287 },
4288 {
4289 "abstract": true,
4290 "docs": {
4291 "custom": {
4292 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudwatch-anomalydetector.html#cfn-cloudwatch-anomalydetector-metricmathanomalydetector"
4293 },
4294 "stability": "external",
4295 "summary": "The CloudWatch metric math expression for this anomaly detector."
4296 },
4297 "immutable": true,
4298 "locationInModule": {
4299 "filename": "lib/cloudwatch.generated.ts",
4300 "line": 1031
4301 },
4302 "name": "metricMathAnomalyDetector",
4303 "optional": true,
4304 "type": {
4305 "union": {
4306 "types": [
4307 {
4308 "fqn": "@aws-cdk/core.IResolvable"
4309 },
4310 {
4311 "fqn": "@aws-cdk/aws-cloudwatch.CfnAnomalyDetector.MetricMathAnomalyDetectorProperty"
4312 }
4313 ]
4314 }
4315 }
4316 },
4317 {
4318 "abstract": true,
4319 "docs": {
4320 "custom": {
4321 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudwatch-anomalydetector.html#cfn-cloudwatch-anomalydetector-metricname"
4322 },
4323 "stability": "external",
4324 "summary": "The name of the metric associated with the anomaly detection band."
4325 },
4326 "immutable": true,
4327 "locationInModule": {
4328 "filename": "lib/cloudwatch.generated.ts",
4329 "line": 1038
4330 },
4331 "name": "metricName",
4332 "optional": true,
4333 "type": {
4334 "primitive": "string"
4335 }
4336 },
4337 {
4338 "abstract": true,
4339 "docs": {
4340 "custom": {
4341 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudwatch-anomalydetector.html#cfn-cloudwatch-anomalydetector-namespace"
4342 },
4343 "stability": "external",
4344 "summary": "The namespace of the metric associated with the anomaly detection band."
4345 },
4346 "immutable": true,
4347 "locationInModule": {
4348 "filename": "lib/cloudwatch.generated.ts",
4349 "line": 1045
4350 },
4351 "name": "namespace",
4352 "optional": true,
4353 "type": {
4354 "primitive": "string"
4355 }
4356 },
4357 {
4358 "abstract": true,
4359 "docs": {
4360 "custom": {
4361 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudwatch-anomalydetector.html#cfn-cloudwatch-anomalydetector-singlemetricanomalydetector"
4362 },
4363 "stability": "external",
4364 "summary": "The CloudWatch metric and statistic for this anomaly detector."
4365 },
4366 "immutable": true,
4367 "locationInModule": {
4368 "filename": "lib/cloudwatch.generated.ts",
4369 "line": 1052
4370 },
4371 "name": "singleMetricAnomalyDetector",
4372 "optional": true,
4373 "type": {
4374 "union": {
4375 "types": [
4376 {
4377 "fqn": "@aws-cdk/core.IResolvable"
4378 },
4379 {
4380 "fqn": "@aws-cdk/aws-cloudwatch.CfnAnomalyDetector.SingleMetricAnomalyDetectorProperty"
4381 }
4382 ]
4383 }
4384 }
4385 },
4386 {
4387 "abstract": true,
4388 "docs": {
4389 "custom": {
4390 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudwatch-anomalydetector.html#cfn-cloudwatch-anomalydetector-stat"
4391 },
4392 "stability": "external",
4393 "summary": "The statistic of the metric associated with the anomaly detection band."
4394 },
4395 "immutable": true,
4396 "locationInModule": {
4397 "filename": "lib/cloudwatch.generated.ts",
4398 "line": 1059
4399 },
4400 "name": "stat",
4401 "optional": true,
4402 "type": {
4403 "primitive": "string"
4404 }
4405 }
4406 ],
4407 "symbolId": "lib/cloudwatch.generated:CfnAnomalyDetectorProps"
4408 },
4409 "@aws-cdk/aws-cloudwatch.CfnCompositeAlarm": {
4410 "assembly": "@aws-cdk/aws-cloudwatch",
4411 "base": "@aws-cdk/core.CfnResource",
4412 "docs": {
4413 "custom": {
4414 "cloudformationResource": "AWS::CloudWatch::CompositeAlarm",
4415 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudwatch-compositealarm.html",
4416 "exampleMetadata": "fixture=_generated"
4417 },
4418 "remarks": "The `AWS::CloudWatch::CompositeAlarm` type creates or updates a composite alarm. When you create a composite alarm, you specify a rule expression for the alarm that takes into account the alarm states of other alarms that you have created. The composite alarm goes into ALARM state only if all conditions of the rule are met.\n\nThe alarms specified in a composite alarm's rule expression can include metric alarms and other composite alarms.\n\nUsing composite alarms can reduce alarm noise. You can create multiple metric alarms, and also create a composite alarm and set up alerts only for the composite alarm. For example, you could create a composite alarm that goes into ALARM state only when more than one of the underlying metric alarms are in ALARM state.\n\nCurrently, the only alarm actions that can be taken by composite alarms are notifying SNS topics.\n\nWhen this operation creates an alarm, the alarm state is immediately set to INSUFFICIENT_DATA. The alarm is then evaluated and its state is set appropriately. Any actions associated with the new state are then executed. For a composite alarm, this initial time after creation is the only time that the alarm can be in INSUFFICIENT_DATA state.\n\nWhen you update an existing alarm, its state is left unchanged, but the update completely overwrites the previous configuration of the alarm.",
4419 "stability": "external",
4420 "summary": "A CloudFormation `AWS::CloudWatch::CompositeAlarm`.",
4421 "example": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as cloudwatch from '@aws-cdk/aws-cloudwatch';\nconst cfnCompositeAlarm = new cloudwatch.CfnCompositeAlarm(this, 'MyCfnCompositeAlarm', {\n alarmRule: 'alarmRule',\n\n // the properties below are optional\n actionsEnabled: false,\n actionsSuppressor: 'actionsSuppressor',\n actionsSuppressorExtensionPeriod: 123,\n actionsSuppressorWaitPeriod: 123,\n alarmActions: ['alarmActions'],\n alarmDescription: 'alarmDescription',\n alarmName: 'alarmName',\n insufficientDataActions: ['insufficientDataActions'],\n okActions: ['okActions'],\n});"
4422 },
4423 "fqn": "@aws-cdk/aws-cloudwatch.CfnCompositeAlarm",
4424 "initializer": {
4425 "docs": {
4426 "stability": "external",
4427 "summary": "Create a new `AWS::CloudWatch::CompositeAlarm`."
4428 },
4429 "locationInModule": {
4430 "filename": "lib/cloudwatch.generated.ts",
4431 "line": 2307
4432 },
4433 "parameters": [
4434 {
4435 "docs": {
4436 "summary": "- scope in which this resource is defined."
4437 },
4438 "name": "scope",
4439 "type": {
4440 "fqn": "@aws-cdk/core.Construct"
4441 }
4442 },
4443 {
4444 "docs": {
4445 "summary": "- scoped id of the resource."
4446 },
4447 "name": "id",
4448 "type": {
4449 "primitive": "string"
4450 }
4451 },
4452 {
4453 "docs": {
4454 "summary": "- resource properties."
4455 },
4456 "name": "props",
4457 "type": {
4458 "fqn": "@aws-cdk/aws-cloudwatch.CfnCompositeAlarmProps"
4459 }
4460 }
4461 ]
4462 },
4463 "interfaces": [
4464 "@aws-cdk/core.IInspectable"
4465 ],
4466 "kind": "class",
4467 "locationInModule": {
4468 "filename": "lib/cloudwatch.generated.ts",
4469 "line": 2181
4470 },
4471 "methods": [
4472 {
4473 "docs": {
4474 "stability": "external",
4475 "summary": "Examines the CloudFormation resource and discloses attributes."
4476 },
4477 "locationInModule": {
4478 "filename": "lib/cloudwatch.generated.ts",
4479 "line": 2330
4480 },
4481 "name": "inspect",
4482 "overrides": "@aws-cdk/core.IInspectable",
4483 "parameters": [
4484 {
4485 "docs": {
4486 "summary": "- tree inspector to collect and process attributes."
4487 },
4488 "name": "inspector",
4489 "type": {
4490 "fqn": "@aws-cdk/core.TreeInspector"
4491 }
4492 }
4493 ]
4494 },
4495 {
4496 "docs": {
4497 "stability": "external"
4498 },
4499 "locationInModule": {
4500 "filename": "lib/cloudwatch.generated.ts",
4501 "line": 2350
4502 },
4503 "name": "renderProperties",
4504 "overrides": "@aws-cdk/core.CfnResource",
4505 "parameters": [
4506 {
4507 "name": "props",
4508 "type": {
4509 "collection": {
4510 "elementtype": {
4511 "primitive": "any"
4512 },
4513 "kind": "map"
4514 }
4515 }
4516 }
4517 ],
4518 "protected": true,
4519 "returns": {
4520 "type": {
4521 "collection": {
4522 "elementtype": {
4523 "primitive": "any"
4524 },
4525 "kind": "map"
4526 }
4527 }
4528 }
4529 }
4530 ],
4531 "name": "CfnCompositeAlarm",
4532 "properties": [
4533 {
4534 "const": true,
4535 "docs": {
4536 "stability": "external",
4537 "summary": "The CloudFormation resource type name for this resource class."
4538 },
4539 "immutable": true,
4540 "locationInModule": {
4541 "filename": "lib/cloudwatch.generated.ts",
4542 "line": 2185
4543 },
4544 "name": "CFN_RESOURCE_TYPE_NAME",
4545 "static": true,
4546 "type": {
4547 "primitive": "string"
4548 }
4549 },
4550 {
4551 "docs": {
4552 "custom": {
4553 "cloudformationAttribute": "Arn"
4554 },
4555 "stability": "external",
4556 "summary": "The ARN of the composite alarm, such as `arn:aws:cloudwatch:us-west-2:123456789012:alarm/CompositeAlarmName` ."
4557 },
4558 "immutable": true,
4559 "locationInModule": {
4560 "filename": "lib/cloudwatch.generated.ts",
4561 "line": 2210
4562 },
4563 "name": "attrArn",
4564 "type": {
4565 "primitive": "string"
4566 }
4567 },
4568 {
4569 "docs": {
4570 "stability": "external"
4571 },
4572 "immutable": true,
4573 "locationInModule": {
4574 "filename": "lib/cloudwatch.generated.ts",
4575 "line": 2335
4576 },
4577 "name": "cfnProperties",
4578 "overrides": "@aws-cdk/core.CfnResource",
4579 "protected": true,
4580 "type": {
4581 "collection": {
4582 "elementtype": {
4583 "primitive": "any"
4584 },
4585 "kind": "map"
4586 }
4587 }
4588 },
4589 {
4590 "docs": {
4591 "custom": {
4592 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudwatch-compositealarm.html#cfn-cloudwatch-compositealarm-alarmrule"
4593 },
4594 "remarks": "For each alarm that you reference, you designate a function that specifies whether that alarm needs to be in ALARM state, OK state, or INSUFFICIENT_DATA state. You can use operators (AND, OR and NOT) to combine multiple functions in a single expression. You can use parenthesis to logically group the functions in your expression.\n\nYou can use either alarm names or ARNs to reference the other alarms that are to be evaluated.\n\nFunctions can include the following:\n\n- ALARM(\"alarm-name or alarm-ARN\") is TRUE if the named alarm is in ALARM state.\n- OK(\"alarm-name or alarm-ARN\") is TRUE if the named alarm is in OK state.\n- INSUFFICIENT_DATA(\"alarm-name or alarm-ARN\") is TRUE if the named alarm is in INSUFFICIENT_DATA state.\n- TRUE always evaluates to TRUE.\n- FALSE always evaluates to FALSE.\n\nTRUE and FALSE are useful for testing a complex AlarmRule structure, and for testing your alarm actions.\n\nFor more information about `AlarmRule` syntax, see [PutCompositeAlarm](https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_PutCompositeAlarm.html) in the *Amazon CloudWatch API Reference* .",
4595 "stability": "external",
4596 "summary": "An expression that specifies which other alarms are to be evaluated to determine this composite alarm's state."
4597 },
4598 "locationInModule": {
4599 "filename": "lib/cloudwatch.generated.ts",
4600 "line": 2231
4601 },
4602 "name": "alarmRule",
4603 "type": {
4604 "primitive": "string"
4605 }
4606 },
4607 {
4608 "docs": {
4609 "custom": {
4610 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudwatch-compositealarm.html#cfn-cloudwatch-compositealarm-actionsenabled"
4611 },
4612 "remarks": "The default is TRUE.",
4613 "stability": "external",
4614 "summary": "Indicates whether actions should be executed during any changes to the alarm state of the composite alarm."
4615 },
4616 "locationInModule": {
4617 "filename": "lib/cloudwatch.generated.ts",
4618 "line": 2238
4619 },
4620 "name": "actionsEnabled",
4621 "optional": true,
4622 "type": {
4623 "union": {
4624 "types": [
4625 {
4626 "primitive": "boolean"
4627 },
4628 {
4629 "fqn": "@aws-cdk/core.IResolvable"
4630 }
4631 ]
4632 }
4633 }
4634 },
4635 {
4636 "docs": {
4637 "custom": {
4638 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudwatch-compositealarm.html#cfn-cloudwatch-compositealarm-actionssuppressor"
4639 },
4640 "remarks": "`ActionsSuppressor` can be an AlarmName or an Amazon Resource Name (ARN) from an existing alarm.",
4641 "stability": "external",
4642 "summary": "Actions will be suppressed if the suppressor alarm is in the `ALARM` state."
4643 },
4644 "locationInModule": {
4645 "filename": "lib/cloudwatch.generated.ts",
4646 "line": 2245
4647 },
4648 "name": "actionsSuppressor",
4649 "optional": true,
4650 "type": {
4651 "primitive": "string"
4652 }
4653 },
4654 {
4655 "docs": {
4656 "custom": {
4657 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudwatch-compositealarm.html#cfn-cloudwatch-compositealarm-actionssuppressorextensionperiod"
4658 },
4659 "remarks": "After this time, the composite alarm performs its actions.\n\n> `ExtensionPeriod` is required only when `ActionsSuppressor` is specified.",
4660 "stability": "external",
4661 "summary": "The maximum time in seconds that the composite alarm waits after suppressor alarm goes out of the `ALARM` state."
4662 },
4663 "locationInModule": {
4664 "filename": "lib/cloudwatch.generated.ts",
4665 "line": 2254
4666 },
4667 "name": "actionsSuppressorExtensionPeriod",
4668 "optional": true,
4669 "type": {
4670 "primitive": "number"
4671 }
4672 },
4673 {
4674 "docs": {
4675 "custom": {
4676 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudwatch-compositealarm.html#cfn-cloudwatch-compositealarm-actionssuppressorwaitperiod"
4677 },
4678 "remarks": "After this time, the composite alarm performs its actions.\n\n> `WaitPeriod` is required only when `ActionsSuppressor` is specified.",
4679 "stability": "external",
4680 "summary": "The maximum time in seconds that the composite alarm waits for the suppressor alarm to go into the `ALARM` state."
4681 },
4682 "locationInModule": {
4683 "filename": "lib/cloudwatch.generated.ts",
4684 "line": 2263
4685 },
4686 "name": "actionsSuppressorWaitPeriod",
4687 "optional": true,
4688 "type": {
4689 "primitive": "number"
4690 }
4691 },
4692 {
4693 "docs": {
4694 "custom": {
4695 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudwatch-compositealarm.html#cfn-cloudwatch-compositealarm-alarmactions"
4696 },
4697 "remarks": "Each action is specified as an Amazon Resource Name (ARN). For more information about creating alarms and the actions that you can specify, see [PutCompositeAlarm](https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_PutCompositeAlarm.html) in the *Amazon CloudWatch API Reference* .",
4698 "stability": "external",
4699 "summary": "The actions to execute when this alarm transitions to the ALARM state from any other state."
4700 },
4701 "locationInModule": {
4702 "filename": "lib/cloudwatch.generated.ts",
4703 "line": 2270
4704 },
4705 "name": "alarmActions",
4706 "optional": true,
4707 "type": {
4708 "collection": {
4709 "elementtype": {
4710 "primitive": "string"
4711 },
4712 "kind": "array"
4713 }
4714 }
4715 },
4716 {
4717 "docs": {
4718 "custom": {
4719 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudwatch-compositealarm.html#cfn-cloudwatch-compositealarm-alarmdescription"
4720 },
4721 "stability": "external",
4722 "summary": "The description for the composite alarm."
4723 },
4724 "locationInModule": {
4725 "filename": "lib/cloudwatch.generated.ts",
4726 "line": 2277
4727 },
4728 "name": "alarmDescription",
4729 "optional": true,
4730 "type": {
4731 "primitive": "string"
4732 }
4733 },
4734 {
4735 "docs": {
4736 "custom": {
4737 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudwatch-compositealarm.html#cfn-cloudwatch-compositealarm-alarmname"
4738 },
4739 "remarks": "This name must be unique within your AWS account.",
4740 "stability": "external",
4741 "summary": "The name for the composite alarm."
4742 },
4743 "locationInModule": {
4744 "filename": "lib/cloudwatch.generated.ts",
4745 "line": 2284
4746 },
4747 "name": "alarmName",
4748 "optional": true,
4749 "type": {
4750 "primitive": "string"
4751 }
4752 },
4753 {
4754 "docs": {
4755 "custom": {
4756 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudwatch-compositealarm.html#cfn-cloudwatch-compositealarm-insufficientdataactions"
4757 },
4758 "remarks": "Each action is specified as an Amazon Resource Name (ARN). For more information about creating alarms and the actions that you can specify, see [PutCompositeAlarm](https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_PutCompositeAlarm.html) in the *Amazon CloudWatch API Reference* .",
4759 "stability": "external",
4760 "summary": "The actions to execute when this alarm transitions to the INSUFFICIENT_DATA state from any other state."
4761 },
4762 "locationInModule": {
4763 "filename": "lib/cloudwatch.generated.ts",
4764 "line": 2291
4765 },
4766 "name": "insufficientDataActions",
4767 "optional": true,
4768 "type": {
4769 "collection": {
4770 "elementtype": {
4771 "primitive": "string"
4772 },
4773 "kind": "array"
4774 }
4775 }
4776 },
4777 {
4778 "docs": {
4779 "custom": {
4780 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudwatch-compositealarm.html#cfn-cloudwatch-compositealarm-okactions"
4781 },
4782 "remarks": "Each action is specified as an Amazon Resource Name (ARN). For more information about creating alarms and the actions that you can specify, see [PutCompositeAlarm](https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_PutCompositeAlarm.html) in the *Amazon CloudWatch API Reference* .",
4783 "stability": "external",
4784 "summary": "The actions to execute when this alarm transitions to the OK state from any other state."
4785 },
4786 "locationInModule": {
4787 "filename": "lib/cloudwatch.generated.ts",
4788 "line": 2298
4789 },
4790 "name": "okActions",
4791 "optional": true,
4792 "type": {
4793 "collection": {
4794 "elementtype": {
4795 "primitive": "string"
4796 },
4797 "kind": "array"
4798 }
4799 }
4800 }
4801 ],
4802 "symbolId": "lib/cloudwatch.generated:CfnCompositeAlarm"
4803 },
4804 "@aws-cdk/aws-cloudwatch.CfnCompositeAlarmProps": {
4805 "assembly": "@aws-cdk/aws-cloudwatch",
4806 "datatype": true,
4807 "docs": {
4808 "custom": {
4809 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudwatch-compositealarm.html",
4810 "exampleMetadata": "fixture=_generated"
4811 },
4812 "stability": "external",
4813 "summary": "Properties for defining a `CfnCompositeAlarm`.",
4814 "example": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as cloudwatch from '@aws-cdk/aws-cloudwatch';\nconst cfnCompositeAlarmProps: cloudwatch.CfnCompositeAlarmProps = {\n alarmRule: 'alarmRule',\n\n // the properties below are optional\n actionsEnabled: false,\n actionsSuppressor: 'actionsSuppressor',\n actionsSuppressorExtensionPeriod: 123,\n actionsSuppressorWaitPeriod: 123,\n alarmActions: ['alarmActions'],\n alarmDescription: 'alarmDescription',\n alarmName: 'alarmName',\n insufficientDataActions: ['insufficientDataActions'],\n okActions: ['okActions'],\n};"
4815 },
4816 "fqn": "@aws-cdk/aws-cloudwatch.CfnCompositeAlarmProps",
4817 "kind": "interface",
4818 "locationInModule": {
4819 "filename": "lib/cloudwatch.generated.ts",
4820 "line": 1997
4821 },
4822 "name": "CfnCompositeAlarmProps",
4823 "properties": [
4824 {
4825 "abstract": true,
4826 "docs": {
4827 "custom": {
4828 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudwatch-compositealarm.html#cfn-cloudwatch-compositealarm-alarmrule"
4829 },
4830 "remarks": "For each alarm that you reference, you designate a function that specifies whether that alarm needs to be in ALARM state, OK state, or INSUFFICIENT_DATA state. You can use operators (AND, OR and NOT) to combine multiple functions in a single expression. You can use parenthesis to logically group the functions in your expression.\n\nYou can use either alarm names or ARNs to reference the other alarms that are to be evaluated.\n\nFunctions can include the following:\n\n- ALARM(\"alarm-name or alarm-ARN\") is TRUE if the named alarm is in ALARM state.\n- OK(\"alarm-name or alarm-ARN\") is TRUE if the named alarm is in OK state.\n- INSUFFICIENT_DATA(\"alarm-name or alarm-ARN\") is TRUE if the named alarm is in INSUFFICIENT_DATA state.\n- TRUE always evaluates to TRUE.\n- FALSE always evaluates to FALSE.\n\nTRUE and FALSE are useful for testing a complex AlarmRule structure, and for testing your alarm actions.\n\nFor more information about `AlarmRule` syntax, see [PutCompositeAlarm](https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_PutCompositeAlarm.html) in the *Amazon CloudWatch API Reference* .",
4831 "stability": "external",
4832 "summary": "An expression that specifies which other alarms are to be evaluated to determine this composite alarm's state."
4833 },
4834 "immutable": true,
4835 "locationInModule": {
4836 "filename": "lib/cloudwatch.generated.ts",
4837 "line": 2018
4838 },
4839 "name": "alarmRule",
4840 "type": {
4841 "primitive": "string"
4842 }
4843 },
4844 {
4845 "abstract": true,
4846 "docs": {
4847 "custom": {
4848 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudwatch-compositealarm.html#cfn-cloudwatch-compositealarm-actionsenabled"
4849 },
4850 "remarks": "The default is TRUE.",
4851 "stability": "external",
4852 "summary": "Indicates whether actions should be executed during any changes to the alarm state of the composite alarm."
4853 },
4854 "immutable": true,
4855 "locationInModule": {
4856 "filename": "lib/cloudwatch.generated.ts",
4857 "line": 2025
4858 },
4859 "name": "actionsEnabled",
4860 "optional": true,
4861 "type": {
4862 "union": {
4863 "types": [
4864 {
4865 "primitive": "boolean"
4866 },
4867 {
4868 "fqn": "@aws-cdk/core.IResolvable"
4869 }
4870 ]
4871 }
4872 }
4873 },
4874 {
4875 "abstract": true,
4876 "docs": {
4877 "custom": {
4878 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudwatch-compositealarm.html#cfn-cloudwatch-compositealarm-actionssuppressor"
4879 },
4880 "remarks": "`ActionsSuppressor` can be an AlarmName or an Amazon Resource Name (ARN) from an existing alarm.",
4881 "stability": "external",
4882 "summary": "Actions will be suppressed if the suppressor alarm is in the `ALARM` state."
4883 },
4884 "immutable": true,
4885 "locationInModule": {
4886 "filename": "lib/cloudwatch.generated.ts",
4887 "line": 2032
4888 },
4889 "name": "actionsSuppressor",
4890 "optional": true,
4891 "type": {
4892 "primitive": "string"
4893 }
4894 },
4895 {
4896 "abstract": true,
4897 "docs": {
4898 "custom": {
4899 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudwatch-compositealarm.html#cfn-cloudwatch-compositealarm-actionssuppressorextensionperiod"
4900 },
4901 "remarks": "After this time, the composite alarm performs its actions.\n\n> `ExtensionPeriod` is required only when `ActionsSuppressor` is specified.",
4902 "stability": "external",
4903 "summary": "The maximum time in seconds that the composite alarm waits after suppressor alarm goes out of the `ALARM` state."
4904 },
4905 "immutable": true,
4906 "locationInModule": {
4907 "filename": "lib/cloudwatch.generated.ts",
4908 "line": 2041
4909 },
4910 "name": "actionsSuppressorExtensionPeriod",
4911 "optional": true,
4912 "type": {
4913 "primitive": "number"
4914 }
4915 },
4916 {
4917 "abstract": true,
4918 "docs": {
4919 "custom": {
4920 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudwatch-compositealarm.html#cfn-cloudwatch-compositealarm-actionssuppressorwaitperiod"
4921 },
4922 "remarks": "After this time, the composite alarm performs its actions.\n\n> `WaitPeriod` is required only when `ActionsSuppressor` is specified.",
4923 "stability": "external",
4924 "summary": "The maximum time in seconds that the composite alarm waits for the suppressor alarm to go into the `ALARM` state."
4925 },
4926 "immutable": true,
4927 "locationInModule": {
4928 "filename": "lib/cloudwatch.generated.ts",
4929 "line": 2050
4930 },
4931 "name": "actionsSuppressorWaitPeriod",
4932 "optional": true,
4933 "type": {
4934 "primitive": "number"
4935 }
4936 },
4937 {
4938 "abstract": true,
4939 "docs": {
4940 "custom": {
4941 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudwatch-compositealarm.html#cfn-cloudwatch-compositealarm-alarmactions"
4942 },
4943 "remarks": "Each action is specified as an Amazon Resource Name (ARN). For more information about creating alarms and the actions that you can specify, see [PutCompositeAlarm](https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_PutCompositeAlarm.html) in the *Amazon CloudWatch API Reference* .",
4944 "stability": "external",
4945 "summary": "The actions to execute when this alarm transitions to the ALARM state from any other state."
4946 },
4947 "immutable": true,
4948 "locationInModule": {
4949 "filename": "lib/cloudwatch.generated.ts",
4950 "line": 2057
4951 },
4952 "name": "alarmActions",
4953 "optional": true,
4954 "type": {
4955 "collection": {
4956 "elementtype": {
4957 "primitive": "string"
4958 },
4959 "kind": "array"
4960 }
4961 }
4962 },
4963 {
4964 "abstract": true,
4965 "docs": {
4966 "custom": {
4967 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudwatch-compositealarm.html#cfn-cloudwatch-compositealarm-alarmdescription"
4968 },
4969 "stability": "external",
4970 "summary": "The description for the composite alarm."
4971 },
4972 "immutable": true,
4973 "locationInModule": {
4974 "filename": "lib/cloudwatch.generated.ts",
4975 "line": 2064
4976 },
4977 "name": "alarmDescription",
4978 "optional": true,
4979 "type": {
4980 "primitive": "string"
4981 }
4982 },
4983 {
4984 "abstract": true,
4985 "docs": {
4986 "custom": {
4987 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudwatch-compositealarm.html#cfn-cloudwatch-compositealarm-alarmname"
4988 },
4989 "remarks": "This name must be unique within your AWS account.",
4990 "stability": "external",
4991 "summary": "The name for the composite alarm."
4992 },
4993 "immutable": true,
4994 "locationInModule": {
4995 "filename": "lib/cloudwatch.generated.ts",
4996 "line": 2071
4997 },
4998 "name": "alarmName",
4999 "optional": true,
5000 "type": {
5001 "primitive": "string"
5002 }
5003 },
5004 {
5005 "abstract": true,
5006 "docs": {
5007 "custom": {
5008 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudwatch-compositealarm.html#cfn-cloudwatch-compositealarm-insufficientdataactions"
5009 },
5010 "remarks": "Each action is specified as an Amazon Resource Name (ARN). For more information about creating alarms and the actions that you can specify, see [PutCompositeAlarm](https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_PutCompositeAlarm.html) in the *Amazon CloudWatch API Reference* .",
5011 "stability": "external",
5012 "summary": "The actions to execute when this alarm transitions to the INSUFFICIENT_DATA state from any other state."
5013 },
5014 "immutable": true,
5015 "locationInModule": {
5016 "filename": "lib/cloudwatch.generated.ts",
5017 "line": 2078
5018 },
5019 "name": "insufficientDataActions",
5020 "optional": true,
5021 "type": {
5022 "collection": {
5023 "elementtype": {
5024 "primitive": "string"
5025 },
5026 "kind": "array"
5027 }
5028 }
5029 },
5030 {
5031 "abstract": true,
5032 "docs": {
5033 "custom": {
5034 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudwatch-compositealarm.html#cfn-cloudwatch-compositealarm-okactions"
5035 },
5036 "remarks": "Each action is specified as an Amazon Resource Name (ARN). For more information about creating alarms and the actions that you can specify, see [PutCompositeAlarm](https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_PutCompositeAlarm.html) in the *Amazon CloudWatch API Reference* .",
5037 "stability": "external",
5038 "summary": "The actions to execute when this alarm transitions to the OK state from any other state."
5039 },
5040 "immutable": true,
5041 "locationInModule": {
5042 "filename": "lib/cloudwatch.generated.ts",
5043 "line": 2085
5044 },
5045 "name": "okActions",
5046 "optional": true,
5047 "type": {
5048 "collection": {
5049 "elementtype": {
5050 "primitive": "string"
5051 },
5052 "kind": "array"
5053 }
5054 }
5055 }
5056 ],
5057 "symbolId": "lib/cloudwatch.generated:CfnCompositeAlarmProps"
5058 },
5059 "@aws-cdk/aws-cloudwatch.CfnDashboard": {
5060 "assembly": "@aws-cdk/aws-cloudwatch",
5061 "base": "@aws-cdk/core.CfnResource",
5062 "docs": {
5063 "custom": {
5064 "cloudformationResource": "AWS::CloudWatch::Dashboard",
5065 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudwatch-dashboard.html",
5066 "exampleMetadata": "fixture=_generated"
5067 },
5068 "remarks": "The `AWS::CloudWatch::Dashboard` resource specifies an Amazon CloudWatch dashboard. A dashboard is a customizable home page in the CloudWatch console that you can use to monitor your AWS resources in a single view.\n\nAll dashboards in your account are global, not region-specific.",
5069 "stability": "external",
5070 "summary": "A CloudFormation `AWS::CloudWatch::Dashboard`.",
5071 "example": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as cloudwatch from '@aws-cdk/aws-cloudwatch';\nconst cfnDashboard = new cloudwatch.CfnDashboard(this, 'MyCfnDashboard', {\n dashboardBody: 'dashboardBody',\n\n // the properties below are optional\n dashboardName: 'dashboardName',\n});"
5072 },
5073 "fqn": "@aws-cdk/aws-cloudwatch.CfnDashboard",
5074 "initializer": {
5075 "docs": {
5076 "stability": "external",
5077 "summary": "Create a new `AWS::CloudWatch::Dashboard`."
5078 },
5079 "locationInModule": {
5080 "filename": "lib/cloudwatch.generated.ts",
5081 "line": 2491
5082 },
5083 "parameters": [
5084 {
5085 "docs": {
5086 "summary": "- scope in which this resource is defined."
5087 },
5088 "name": "scope",
5089 "type": {
5090 "fqn": "@aws-cdk/core.Construct"
5091 }
5092 },
5093 {
5094 "docs": {
5095 "summary": "- scoped id of the resource."
5096 },
5097 "name": "id",
5098 "type": {
5099 "primitive": "string"
5100 }
5101 },
5102 {
5103 "docs": {
5104 "summary": "- resource properties."
5105 },
5106 "name": "props",
5107 "type": {
5108 "fqn": "@aws-cdk/aws-cloudwatch.CfnDashboardProps"
5109 }
5110 }
5111 ]
5112 },
5113 "interfaces": [
5114 "@aws-cdk/core.IInspectable"
5115 ],
5116 "kind": "class",
5117 "locationInModule": {
5118 "filename": "lib/cloudwatch.generated.ts",
5119 "line": 2443
5120 },
5121 "methods": [
5122 {
5123 "docs": {
5124 "stability": "external",
5125 "summary": "Examines the CloudFormation resource and discloses attributes."
5126 },
5127 "locationInModule": {
5128 "filename": "lib/cloudwatch.generated.ts",
5129 "line": 2505
5130 },
5131 "name": "inspect",
5132 "overrides": "@aws-cdk/core.IInspectable",
5133 "parameters": [
5134 {
5135 "docs": {
5136 "summary": "- tree inspector to collect and process attributes."
5137 },
5138 "name": "inspector",
5139 "type": {
5140 "fqn": "@aws-cdk/core.TreeInspector"
5141 }
5142 }
5143 ]
5144 },
5145 {
5146 "docs": {
5147 "stability": "external"
5148 },
5149 "locationInModule": {
5150 "filename": "lib/cloudwatch.generated.ts",
5151 "line": 2517
5152 },
5153 "name": "renderProperties",
5154 "overrides": "@aws-cdk/core.CfnResource",
5155 "parameters": [
5156 {
5157 "name": "props",
5158 "type": {
5159 "collection": {
5160 "elementtype": {
5161 "primitive": "any"
5162 },
5163 "kind": "map"
5164 }
5165 }
5166 }
5167 ],
5168 "protected": true,
5169 "returns": {
5170 "type": {
5171 "collection": {
5172 "elementtype": {
5173 "primitive": "any"
5174 },
5175 "kind": "map"
5176 }
5177 }
5178 }
5179 }
5180 ],
5181 "name": "CfnDashboard",
5182 "properties": [
5183 {
5184 "const": true,
5185 "docs": {
5186 "stability": "external",
5187 "summary": "The CloudFormation resource type name for this resource class."
5188 },
5189 "immutable": true,
5190 "locationInModule": {
5191 "filename": "lib/cloudwatch.generated.ts",
5192 "line": 2447
5193 },
5194 "name": "CFN_RESOURCE_TYPE_NAME",
5195 "static": true,
5196 "type": {
5197 "primitive": "string"
5198 }
5199 },
5200 {
5201 "docs": {
5202 "stability": "external"
5203 },
5204 "immutable": true,
5205 "locationInModule": {
5206 "filename": "lib/cloudwatch.generated.ts",
5207 "line": 2510
5208 },
5209 "name": "cfnProperties",
5210 "overrides": "@aws-cdk/core.CfnResource",
5211 "protected": true,
5212 "type": {
5213 "collection": {
5214 "elementtype": {
5215 "primitive": "any"
5216 },
5217 "kind": "map"
5218 }
5219 }
5220 },
5221 {
5222 "docs": {
5223 "custom": {
5224 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudwatch-dashboard.html#cfn-cloudwatch-dashboard-dashboardbody"
5225 },
5226 "remarks": "This parameter is required.\n\nFor more information about the syntax, see [Dashboard Body Structure and Syntax](https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/CloudWatch-Dashboard-Body-Structure.html) .",
5227 "stability": "external",
5228 "summary": "The detailed information about the dashboard in JSON format, including the widgets to include and their location on the dashboard."
5229 },
5230 "locationInModule": {
5231 "filename": "lib/cloudwatch.generated.ts",
5232 "line": 2475
5233 },
5234 "name": "dashboardBody",
5235 "type": {
5236 "primitive": "string"
5237 }
5238 },
5239 {
5240 "docs": {
5241 "custom": {
5242 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudwatch-dashboard.html#cfn-cloudwatch-dashboard-dashboardname"
5243 },
5244 "remarks": "The name must be between 1 and 255 characters. If you do not specify a name, one will be generated automatically.",
5245 "stability": "external",
5246 "summary": "The name of the dashboard."
5247 },
5248 "locationInModule": {
5249 "filename": "lib/cloudwatch.generated.ts",
5250 "line": 2482
5251 },
5252 "name": "dashboardName",
5253 "optional": true,
5254 "type": {
5255 "primitive": "string"
5256 }
5257 }
5258 ],
5259 "symbolId": "lib/cloudwatch.generated:CfnDashboard"
5260 },
5261 "@aws-cdk/aws-cloudwatch.CfnDashboardProps": {
5262 "assembly": "@aws-cdk/aws-cloudwatch",
5263 "datatype": true,
5264 "docs": {
5265 "custom": {
5266 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudwatch-dashboard.html",
5267 "exampleMetadata": "fixture=_generated"
5268 },
5269 "stability": "external",
5270 "summary": "Properties for defining a `CfnDashboard`.",
5271 "example": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as cloudwatch from '@aws-cdk/aws-cloudwatch';\nconst cfnDashboardProps: cloudwatch.CfnDashboardProps = {\n dashboardBody: 'dashboardBody',\n\n // the properties below are optional\n dashboardName: 'dashboardName',\n};"
5272 },
5273 "fqn": "@aws-cdk/aws-cloudwatch.CfnDashboardProps",
5274 "kind": "interface",
5275 "locationInModule": {
5276 "filename": "lib/cloudwatch.generated.ts",
5277 "line": 2363
5278 },
5279 "name": "CfnDashboardProps",
5280 "properties": [
5281 {
5282 "abstract": true,
5283 "docs": {
5284 "custom": {
5285 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudwatch-dashboard.html#cfn-cloudwatch-dashboard-dashboardbody"
5286 },
5287 "remarks": "This parameter is required.\n\nFor more information about the syntax, see [Dashboard Body Structure and Syntax](https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/CloudWatch-Dashboard-Body-Structure.html) .",
5288 "stability": "external",
5289 "summary": "The detailed information about the dashboard in JSON format, including the widgets to include and their location on the dashboard."
5290 },
5291 "immutable": true,
5292 "locationInModule": {
5293 "filename": "lib/cloudwatch.generated.ts",
5294 "line": 2372
5295 },
5296 "name": "dashboardBody",
5297 "type": {
5298 "primitive": "string"
5299 }
5300 },
5301 {
5302 "abstract": true,
5303 "docs": {
5304 "custom": {
5305 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudwatch-dashboard.html#cfn-cloudwatch-dashboard-dashboardname"
5306 },
5307 "remarks": "The name must be between 1 and 255 characters. If you do not specify a name, one will be generated automatically.",
5308 "stability": "external",
5309 "summary": "The name of the dashboard."
5310 },
5311 "immutable": true,
5312 "locationInModule": {
5313 "filename": "lib/cloudwatch.generated.ts",
5314 "line": 2379
5315 },
5316 "name": "dashboardName",
5317 "optional": true,
5318 "type": {
5319 "primitive": "string"
5320 }
5321 }
5322 ],
5323 "symbolId": "lib/cloudwatch.generated:CfnDashboardProps"
5324 },
5325 "@aws-cdk/aws-cloudwatch.CfnInsightRule": {
5326 "assembly": "@aws-cdk/aws-cloudwatch",
5327 "base": "@aws-cdk/core.CfnResource",
5328 "docs": {
5329 "custom": {
5330 "cloudformationResource": "AWS::CloudWatch::InsightRule",
5331 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudwatch-insightrule.html",
5332 "exampleMetadata": "fixture=_generated"
5333 },
5334 "remarks": "Creates or updates a Contributor Insights rule. Rules evaluate log events in a CloudWatch Logs log group, enabling you to find contributor data for the log events in that log group. For more information, see [Using Contributor Insights to Analyze High-Cardinality Data](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/ContributorInsights.html) in the *Amazon CloudWatch User Guide* .",
5335 "stability": "external",
5336 "summary": "A CloudFormation `AWS::CloudWatch::InsightRule`.",
5337 "example": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as cloudwatch from '@aws-cdk/aws-cloudwatch';\nconst cfnInsightRule = new cloudwatch.CfnInsightRule(this, 'MyCfnInsightRule', {\n ruleBody: 'ruleBody',\n ruleName: 'ruleName',\n ruleState: 'ruleState',\n\n // the properties below are optional\n tags: [{\n key: 'key',\n value: 'value',\n }],\n});"
5338 },
5339 "fqn": "@aws-cdk/aws-cloudwatch.CfnInsightRule",
5340 "initializer": {
5341 "docs": {
5342 "stability": "external",
5343 "summary": "Create a new `AWS::CloudWatch::InsightRule`."
5344 },
5345 "locationInModule": {
5346 "filename": "lib/cloudwatch.generated.ts",
5347 "line": 2708
5348 },
5349 "parameters": [
5350 {
5351 "docs": {
5352 "summary": "- scope in which this resource is defined."
5353 },
5354 "name": "scope",
5355 "type": {
5356 "fqn": "@aws-cdk/core.Construct"
5357 }
5358 },
5359 {
5360 "docs": {
5361 "summary": "- scoped id of the resource."
5362 },
5363 "name": "id",
5364 "type": {
5365 "primitive": "string"
5366 }
5367 },
5368 {
5369 "docs": {
5370 "summary": "- resource properties."
5371 },
5372 "name": "props",
5373 "type": {
5374 "fqn": "@aws-cdk/aws-cloudwatch.CfnInsightRuleProps"
5375 }
5376 }
5377 ]
5378 },
5379 "interfaces": [
5380 "@aws-cdk/core.IInspectable"
5381 ],
5382 "kind": "class",
5383 "locationInModule": {
5384 "filename": "lib/cloudwatch.generated.ts",
5385 "line": 2632
5386 },
5387 "methods": [
5388 {
5389 "docs": {
5390 "stability": "external",
5391 "summary": "Examines the CloudFormation resource and discloses attributes."
5392 },
5393 "locationInModule": {
5394 "filename": "lib/cloudwatch.generated.ts",
5395 "line": 2728
5396 },
5397 "name": "inspect",
5398 "overrides": "@aws-cdk/core.IInspectable",
5399 "parameters": [
5400 {
5401 "docs": {
5402 "summary": "- tree inspector to collect and process attributes."
5403 },
5404 "name": "inspector",
5405 "type": {
5406 "fqn": "@aws-cdk/core.TreeInspector"
5407 }
5408 }
5409 ]
5410 },
5411 {
5412 "docs": {
5413 "stability": "external"
5414 },
5415 "locationInModule": {
5416 "filename": "lib/cloudwatch.generated.ts",
5417 "line": 2742
5418 },
5419 "name": "renderProperties",
5420 "overrides": "@aws-cdk/core.CfnResource",
5421 "parameters": [
5422 {
5423 "name": "props",
5424 "type": {
5425 "collection": {
5426 "elementtype": {
5427 "primitive": "any"
5428 },
5429 "kind": "map"
5430 }
5431 }
5432 }
5433 ],
5434 "protected": true,
5435 "returns": {
5436 "type": {
5437 "collection": {
5438 "elementtype": {
5439 "primitive": "any"
5440 },
5441 "kind": "map"
5442 }
5443 }
5444 }
5445 }
5446 ],
5447 "name": "CfnInsightRule",
5448 "properties": [
5449 {
5450 "const": true,
5451 "docs": {
5452 "stability": "external",
5453 "summary": "The CloudFormation resource type name for this resource class."
5454 },
5455 "immutable": true,
5456 "locationInModule": {
5457 "filename": "lib/cloudwatch.generated.ts",
5458 "line": 2636
5459 },
5460 "name": "CFN_RESOURCE_TYPE_NAME",
5461 "static": true,
5462 "type": {
5463 "primitive": "string"
5464 }
5465 },
5466 {
5467 "docs": {
5468 "custom": {
5469 "cloudformationAttribute": "Arn"
5470 },
5471 "stability": "external",
5472 "summary": "The ARN of the Contributor Insights rule, such as `arn:aws:cloudwatch:us-west-2:123456789012:insight-rule/MyInsightRuleName` ."
5473 },
5474 "immutable": true,
5475 "locationInModule": {
5476 "filename": "lib/cloudwatch.generated.ts",
5477 "line": 2661
5478 },
5479 "name": "attrArn",
5480 "type": {
5481 "primitive": "string"
5482 }
5483 },
5484 {
5485 "docs": {
5486 "custom": {
5487 "cloudformationAttribute": "RuleName"
5488 },
5489 "stability": "external",
5490 "summary": "The name of the Contributor Insights rule."
5491 },
5492 "immutable": true,
5493 "locationInModule": {
5494 "filename": "lib/cloudwatch.generated.ts",
5495 "line": 2667
5496 },
5497 "name": "attrRuleName",
5498 "type": {
5499 "primitive": "string"
5500 }
5501 },
5502 {
5503 "docs": {
5504 "stability": "external"
5505 },
5506 "immutable": true,
5507 "locationInModule": {
5508 "filename": "lib/cloudwatch.generated.ts",
5509 "line": 2733
5510 },
5511 "name": "cfnProperties",
5512 "overrides": "@aws-cdk/core.CfnResource",
5513 "protected": true,
5514 "type": {
5515 "collection": {
5516 "elementtype": {
5517 "primitive": "any"
5518 },
5519 "kind": "map"
5520 }
5521 }
5522 },
5523 {
5524 "docs": {
5525 "custom": {
5526 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudwatch-insightrule.html#cfn-cloudwatch-insightrule-tags"
5527 },
5528 "remarks": "You can associate as many as 50 tags with a rule.\n\nTags can help you organize and categorize your resources. For more information, see [Tagging Your Amazon CloudWatch Resources](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-Tagging.html) .\n\nTo be able to associate tags with a rule, you must have the `cloudwatch:TagResource` permission in addition to the `cloudwatch:PutInsightRule` permission.",
5529 "stability": "external",
5530 "summary": "A list of key-value pairs to associate with the Contributor Insights rule."
5531 },
5532 "immutable": true,
5533 "locationInModule": {
5534 "filename": "lib/cloudwatch.generated.ts",
5535 "line": 2699
5536 },
5537 "name": "tags",
5538 "type": {
5539 "fqn": "@aws-cdk/core.TagManager"
5540 }
5541 },
5542 {
5543 "docs": {
5544 "custom": {
5545 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudwatch-insightrule.html#cfn-cloudwatch-insightrule-rulebody"
5546 },
5547 "remarks": "For details about the syntax, see [Contributor Insights Rule Syntax](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/ContributorInsights-RuleSyntax.html) in the *Amazon CloudWatch User Guide* .",
5548 "stability": "external",
5549 "summary": "The definition of the rule, as a JSON object."
5550 },
5551 "locationInModule": {
5552 "filename": "lib/cloudwatch.generated.ts",
5553 "line": 2674
5554 },
5555 "name": "ruleBody",
5556 "type": {
5557 "primitive": "string"
5558 }
5559 },
5560 {
5561 "docs": {
5562 "custom": {
5563 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudwatch-insightrule.html#cfn-cloudwatch-insightrule-rulename"
5564 },
5565 "stability": "external",
5566 "summary": "The name of the rule."
5567 },
5568 "locationInModule": {
5569 "filename": "lib/cloudwatch.generated.ts",
5570 "line": 2681
5571 },
5572 "name": "ruleName",
5573 "type": {
5574 "primitive": "string"
5575 }
5576 },
5577 {
5578 "docs": {
5579 "custom": {
5580 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudwatch-insightrule.html#cfn-cloudwatch-insightrule-rulestate"
5581 },
5582 "remarks": "Valid values are `ENABLED` and `DISABLED` .",
5583 "stability": "external",
5584 "summary": "The current state of the rule."
5585 },
5586 "locationInModule": {
5587 "filename": "lib/cloudwatch.generated.ts",
5588 "line": 2688
5589 },
5590 "name": "ruleState",
5591 "type": {
5592 "primitive": "string"
5593 }
5594 }
5595 ],
5596 "symbolId": "lib/cloudwatch.generated:CfnInsightRule"
5597 },
5598 "@aws-cdk/aws-cloudwatch.CfnInsightRuleProps": {
5599 "assembly": "@aws-cdk/aws-cloudwatch",
5600 "datatype": true,
5601 "docs": {
5602 "custom": {
5603 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudwatch-insightrule.html",
5604 "exampleMetadata": "fixture=_generated"
5605 },
5606 "stability": "external",
5607 "summary": "Properties for defining a `CfnInsightRule`.",
5608 "example": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as cloudwatch from '@aws-cdk/aws-cloudwatch';\nconst cfnInsightRuleProps: cloudwatch.CfnInsightRuleProps = {\n ruleBody: 'ruleBody',\n ruleName: 'ruleName',\n ruleState: 'ruleState',\n\n // the properties below are optional\n tags: [{\n key: 'key',\n value: 'value',\n }],\n};"
5609 },
5610 "fqn": "@aws-cdk/aws-cloudwatch.CfnInsightRuleProps",
5611 "kind": "interface",
5612 "locationInModule": {
5613 "filename": "lib/cloudwatch.generated.ts",
5614 "line": 2530
5615 },
5616 "name": "CfnInsightRuleProps",
5617 "properties": [
5618 {
5619 "abstract": true,
5620 "docs": {
5621 "custom": {
5622 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudwatch-insightrule.html#cfn-cloudwatch-insightrule-rulebody"
5623 },
5624 "remarks": "For details about the syntax, see [Contributor Insights Rule Syntax](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/ContributorInsights-RuleSyntax.html) in the *Amazon CloudWatch User Guide* .",
5625 "stability": "external",
5626 "summary": "The definition of the rule, as a JSON object."
5627 },
5628 "immutable": true,
5629 "locationInModule": {
5630 "filename": "lib/cloudwatch.generated.ts",
5631 "line": 2537
5632 },
5633 "name": "ruleBody",
5634 "type": {
5635 "primitive": "string"
5636 }
5637 },
5638 {
5639 "abstract": true,
5640 "docs": {
5641 "custom": {
5642 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudwatch-insightrule.html#cfn-cloudwatch-insightrule-rulename"
5643 },
5644 "stability": "external",
5645 "summary": "The name of the rule."
5646 },
5647 "immutable": true,
5648 "locationInModule": {
5649 "filename": "lib/cloudwatch.generated.ts",
5650 "line": 2544
5651 },
5652 "name": "ruleName",
5653 "type": {
5654 "primitive": "string"
5655 }
5656 },
5657 {
5658 "abstract": true,
5659 "docs": {
5660 "custom": {
5661 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudwatch-insightrule.html#cfn-cloudwatch-insightrule-rulestate"
5662 },
5663 "remarks": "Valid values are `ENABLED` and `DISABLED` .",
5664 "stability": "external",
5665 "summary": "The current state of the rule."
5666 },
5667 "immutable": true,
5668 "locationInModule": {
5669 "filename": "lib/cloudwatch.generated.ts",
5670 "line": 2551
5671 },
5672 "name": "ruleState",
5673 "type": {
5674 "primitive": "string"
5675 }
5676 },
5677 {
5678 "abstract": true,
5679 "docs": {
5680 "custom": {
5681 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudwatch-insightrule.html#cfn-cloudwatch-insightrule-tags"
5682 },
5683 "remarks": "You can associate as many as 50 tags with a rule.\n\nTags can help you organize and categorize your resources. For more information, see [Tagging Your Amazon CloudWatch Resources](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-Tagging.html) .\n\nTo be able to associate tags with a rule, you must have the `cloudwatch:TagResource` permission in addition to the `cloudwatch:PutInsightRule` permission.",
5684 "stability": "external",
5685 "summary": "A list of key-value pairs to associate with the Contributor Insights rule."
5686 },
5687 "immutable": true,
5688 "locationInModule": {
5689 "filename": "lib/cloudwatch.generated.ts",
5690 "line": 2562
5691 },
5692 "name": "tags",
5693 "optional": true,
5694 "type": {
5695 "union": {
5696 "types": [
5697 {
5698 "fqn": "@aws-cdk/core.IResolvable"
5699 },
5700 {
5701 "collection": {
5702 "elementtype": {
5703 "union": {
5704 "types": [
5705 {
5706 "fqn": "@aws-cdk/core.IResolvable"
5707 },
5708 {
5709 "fqn": "@aws-cdk/core.CfnTag"
5710 }
5711 ]
5712 }
5713 },
5714 "kind": "array"
5715 }
5716 }
5717 ]
5718 }
5719 }
5720 }
5721 ],
5722 "symbolId": "lib/cloudwatch.generated:CfnInsightRuleProps"
5723 },
5724 "@aws-cdk/aws-cloudwatch.CfnMetricStream": {
5725 "assembly": "@aws-cdk/aws-cloudwatch",
5726 "base": "@aws-cdk/core.CfnResource",
5727 "docs": {
5728 "custom": {
5729 "cloudformationResource": "AWS::CloudWatch::MetricStream",
5730 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudwatch-metricstream.html",
5731 "exampleMetadata": "fixture=_generated"
5732 },
5733 "remarks": "Creates or updates a metric stream. Metrics streams can automatically stream CloudWatch metrics to AWS destinations including Amazon S3 and to many third-party solutions. For more information, see [Metric streams](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-Metric-Streams.html) .\n\nTo create a metric stream, you must be logged on to an account that has the `iam:PassRole` permission and either the *CloudWatchFullAccess* policy or the `cloudwatch:PutMetricStream` permission.\n\nWhen you create or update a metric stream, you choose one of the following:\n\n- Stream metrics from all metric namespaces in the account.\n- Stream metrics from all metric namespaces in the account, except for the namespaces that you list in `ExcludeFilters` .\n- Stream metrics from only the metric namespaces that you list in `IncludeFilters` .\n\nWhen you create a metric stream, the stream is created in the `running` state. If you update an existing metric stream, the state does not change.\n\nIf you create a metric stream in an account that has been set up as a monitoring account in CloudWatch cross-account observability, you can choose whether to include metrics from linked source accounts in the metric stream.",
5734 "stability": "external",
5735 "summary": "A CloudFormation `AWS::CloudWatch::MetricStream`.",
5736 "example": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as cloudwatch from '@aws-cdk/aws-cloudwatch';\nconst cfnMetricStream = new cloudwatch.CfnMetricStream(this, 'MyCfnMetricStream', {\n firehoseArn: 'firehoseArn',\n outputFormat: 'outputFormat',\n roleArn: 'roleArn',\n\n // the properties below are optional\n excludeFilters: [{\n namespace: 'namespace',\n\n // the properties below are optional\n metricNames: ['metricNames'],\n }],\n includeFilters: [{\n namespace: 'namespace',\n\n // the properties below are optional\n metricNames: ['metricNames'],\n }],\n includeLinkedAccountsMetrics: false,\n name: 'name',\n statisticsConfigurations: [{\n additionalStatistics: ['additionalStatistics'],\n includeMetrics: [{\n metricName: 'metricName',\n namespace: 'namespace',\n }],\n }],\n tags: [{\n key: 'key',\n value: 'value',\n }],\n});"
5737 },
5738 "fqn": "@aws-cdk/aws-cloudwatch.CfnMetricStream",
5739 "initializer": {
5740 "docs": {
5741 "stability": "external",
5742 "summary": "Create a new `AWS::CloudWatch::MetricStream`."
5743 },
5744 "locationInModule": {
5745 "filename": "lib/cloudwatch.generated.ts",
5746 "line": 3062
5747 },
5748 "parameters": [
5749 {
5750 "docs": {
5751 "summary": "- scope in which this resource is defined."
5752 },
5753 "name": "scope",
5754 "type": {
5755 "fqn": "@aws-cdk/core.Construct"
5756 }
5757 },
5758 {
5759 "docs": {
5760 "summary": "- scoped id of the resource."
5761 },
5762 "name": "id",
5763 "type": {
5764 "primitive": "string"
5765 }
5766 },
5767 {
5768 "docs": {
5769 "summary": "- resource properties."
5770 },
5771 "name": "props",
5772 "type": {
5773 "fqn": "@aws-cdk/aws-cloudwatch.CfnMetricStreamProps"
5774 }
5775 }
5776 ]
5777 },
5778 "interfaces": [
5779 "@aws-cdk/core.IInspectable"
5780 ],
5781 "kind": "class",
5782 "locationInModule": {
5783 "filename": "lib/cloudwatch.generated.ts",
5784 "line": 2929
5785 },
5786 "methods": [
5787 {
5788 "docs": {
5789 "stability": "external",
5790 "summary": "Examines the CloudFormation resource and discloses attributes."
5791 },
5792 "locationInModule": {
5793 "filename": "lib/cloudwatch.generated.ts",
5794 "line": 3089
5795 },
5796 "name": "inspect",
5797 "overrides": "@aws-cdk/core.IInspectable",
5798 "parameters": [
5799 {
5800 "docs": {
5801 "summary": "- tree inspector to collect and process attributes."
5802 },
5803 "name": "inspector",
5804 "type": {
5805 "fqn": "@aws-cdk/core.TreeInspector"
5806 }
5807 }
5808 ]
5809 },
5810 {
5811 "docs": {
5812 "stability": "external"
5813 },
5814 "locationInModule": {
5815 "filename": "lib/cloudwatch.generated.ts",
5816 "line": 3108
5817 },
5818 "name": "renderProperties",
5819 "overrides": "@aws-cdk/core.CfnResource",
5820 "parameters": [
5821 {
5822 "name": "props",
5823 "type": {
5824 "collection": {
5825 "elementtype": {
5826 "primitive": "any"
5827 },
5828 "kind": "map"
5829 }
5830 }
5831 }
5832 ],
5833 "protected": true,
5834 "returns": {
5835 "type": {
5836 "collection": {
5837 "elementtype": {
5838 "primitive": "any"
5839 },
5840 "kind": "map"
5841 }
5842 }
5843 }
5844 }
5845 ],
5846 "name": "CfnMetricStream",
5847 "properties": [
5848 {
5849 "const": true,
5850 "docs": {
5851 "stability": "external",
5852 "summary": "The CloudFormation resource type name for this resource class."
5853 },
5854 "immutable": true,
5855 "locationInModule": {
5856 "filename": "lib/cloudwatch.generated.ts",
5857 "line": 2933
5858 },
5859 "name": "CFN_RESOURCE_TYPE_NAME",
5860 "static": true,
5861 "type": {
5862 "primitive": "string"
5863 }
5864 },
5865 {
5866 "docs": {
5867 "custom": {
5868 "cloudformationAttribute": "Arn"
5869 },
5870 "stability": "external",
5871 "summary": "The ARN of the metric stream."
5872 },
5873 "immutable": true,
5874 "locationInModule": {
5875 "filename": "lib/cloudwatch.generated.ts",
5876 "line": 2958
5877 },
5878 "name": "attrArn",
5879 "type": {
5880 "primitive": "string"
5881 }
5882 },
5883 {
5884 "docs": {
5885 "custom": {
5886 "cloudformationAttribute": "CreationDate"
5887 },
5888 "stability": "external",
5889 "summary": "The date that the metric stream was originally created."
5890 },
5891 "immutable": true,
5892 "locationInModule": {
5893 "filename": "lib/cloudwatch.generated.ts",
5894 "line": 2964
5895 },
5896 "name": "attrCreationDate",
5897 "type": {
5898 "primitive": "string"
5899 }
5900 },
5901 {
5902 "docs": {
5903 "custom": {
5904 "cloudformationAttribute": "LastUpdateDate"
5905 },
5906 "stability": "external",
5907 "summary": "The date that the metric stream was most recently updated."
5908 },
5909 "immutable": true,
5910 "locationInModule": {
5911 "filename": "lib/cloudwatch.generated.ts",
5912 "line": 2970
5913 },
5914 "name": "attrLastUpdateDate",
5915 "type": {
5916 "primitive": "string"
5917 }
5918 },
5919 {
5920 "docs": {
5921 "custom": {
5922 "cloudformationAttribute": "State"
5923 },
5924 "stability": "external",
5925 "summary": "The state of the metric stream, either `running` or `stopped` ."
5926 },
5927 "immutable": true,
5928 "locationInModule": {
5929 "filename": "lib/cloudwatch.generated.ts",
5930 "line": 2976
5931 },
5932 "name": "attrState",
5933 "type": {
5934 "primitive": "string"
5935 }
5936 },
5937 {
5938 "docs": {
5939 "stability": "external"
5940 },
5941 "immutable": true,
5942 "locationInModule": {
5943 "filename": "lib/cloudwatch.generated.ts",
5944 "line": 3094
5945 },
5946 "name": "cfnProperties",
5947 "overrides": "@aws-cdk/core.CfnResource",
5948 "protected": true,
5949 "type": {
5950 "collection": {
5951 "elementtype": {
5952 "primitive": "any"
5953 },
5954 "kind": "map"
5955 }
5956 }
5957 },
5958 {
5959 "docs": {
5960 "custom": {
5961 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudwatch-metricstream.html#cfn-cloudwatch-metricstream-tags"
5962 },
5963 "remarks": "For more information, see [Tag](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-resource-tags.html) .",
5964 "stability": "external",
5965 "summary": "An array of key-value pairs to apply to the metric stream."
5966 },
5967 "immutable": true,
5968 "locationInModule": {
5969 "filename": "lib/cloudwatch.generated.ts",
5970 "line": 3053
5971 },
5972 "name": "tags",
5973 "type": {
5974 "fqn": "@aws-cdk/core.TagManager"
5975 }
5976 },
5977 {
5978 "docs": {
5979 "custom": {
5980 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudwatch-metricstream.html#cfn-cloudwatch-metricstream-firehosearn"
5981 },
5982 "remarks": "This Amazon Kinesis Firehose delivery stream must already exist and must be in the same account as the metric stream.",
5983 "stability": "external",
5984 "summary": "The ARN of the Amazon Kinesis Firehose delivery stream to use for this metric stream."
5985 },
5986 "locationInModule": {
5987 "filename": "lib/cloudwatch.generated.ts",
5988 "line": 2983
5989 },
5990 "name": "firehoseArn",
5991 "type": {
5992 "primitive": "string"
5993 }
5994 },
5995 {
5996 "docs": {
5997 "custom": {
5998 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudwatch-metricstream.html#cfn-cloudwatch-metricstream-outputformat"
5999 },
6000 "remarks": "Valid values are `json` and `opentelemetry0.7` For more information about metric stream output formats, see [Metric streams output formats](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-metric-streams-formats.html) .\n\nThis parameter is required.",
6001 "stability": "external",
6002 "summary": "The output format for the stream."
6003 },
6004 "locationInModule": {
6005 "filename": "lib/cloudwatch.generated.ts",
6006 "line": 2992
6007 },
6008 "name": "outputFormat",
6009 "type": {
6010 "primitive": "string"
6011 }
6012 },
6013 {
6014 "docs": {
6015 "custom": {
6016 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudwatch-metricstream.html#cfn-cloudwatch-metricstream-rolearn"
6017 },
6018 "remarks": "This IAM role must already exist and must be in the same account as the metric stream. This IAM role must include the `firehose:PutRecord` and `firehose:PutRecordBatch` permissions.",
6019 "stability": "external",
6020 "summary": "The ARN of an IAM role that this metric stream will use to access Amazon Kinesis Firehose resources."
6021 },
6022 "locationInModule": {
6023 "filename": "lib/cloudwatch.generated.ts",
6024 "line": 2999
6025 },
6026 "name": "roleArn",
6027 "type": {
6028 "primitive": "string"
6029 }
6030 },
6031 {
6032 "docs": {
6033 "custom": {
6034 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudwatch-metricstream.html#cfn-cloudwatch-metricstream-excludefilters"
6035 },
6036 "remarks": "You cannot specify both `IncludeFilters` and `ExcludeFilters` in the same metric stream.\n\nWhen you modify the `IncludeFilters` or `ExcludeFilters` of an existing metric stream in any way, the metric stream is effectively restarted, so after such a change you will get only the datapoints that have a timestamp after the time of the update.",
6037 "stability": "external",
6038 "summary": "If you specify this parameter, the stream sends metrics from all metric namespaces except for the namespaces that you specify here."
6039 },
6040 "locationInModule": {
6041 "filename": "lib/cloudwatch.generated.ts",
6042 "line": 3008
6043 },
6044 "name": "excludeFilters",
6045 "optional": true,
6046 "type": {
6047 "union": {
6048 "types": [
6049 {
6050 "fqn": "@aws-cdk/core.IResolvable"
6051 },
6052 {
6053 "collection": {
6054 "elementtype": {
6055 "union": {
6056 "types": [
6057 {
6058 "fqn": "@aws-cdk/core.IResolvable"
6059 },
6060 {
6061 "fqn": "@aws-cdk/aws-cloudwatch.CfnMetricStream.MetricStreamFilterProperty"
6062 }
6063 ]
6064 }
6065 },
6066 "kind": "array"
6067 }
6068 }
6069 ]
6070 }
6071 }
6072 },
6073 {
6074 "docs": {
6075 "custom": {
6076 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudwatch-metricstream.html#cfn-cloudwatch-metricstream-includefilters"
6077 },
6078 "remarks": "You cannot specify both `IncludeFilters` and `ExcludeFilters` in the same metric stream.\n\nWhen you modify the `IncludeFilters` or `ExcludeFilters` of an existing metric stream in any way, the metric stream is effectively restarted, so after such a change you will get only the datapoints that have a timestamp after the time of the update.",
6079 "stability": "external",
6080 "summary": "If you specify this parameter, the stream sends only the metrics from the metric namespaces that you specify here."
6081 },
6082 "locationInModule": {
6083 "filename": "lib/cloudwatch.generated.ts",
6084 "line": 3017
6085 },
6086 "name": "includeFilters",
6087 "optional": true,
6088 "type": {
6089 "union": {
6090 "types": [
6091 {
6092 "fqn": "@aws-cdk/core.IResolvable"
6093 },
6094 {
6095 "collection": {
6096 "elementtype": {
6097 "union": {
6098 "types": [
6099 {
6100 "fqn": "@aws-cdk/core.IResolvable"
6101 },
6102 {
6103 "fqn": "@aws-cdk/aws-cloudwatch.CfnMetricStream.MetricStreamFilterProperty"
6104 }
6105 ]
6106 }
6107 },
6108 "kind": "array"
6109 }
6110 }
6111 ]
6112 }
6113 }
6114 },
6115 {
6116 "docs": {
6117 "custom": {
6118 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudwatch-metricstream.html#cfn-cloudwatch-metricstream-includelinkedaccountsmetrics"
6119 },
6120 "remarks": "The default is `false` .\n\nFor more information about linking accounts, see [CloudWatch cross-account observability](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-Unified-Cross-Account.html)",
6121 "stability": "external",
6122 "summary": "If you are creating a metric stream in a monitoring account, specify `true` to include metrics from source accounts that are linked to this monitoring account, in the metric stream."
6123 },
6124 "locationInModule": {
6125 "filename": "lib/cloudwatch.generated.ts",
6126 "line": 3026
6127 },
6128 "name": "includeLinkedAccountsMetrics",
6129 "optional": true,
6130 "type": {
6131 "union": {
6132 "types": [
6133 {
6134 "primitive": "boolean"
6135 },
6136 {
6137 "fqn": "@aws-cdk/core.IResolvable"
6138 }
6139 ]
6140 }
6141 }
6142 },
6143 {
6144 "docs": {
6145 "custom": {
6146 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudwatch-metricstream.html#cfn-cloudwatch-metricstream-name"
6147 },
6148 "remarks": "The name must be different than the names of other metric streams in this account and Region.\n\nIf you are updating a metric stream, specify the name of that stream here.",
6149 "stability": "external",
6150 "summary": "If you are creating a new metric stream, this is the name for the new stream."
6151 },
6152 "locationInModule": {
6153 "filename": "lib/cloudwatch.generated.ts",
6154 "line": 3035
6155 },
6156 "name": "name",
6157 "optional": true,
6158 "type": {
6159 "primitive": "string"
6160 }
6161 },
6162 {
6163 "docs": {
6164 "custom": {
6165 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudwatch-metricstream.html#cfn-cloudwatch-metricstream-statisticsconfigurations"
6166 },
6167 "remarks": "You can use this parameter to have the metric stream also send additional statistics in the stream. This array can have up to 100 members.\n\nFor each entry in this array, you specify one or more metrics and the list of additional statistics to stream for those metrics. The additional statistics that you can stream depend on the stream's `OutputFormat` . If the `OutputFormat` is `json` , you can stream any additional statistic that is supported by CloudWatch , listed in [CloudWatch statistics definitions](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Statistics-definitions.html.html) . If the `OutputFormat` is `opentelemetry0` .7, you can stream percentile statistics *(p??)* .",
6168 "stability": "external",
6169 "summary": "By default, a metric stream always sends the MAX, MIN, SUM, and SAMPLECOUNT statistics for each metric that is streamed."
6170 },
6171 "locationInModule": {
6172 "filename": "lib/cloudwatch.generated.ts",
6173 "line": 3044
6174 },
6175 "name": "statisticsConfigurations",
6176 "optional": true,
6177 "type": {
6178 "union": {
6179 "types": [
6180 {
6181 "fqn": "@aws-cdk/core.IResolvable"
6182 },
6183 {
6184 "collection": {
6185 "elementtype": {
6186 "union": {
6187 "types": [
6188 {
6189 "fqn": "@aws-cdk/core.IResolvable"
6190 },
6191 {
6192 "fqn": "@aws-cdk/aws-cloudwatch.CfnMetricStream.MetricStreamStatisticsConfigurationProperty"
6193 }
6194 ]
6195 }
6196 },
6197 "kind": "array"
6198 }
6199 }
6200 ]
6201 }
6202 }
6203 }
6204 ],
6205 "symbolId": "lib/cloudwatch.generated:CfnMetricStream"
6206 },
6207 "@aws-cdk/aws-cloudwatch.CfnMetricStream.MetricStreamFilterProperty": {
6208 "assembly": "@aws-cdk/aws-cloudwatch",
6209 "datatype": true,
6210 "docs": {
6211 "custom": {
6212 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudwatch-metricstream-metricstreamfilter.html",
6213 "exampleMetadata": "fixture=_generated"
6214 },
6215 "remarks": "A metric stream's filters can include up to 1000 total names. This limit applies to the sum of namespace names and metric names in the filters. For example, this could include 10 metric namespace filters with 99 metrics each, or 20 namespace filters with 49 metrics specified in each filter.",
6216 "stability": "external",
6217 "summary": "This structure contains a metric namespace and optionally, a list of metric names, to either include in a metric ' stream or exclude from a metric stream.",
6218 "example": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as cloudwatch from '@aws-cdk/aws-cloudwatch';\nconst metricStreamFilterProperty: cloudwatch.CfnMetricStream.MetricStreamFilterProperty = {\n namespace: 'namespace',\n\n // the properties below are optional\n metricNames: ['metricNames'],\n};"
6219 },
6220 "fqn": "@aws-cdk/aws-cloudwatch.CfnMetricStream.MetricStreamFilterProperty",
6221 "kind": "interface",
6222 "locationInModule": {
6223 "filename": "lib/cloudwatch.generated.ts",
6224 "line": 3124
6225 },
6226 "name": "MetricStreamFilterProperty",
6227 "namespace": "CfnMetricStream",
6228 "properties": [
6229 {
6230 "abstract": true,
6231 "docs": {
6232 "custom": {
6233 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudwatch-metricstream-metricstreamfilter.html#cfn-cloudwatch-metricstream-metricstreamfilter-namespace"
6234 },
6235 "remarks": "The namespace can contain only ASCII printable characters (ASCII range 32 through 126). It must contain at least one non-whitespace character.",
6236 "stability": "external",
6237 "summary": "The name of the metric namespace in the filter."
6238 },
6239 "immutable": true,
6240 "locationInModule": {
6241 "filename": "lib/cloudwatch.generated.ts",
6242 "line": 3142
6243 },
6244 "name": "namespace",
6245 "type": {
6246 "primitive": "string"
6247 }
6248 },
6249 {
6250 "abstract": true,
6251 "docs": {
6252 "custom": {
6253 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudwatch-metricstream-metricstreamfilter.html#cfn-cloudwatch-metricstream-metricstreamfilter-metricnames"
6254 },
6255 "remarks": "If you omit this parameter, all metrics in the namespace are included or excluded, depending on whether this filter is specified as an exclude filter or an include filter.\n\nEach metric name can contain only ASCII printable characters (ASCII range 32 through 126). Each metric name must contain at least one non-whitespace character.",
6256 "stability": "external",
6257 "summary": "The names of the metrics to either include or exclude from the metric stream."
6258 },
6259 "immutable": true,
6260 "locationInModule": {
6261 "filename": "lib/cloudwatch.generated.ts",
6262 "line": 3134
6263 },
6264 "name": "metricNames",
6265 "optional": true,
6266 "type": {
6267 "collection": {
6268 "elementtype": {
6269 "primitive": "string"
6270 },
6271 "kind": "array"
6272 }
6273 }
6274 }
6275 ],
6276 "symbolId": "lib/cloudwatch.generated:CfnMetricStream.MetricStreamFilterProperty"
6277 },
6278 "@aws-cdk/aws-cloudwatch.CfnMetricStream.MetricStreamStatisticsConfigurationProperty": {
6279 "assembly": "@aws-cdk/aws-cloudwatch",
6280 "datatype": true,
6281 "docs": {
6282 "custom": {
6283 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudwatch-metricstream-metricstreamstatisticsconfiguration.html",
6284 "exampleMetadata": "fixture=_generated"
6285 },
6286 "remarks": "All metrics that match the combination of metric name and namespace will be streamed with the additional statistics, no matter their dimensions.",
6287 "stability": "external",
6288 "summary": "This structure specifies a list of additional statistics to stream, and the metrics to stream those additional statistics for.",
6289 "example": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as cloudwatch from '@aws-cdk/aws-cloudwatch';\nconst metricStreamStatisticsConfigurationProperty: cloudwatch.CfnMetricStream.MetricStreamStatisticsConfigurationProperty = {\n additionalStatistics: ['additionalStatistics'],\n includeMetrics: [{\n metricName: 'metricName',\n namespace: 'namespace',\n }],\n};"
6290 },
6291 "fqn": "@aws-cdk/aws-cloudwatch.CfnMetricStream.MetricStreamStatisticsConfigurationProperty",
6292 "kind": "interface",
6293 "locationInModule": {
6294 "filename": "lib/cloudwatch.generated.ts",
6295 "line": 3209
6296 },
6297 "name": "MetricStreamStatisticsConfigurationProperty",
6298 "namespace": "CfnMetricStream",
6299 "properties": [
6300 {
6301 "abstract": true,
6302 "docs": {
6303 "custom": {
6304 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudwatch-metricstream-metricstreamstatisticsconfiguration.html#cfn-cloudwatch-metricstream-metricstreamstatisticsconfiguration-additionalstatistics"
6305 },
6306 "stability": "external",
6307 "summary": "The additional statistics to stream for the metrics listed in `IncludeMetrics` ."
6308 },
6309 "immutable": true,
6310 "locationInModule": {
6311 "filename": "lib/cloudwatch.generated.ts",
6312 "line": 3215
6313 },
6314 "name": "additionalStatistics",
6315 "type": {
6316 "collection": {
6317 "elementtype": {
6318 "primitive": "string"
6319 },
6320 "kind": "array"
6321 }
6322 }
6323 },
6324 {
6325 "abstract": true,
6326 "docs": {
6327 "custom": {
6328 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudwatch-metricstream-metricstreamstatisticsconfiguration.html#cfn-cloudwatch-metricstream-metricstreamstatisticsconfiguration-includemetrics"
6329 },
6330 "stability": "external",
6331 "summary": "An array that defines the metrics that are to have additional statistics streamed."
6332 },
6333 "immutable": true,
6334 "locationInModule": {
6335 "filename": "lib/cloudwatch.generated.ts",
6336 "line": 3221
6337 },
6338 "name": "includeMetrics",
6339 "type": {
6340 "union": {
6341 "types": [
6342 {
6343 "fqn": "@aws-cdk/core.IResolvable"
6344 },
6345 {
6346 "collection": {
6347 "elementtype": {
6348 "union": {
6349 "types": [
6350 {
6351 "fqn": "@aws-cdk/core.IResolvable"
6352 },
6353 {
6354 "fqn": "@aws-cdk/aws-cloudwatch.CfnMetricStream.MetricStreamStatisticsMetricProperty"
6355 }
6356 ]
6357 }
6358 },
6359 "kind": "array"
6360 }
6361 }
6362 ]
6363 }
6364 }
6365 }
6366 ],
6367 "symbolId": "lib/cloudwatch.generated:CfnMetricStream.MetricStreamStatisticsConfigurationProperty"
6368 },
6369 "@aws-cdk/aws-cloudwatch.CfnMetricStream.MetricStreamStatisticsMetricProperty": {
6370 "assembly": "@aws-cdk/aws-cloudwatch",
6371 "datatype": true,
6372 "docs": {
6373 "custom": {
6374 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudwatch-metricstream-metricstreamstatisticsmetric.html",
6375 "exampleMetadata": "fixture=_generated"
6376 },
6377 "stability": "external",
6378 "summary": "A structure that specifies the metric name and namespace for one metric that is going to have additional statistics included in the stream.",
6379 "example": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as cloudwatch from '@aws-cdk/aws-cloudwatch';\nconst metricStreamStatisticsMetricProperty: cloudwatch.CfnMetricStream.MetricStreamStatisticsMetricProperty = {\n metricName: 'metricName',\n namespace: 'namespace',\n};"
6380 },
6381 "fqn": "@aws-cdk/aws-cloudwatch.CfnMetricStream.MetricStreamStatisticsMetricProperty",
6382 "kind": "interface",
6383 "locationInModule": {
6384 "filename": "lib/cloudwatch.generated.ts",
6385 "line": 3287
6386 },
6387 "name": "MetricStreamStatisticsMetricProperty",
6388 "namespace": "CfnMetricStream",
6389 "properties": [
6390 {
6391 "abstract": true,
6392 "docs": {
6393 "custom": {
6394 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudwatch-metricstream-metricstreamstatisticsmetric.html#cfn-cloudwatch-metricstream-metricstreamstatisticsmetric-metricname"
6395 },
6396 "stability": "external",
6397 "summary": "The name of the metric."
6398 },
6399 "immutable": true,
6400 "locationInModule": {
6401 "filename": "lib/cloudwatch.generated.ts",
6402 "line": 3293
6403 },
6404 "name": "metricName",
6405 "type": {
6406 "primitive": "string"
6407 }
6408 },
6409 {
6410 "abstract": true,
6411 "docs": {
6412 "custom": {
6413 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudwatch-metricstream-metricstreamstatisticsmetric.html#cfn-cloudwatch-metricstream-metricstreamstatisticsmetric-namespace"
6414 },
6415 "stability": "external",
6416 "summary": "The namespace of the metric."
6417 },
6418 "immutable": true,
6419 "locationInModule": {
6420 "filename": "lib/cloudwatch.generated.ts",
6421 "line": 3299
6422 },
6423 "name": "namespace",
6424 "type": {
6425 "primitive": "string"
6426 }
6427 }
6428 ],
6429 "symbolId": "lib/cloudwatch.generated:CfnMetricStream.MetricStreamStatisticsMetricProperty"
6430 },
6431 "@aws-cdk/aws-cloudwatch.CfnMetricStreamProps": {
6432 "assembly": "@aws-cdk/aws-cloudwatch",
6433 "datatype": true,
6434 "docs": {
6435 "custom": {
6436 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudwatch-metricstream.html",
6437 "exampleMetadata": "fixture=_generated"
6438 },
6439 "stability": "external",
6440 "summary": "Properties for defining a `CfnMetricStream`.",
6441 "example": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as cloudwatch from '@aws-cdk/aws-cloudwatch';\nconst cfnMetricStreamProps: cloudwatch.CfnMetricStreamProps = {\n firehoseArn: 'firehoseArn',\n outputFormat: 'outputFormat',\n roleArn: 'roleArn',\n\n // the properties below are optional\n excludeFilters: [{\n namespace: 'namespace',\n\n // the properties below are optional\n metricNames: ['metricNames'],\n }],\n includeFilters: [{\n namespace: 'namespace',\n\n // the properties below are optional\n metricNames: ['metricNames'],\n }],\n includeLinkedAccountsMetrics: false,\n name: 'name',\n statisticsConfigurations: [{\n additionalStatistics: ['additionalStatistics'],\n includeMetrics: [{\n metricName: 'metricName',\n namespace: 'namespace',\n }],\n }],\n tags: [{\n key: 'key',\n value: 'value',\n }],\n};"
6442 },
6443 "fqn": "@aws-cdk/aws-cloudwatch.CfnMetricStreamProps",
6444 "kind": "interface",
6445 "locationInModule": {
6446 "filename": "lib/cloudwatch.generated.ts",
6447 "line": 2755
6448 },
6449 "name": "CfnMetricStreamProps",
6450 "properties": [
6451 {
6452 "abstract": true,
6453 "docs": {
6454 "custom": {
6455 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudwatch-metricstream.html#cfn-cloudwatch-metricstream-firehosearn"
6456 },
6457 "remarks": "This Amazon Kinesis Firehose delivery stream must already exist and must be in the same account as the metric stream.",
6458 "stability": "external",
6459 "summary": "The ARN of the Amazon Kinesis Firehose delivery stream to use for this metric stream."
6460 },
6461 "immutable": true,
6462 "locationInModule": {
6463 "filename": "lib/cloudwatch.generated.ts",
6464 "line": 2762
6465 },
6466 "name": "firehoseArn",
6467 "type": {
6468 "primitive": "string"
6469 }
6470 },
6471 {
6472 "abstract": true,
6473 "docs": {
6474 "custom": {
6475 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudwatch-metricstream.html#cfn-cloudwatch-metricstream-outputformat"
6476 },
6477 "remarks": "Valid values are `json` and `opentelemetry0.7` For more information about metric stream output formats, see [Metric streams output formats](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-metric-streams-formats.html) .\n\nThis parameter is required.",
6478 "stability": "external",
6479 "summary": "The output format for the stream."
6480 },
6481 "immutable": true,
6482 "locationInModule": {
6483 "filename": "lib/cloudwatch.generated.ts",
6484 "line": 2771
6485 },
6486 "name": "outputFormat",
6487 "type": {
6488 "primitive": "string"
6489 }
6490 },
6491 {
6492 "abstract": true,
6493 "docs": {
6494 "custom": {
6495 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudwatch-metricstream.html#cfn-cloudwatch-metricstream-rolearn"
6496 },
6497 "remarks": "This IAM role must already exist and must be in the same account as the metric stream. This IAM role must include the `firehose:PutRecord` and `firehose:PutRecordBatch` permissions.",
6498 "stability": "external",
6499 "summary": "The ARN of an IAM role that this metric stream will use to access Amazon Kinesis Firehose resources."
6500 },
6501 "immutable": true,
6502 "locationInModule": {
6503 "filename": "lib/cloudwatch.generated.ts",
6504 "line": 2778
6505 },
6506 "name": "roleArn",
6507 "type": {
6508 "primitive": "string"
6509 }
6510 },
6511 {
6512 "abstract": true,
6513 "docs": {
6514 "custom": {
6515 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudwatch-metricstream.html#cfn-cloudwatch-metricstream-excludefilters"
6516 },
6517 "remarks": "You cannot specify both `IncludeFilters` and `ExcludeFilters` in the same metric stream.\n\nWhen you modify the `IncludeFilters` or `ExcludeFilters` of an existing metric stream in any way, the metric stream is effectively restarted, so after such a change you will get only the datapoints that have a timestamp after the time of the update.",
6518 "stability": "external",
6519 "summary": "If you specify this parameter, the stream sends metrics from all metric namespaces except for the namespaces that you specify here."
6520 },
6521 "immutable": true,
6522 "locationInModule": {
6523 "filename": "lib/cloudwatch.generated.ts",
6524 "line": 2787
6525 },
6526 "name": "excludeFilters",
6527 "optional": true,
6528 "type": {
6529 "union": {
6530 "types": [
6531 {
6532 "fqn": "@aws-cdk/core.IResolvable"
6533 },
6534 {
6535 "collection": {
6536 "elementtype": {
6537 "union": {
6538 "types": [
6539 {
6540 "fqn": "@aws-cdk/core.IResolvable"
6541 },
6542 {
6543 "fqn": "@aws-cdk/aws-cloudwatch.CfnMetricStream.MetricStreamFilterProperty"
6544 }
6545 ]
6546 }
6547 },
6548 "kind": "array"
6549 }
6550 }
6551 ]
6552 }
6553 }
6554 },
6555 {
6556 "abstract": true,
6557 "docs": {
6558 "custom": {
6559 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudwatch-metricstream.html#cfn-cloudwatch-metricstream-includefilters"
6560 },
6561 "remarks": "You cannot specify both `IncludeFilters` and `ExcludeFilters` in the same metric stream.\n\nWhen you modify the `IncludeFilters` or `ExcludeFilters` of an existing metric stream in any way, the metric stream is effectively restarted, so after such a change you will get only the datapoints that have a timestamp after the time of the update.",
6562 "stability": "external",
6563 "summary": "If you specify this parameter, the stream sends only the metrics from the metric namespaces that you specify here."
6564 },
6565 "immutable": true,
6566 "locationInModule": {
6567 "filename": "lib/cloudwatch.generated.ts",
6568 "line": 2796
6569 },
6570 "name": "includeFilters",
6571 "optional": true,
6572 "type": {
6573 "union": {
6574 "types": [
6575 {
6576 "fqn": "@aws-cdk/core.IResolvable"
6577 },
6578 {
6579 "collection": {
6580 "elementtype": {
6581 "union": {
6582 "types": [
6583 {
6584 "fqn": "@aws-cdk/core.IResolvable"
6585 },
6586 {
6587 "fqn": "@aws-cdk/aws-cloudwatch.CfnMetricStream.MetricStreamFilterProperty"
6588 }
6589 ]
6590 }
6591 },
6592 "kind": "array"
6593 }
6594 }
6595 ]
6596 }
6597 }
6598 },
6599 {
6600 "abstract": true,
6601 "docs": {
6602 "custom": {
6603 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudwatch-metricstream.html#cfn-cloudwatch-metricstream-includelinkedaccountsmetrics"
6604 },
6605 "remarks": "The default is `false` .\n\nFor more information about linking accounts, see [CloudWatch cross-account observability](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-Unified-Cross-Account.html)",
6606 "stability": "external",
6607 "summary": "If you are creating a metric stream in a monitoring account, specify `true` to include metrics from source accounts that are linked to this monitoring account, in the metric stream."
6608 },
6609 "immutable": true,
6610 "locationInModule": {
6611 "filename": "lib/cloudwatch.generated.ts",
6612 "line": 2805
6613 },
6614 "name": "includeLinkedAccountsMetrics",
6615 "optional": true,
6616 "type": {
6617 "union": {
6618 "types": [
6619 {
6620 "primitive": "boolean"
6621 },
6622 {
6623 "fqn": "@aws-cdk/core.IResolvable"
6624 }
6625 ]
6626 }
6627 }
6628 },
6629 {
6630 "abstract": true,
6631 "docs": {
6632 "custom": {
6633 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudwatch-metricstream.html#cfn-cloudwatch-metricstream-name"
6634 },
6635 "remarks": "The name must be different than the names of other metric streams in this account and Region.\n\nIf you are updating a metric stream, specify the name of that stream here.",
6636 "stability": "external",
6637 "summary": "If you are creating a new metric stream, this is the name for the new stream."
6638 },
6639 "immutable": true,
6640 "locationInModule": {
6641 "filename": "lib/cloudwatch.generated.ts",
6642 "line": 2814
6643 },
6644 "name": "name",
6645 "optional": true,
6646 "type": {
6647 "primitive": "string"
6648 }
6649 },
6650 {
6651 "abstract": true,
6652 "docs": {
6653 "custom": {
6654 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudwatch-metricstream.html#cfn-cloudwatch-metricstream-statisticsconfigurations"
6655 },
6656 "remarks": "You can use this parameter to have the metric stream also send additional statistics in the stream. This array can have up to 100 members.\n\nFor each entry in this array, you specify one or more metrics and the list of additional statistics to stream for those metrics. The additional statistics that you can stream depend on the stream's `OutputFormat` . If the `OutputFormat` is `json` , you can stream any additional statistic that is supported by CloudWatch , listed in [CloudWatch statistics definitions](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Statistics-definitions.html.html) . If the `OutputFormat` is `opentelemetry0` .7, you can stream percentile statistics *(p??)* .",
6657 "stability": "external",
6658 "summary": "By default, a metric stream always sends the MAX, MIN, SUM, and SAMPLECOUNT statistics for each metric that is streamed."
6659 },
6660 "immutable": true,
6661 "locationInModule": {
6662 "filename": "lib/cloudwatch.generated.ts",
6663 "line": 2823
6664 },
6665 "name": "statisticsConfigurations",
6666 "optional": true,
6667 "type": {
6668 "union": {
6669 "types": [
6670 {
6671 "fqn": "@aws-cdk/core.IResolvable"
6672 },
6673 {
6674 "collection": {
6675 "elementtype": {
6676 "union": {
6677 "types": [
6678 {
6679 "fqn": "@aws-cdk/core.IResolvable"
6680 },
6681 {
6682 "fqn": "@aws-cdk/aws-cloudwatch.CfnMetricStream.MetricStreamStatisticsConfigurationProperty"
6683 }
6684 ]
6685 }
6686 },
6687 "kind": "array"
6688 }
6689 }
6690 ]
6691 }
6692 }
6693 },
6694 {
6695 "abstract": true,
6696 "docs": {
6697 "custom": {
6698 "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudwatch-metricstream.html#cfn-cloudwatch-metricstream-tags"
6699 },
6700 "remarks": "For more information, see [Tag](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-resource-tags.html) .",
6701 "stability": "external",
6702 "summary": "An array of key-value pairs to apply to the metric stream."
6703 },
6704 "immutable": true,
6705 "locationInModule": {
6706 "filename": "lib/cloudwatch.generated.ts",
6707 "line": 2832
6708 },
6709 "name": "tags",
6710 "optional": true,
6711 "type": {
6712 "collection": {
6713 "elementtype": {
6714 "fqn": "@aws-cdk/core.CfnTag"
6715 },
6716 "kind": "array"
6717 }
6718 }
6719 }
6720 ],
6721 "symbolId": "lib/cloudwatch.generated:CfnMetricStreamProps"
6722 },
6723 "@aws-cdk/aws-cloudwatch.Color": {
6724 "assembly": "@aws-cdk/aws-cloudwatch",
6725 "docs": {
6726 "stability": "stable",
6727 "summary": "A set of standard colours that can be used in annotations in a GraphWidget.",
6728 "example": "declare const dashboard: cloudwatch.Dashboard;\ndeclare const executionCountMetric: cloudwatch.Metric;\ndeclare const errorCountMetric: cloudwatch.Metric;\n\ndashboard.addWidgets(new cloudwatch.GraphWidget({\n title: \"Executions vs error rate\",\n\n left: [executionCountMetric],\n\n right: [errorCountMetric.with({\n statistic: \"average\",\n label: \"Error rate\",\n color: cloudwatch.Color.GREEN,\n })]\n}));",
6729 "custom": {
6730 "exampleMetadata": "infused"
6731 }
6732 },
6733 "fqn": "@aws-cdk/aws-cloudwatch.Color",
6734 "kind": "class",
6735 "locationInModule": {
6736 "filename": "lib/graph.ts",
6737 "line": 524
6738 },
6739 "name": "Color",
6740 "properties": [
6741 {
6742 "const": true,
6743 "docs": {
6744 "stability": "stable",
6745 "summary": "blue - hex #1f77b4."
6746 },
6747 "immutable": true,
6748 "locationInModule": {
6749 "filename": "lib/graph.ts",
6750 "line": 526
6751 },
6752 "name": "BLUE",
6753 "static": true,
6754 "type": {
6755 "primitive": "string"
6756 }
6757 },
6758 {
6759 "const": true,
6760 "docs": {
6761 "stability": "stable",
6762 "summary": "brown - hex #8c564b."
6763 },
6764 "immutable": true,
6765 "locationInModule": {
6766 "filename": "lib/graph.ts",
6767 "line": 529
6768 },
6769 "name": "BROWN",
6770 "static": true,
6771 "type": {
6772 "primitive": "string"
6773 }
6774 },
6775 {
6776 "const": true,
6777 "docs": {
6778 "stability": "stable",
6779 "summary": "green - hex #2ca02c."
6780 },
6781 "immutable": true,
6782 "locationInModule": {
6783 "filename": "lib/graph.ts",
6784 "line": 532
6785 },
6786 "name": "GREEN",
6787 "static": true,
6788 "type": {
6789 "primitive": "string"
6790 }
6791 },
6792 {
6793 "const": true,
6794 "docs": {
6795 "stability": "stable",
6796 "summary": "grey - hex #7f7f7f."
6797 },
6798 "immutable": true,
6799 "locationInModule": {
6800 "filename": "lib/graph.ts",
6801 "line": 535
6802 },
6803 "name": "GREY",
6804 "static": true,
6805 "type": {
6806 "primitive": "string"
6807 }
6808 },
6809 {
6810 "const": true,
6811 "docs": {
6812 "stability": "stable",
6813 "summary": "orange - hex #ff7f0e."
6814 },
6815 "immutable": true,
6816 "locationInModule": {
6817 "filename": "lib/graph.ts",
6818 "line": 538
6819 },
6820 "name": "ORANGE",
6821 "static": true,
6822 "type": {
6823 "primitive": "string"
6824 }
6825 },
6826 {
6827 "const": true,
6828 "docs": {
6829 "stability": "stable",
6830 "summary": "pink - hex #e377c2."
6831 },
6832 "immutable": true,
6833 "locationInModule": {
6834 "filename": "lib/graph.ts",
6835 "line": 541
6836 },
6837 "name": "PINK",
6838 "static": true,
6839 "type": {
6840 "primitive": "string"
6841 }
6842 },
6843 {
6844 "const": true,
6845 "docs": {
6846 "stability": "stable",
6847 "summary": "purple - hex #9467bd."
6848 },
6849 "immutable": true,
6850 "locationInModule": {
6851 "filename": "lib/graph.ts",
6852 "line": 544
6853 },
6854 "name": "PURPLE",
6855 "static": true,
6856 "type": {
6857 "primitive": "string"
6858 }
6859 },
6860 {
6861 "const": true,
6862 "docs": {
6863 "stability": "stable",
6864 "summary": "red - hex #d62728."
6865 },
6866 "immutable": true,
6867 "locationInModule": {
6868 "filename": "lib/graph.ts",
6869 "line": 547
6870 },
6871 "name": "RED",
6872 "static": true,
6873 "type": {
6874 "primitive": "string"
6875 }
6876 }
6877 ],
6878 "symbolId": "lib/graph:Color"
6879 },
6880 "@aws-cdk/aws-cloudwatch.Column": {
6881 "assembly": "@aws-cdk/aws-cloudwatch",
6882 "docs": {
6883 "remarks": "Widgets will be laid out next to each other",
6884 "stability": "stable",
6885 "summary": "A widget that contains other widgets in a vertical column.",
6886 "example": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as cloudwatch from '@aws-cdk/aws-cloudwatch';\n\ndeclare const widget: cloudwatch.IWidget;\nconst column = new cloudwatch.Column(widget);",
6887 "custom": {
6888 "exampleMetadata": "fixture=_generated"
6889 }
6890 },
6891 "fqn": "@aws-cdk/aws-cloudwatch.Column",
6892 "initializer": {
6893 "docs": {
6894 "stability": "stable"
6895 },
6896 "locationInModule": {
6897 "filename": "lib/layout.ts",
6898 "line": 75
6899 },
6900 "parameters": [
6901 {
6902 "name": "widgets",
6903 "type": {
6904 "fqn": "@aws-cdk/aws-cloudwatch.IWidget"
6905 },
6906 "variadic": true
6907 }
6908 ],
6909 "variadic": true
6910 },
6911 "interfaces": [
6912 "@aws-cdk/aws-cloudwatch.IWidget"
6913 ],
6914 "kind": "class",
6915 "locationInModule": {
6916 "filename": "lib/layout.ts",
6917 "line": 66
6918 },
6919 "methods": [
6920 {
6921 "docs": {
6922 "stability": "stable",
6923 "summary": "Place the widget at a given position."
6924 },
6925 "locationInModule": {
6926 "filename": "lib/layout.ts",
6927 "line": 83
6928 },
6929 "name": "position",
6930 "overrides": "@aws-cdk/aws-cloudwatch.IWidget",
6931 "parameters": [
6932 {
6933 "name": "x",
6934 "type": {
6935 "primitive": "number"
6936 }
6937 },
6938 {
6939 "name": "y",
6940 "type": {
6941 "primitive": "number"
6942 }
6943 }
6944 ]
6945 },
6946 {
6947 "docs": {
6948 "stability": "stable",
6949 "summary": "Return the widget JSON for use in the dashboard."
6950 },
6951 "locationInModule": {
6952 "filename": "lib/layout.ts",
6953 "line": 91
6954 },
6955 "name": "toJson",
6956 "overrides": "@aws-cdk/aws-cloudwatch.IWidget",
6957 "returns": {
6958 "type": {
6959 "collection": {
6960 "elementtype": {
6961 "primitive": "any"
6962 },
6963 "kind": "array"
6964 }
6965 }
6966 }
6967 }
6968 ],
6969 "name": "Column",
6970 "properties": [
6971 {
6972 "docs": {
6973 "stability": "stable",
6974 "summary": "The amount of vertical grid units the widget will take up."
6975 },
6976 "immutable": true,
6977 "locationInModule": {
6978 "filename": "lib/layout.ts",
6979 "line": 68
6980 },
6981 "name": "height",
6982 "overrides": "@aws-cdk/aws-cloudwatch.IWidget",
6983 "type": {
6984 "primitive": "number"
6985 }
6986 },
6987 {
6988 "docs": {
6989 "stability": "stable",
6990 "summary": "List of contained widgets."
6991 },
6992 "immutable": true,
6993 "locationInModule": {
6994 "filename": "lib/layout.ts",
6995 "line": 73
6996 },
6997 "name": "widgets",
6998 "type": {
6999 "collection": {
7000 "elementtype": {
7001 "fqn": "@aws-cdk/aws-cloudwatch.IWidget"
7002 },
7003 "kind": "array"
7004 }
7005 }
7006 },
7007 {
7008 "docs": {
7009 "stability": "stable",
7010 "summary": "The amount of horizontal grid units the widget will take up."
7011 },
7012 "immutable": true,
7013 "locationInModule": {
7014 "filename": "lib/layout.ts",
7015 "line": 67
7016 },
7017 "name": "width",
7018 "overrides": "@aws-cdk/aws-cloudwatch.IWidget",
7019 "type": {
7020 "primitive": "number"
7021 }
7022 }
7023 ],
7024 "symbolId": "lib/layout:Column"
7025 },
7026 "@aws-cdk/aws-cloudwatch.CommonMetricOptions": {
7027 "assembly": "@aws-cdk/aws-cloudwatch",
7028 "datatype": true,
7029 "docs": {
7030 "stability": "stable",
7031 "summary": "Options shared by most methods accepting metric options.",
7032 "example": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as cloudwatch from '@aws-cdk/aws-cloudwatch';\nimport * as cdk from '@aws-cdk/core';\n\ndeclare const dimensions: any;\nconst commonMetricOptions: cloudwatch.CommonMetricOptions = {\n account: 'account',\n color: 'color',\n dimensions: {\n dimensionsKey: dimensions,\n },\n dimensionsMap: {\n dimensionsMapKey: 'dimensionsMap',\n },\n label: 'label',\n period: cdk.Duration.minutes(30),\n region: 'region',\n statistic: 'statistic',\n unit: cloudwatch.Unit.SECONDS,\n};",
7033 "custom": {
7034 "exampleMetadata": "fixture=_generated"
7035 }
7036 },
7037 "fqn": "@aws-cdk/aws-cloudwatch.CommonMetricOptions",
7038 "kind": "interface",
7039 "locationInModule": {
7040 "filename": "lib/metric.ts",
7041 "line": 20
7042 },
7043 "name": "CommonMetricOptions",
7044 "properties": [
7045 {
7046 "abstract": true,
7047 "docs": {
7048 "default": "- Deployment account.",
7049 "stability": "stable",
7050 "summary": "Account which this metric comes from."
7051 },
7052 "immutable": true,
7053 "locationInModule": {
7054 "filename": "lib/metric.ts",
7055 "line": 106
7056 },
7057 "name": "account",
7058 "optional": true,
7059 "type": {
7060 "primitive": "string"
7061 }
7062 },
7063 {
7064 "abstract": true,
7065 "docs": {
7066 "default": "- Automatic color",
7067 "stability": "stable",
7068 "summary": "The hex color code, prefixed with '#' (e.g. '#00ff00'), to use when this metric is rendered on a graph. The `Color` class has a set of standard colors that can be used here."
7069 },
7070 "immutable": true,
7071 "locationInModule": {
7072 "filename": "lib/metric.ts",
7073 "line": 99
7074 },
7075 "name": "color",
7076 "optional": true,
7077 "type": {
7078 "primitive": "string"
7079 }
7080 },
7081 {
7082 "abstract": true,
7083 "docs": {
7084 "default": "- No dimensions.",
7085 "deprecated": "Use 'dimensionsMap' instead.",
7086 "stability": "deprecated",
7087 "summary": "Dimensions of the metric."
7088 },
7089 "immutable": true,
7090 "locationInModule": {
7091 "filename": "lib/metric.ts",
7092 "line": 51
7093 },
7094 "name": "dimensions",
7095 "optional": true,
7096 "type": {
7097 "collection": {
7098 "elementtype": {
7099 "primitive": "any"
7100 },
7101 "kind": "map"
7102 }
7103 }
7104 },
7105 {
7106 "abstract": true,
7107 "docs": {
7108 "default": "- No dimensions.",
7109 "stability": "stable",
7110 "summary": "Dimensions of the metric."
7111 },
7112 "immutable": true,
7113 "locationInModule": {
7114 "filename": "lib/metric.ts",
7115 "line": 58
7116 },
7117 "name": "dimensionsMap",
7118 "optional": true,
7119 "type": {
7120 "collection": {
7121 "elementtype": {
7122 "primitive": "string"
7123 },
7124 "kind": "map"
7125 }
7126 }
7127 },
7128 {
7129 "abstract": true,
7130 "docs": {
7131 "default": "- No label",
7132 "remarks": "You can use [dynamic labels](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/graph-dynamic-labels.html)\nto show summary information about the entire displayed time series\nin the legend. For example, if you use:\n\n```\n[max: ${MAX}] MyMetric\n```\n\nAs the metric label, the maximum value in the visible range will\nbe shown next to the time series name in the graph's legend.",
7133 "stability": "stable",
7134 "summary": "Label for this metric when added to a Graph in a Dashboard."
7135 },
7136 "immutable": true,
7137 "locationInModule": {
7138 "filename": "lib/metric.ts",
7139 "line": 92
7140 },
7141 "name": "label",
7142 "optional": true,
7143 "type": {
7144 "primitive": "string"
7145 }
7146 },
7147 {
7148 "abstract": true,
7149 "docs": {
7150 "default": "Duration.minutes(5)",
7151 "stability": "stable",
7152 "summary": "The period over which the specified statistic is applied."
7153 },
7154 "immutable": true,
7155 "locationInModule": {
7156 "filename": "lib/metric.ts",
7157 "line": 26
7158 },
7159 "name": "period",
7160 "optional": true,
7161 "type": {
7162 "fqn": "@aws-cdk/core.Duration"
7163 }
7164 },
7165 {
7166 "abstract": true,
7167 "docs": {
7168 "default": "- Deployment region.",
7169 "stability": "stable",
7170 "summary": "Region which this metric comes from."
7171 },
7172 "immutable": true,
7173 "locationInModule": {
7174 "filename": "lib/metric.ts",
7175 "line": 113
7176 },
7177 "name": "region",
7178 "optional": true,
7179 "type": {
7180 "primitive": "string"
7181 }
7182 },
7183 {
7184 "abstract": true,
7185 "docs": {
7186 "default": "Average",
7187 "remarks": "Can be one of the following:\n\n- \"Minimum\" | \"min\"\n- \"Maximum\" | \"max\"\n- \"Average\" | \"avg\"\n- \"Sum\" | \"sum\"\n- \"SampleCount | \"n\"\n- \"pNN.NN\"",
7188 "stability": "stable",
7189 "summary": "What function to use for aggregating."
7190 },
7191 "immutable": true,
7192 "locationInModule": {
7193 "filename": "lib/metric.ts",
7194 "line": 42
7195 },
7196 "name": "statistic",
7197 "optional": true,
7198 "type": {
7199 "primitive": "string"
7200 }
7201 },
7202 {
7203 "abstract": true,
7204 "docs": {
7205 "default": "- All metric datums in the given metric stream",
7206 "remarks": "Only refer to datums emitted to the metric stream with the given unit and\nignore all others. Only useful when datums are being emitted to the same\nmetric stream under different units.\n\nThe default is to use all matric datums in the stream, regardless of unit,\nwhich is recommended in nearly all cases.\n\nCloudWatch does not honor this property for graphs.",
7207 "stability": "stable",
7208 "summary": "Unit used to filter the metric stream."
7209 },
7210 "immutable": true,
7211 "locationInModule": {
7212 "filename": "lib/metric.ts",
7213 "line": 74
7214 },
7215 "name": "unit",
7216 "optional": true,
7217 "type": {
7218 "fqn": "@aws-cdk/aws-cloudwatch.Unit"
7219 }
7220 }
7221 ],
7222 "symbolId": "lib/metric:CommonMetricOptions"
7223 },
7224 "@aws-cdk/aws-cloudwatch.ComparisonOperator": {
7225 "assembly": "@aws-cdk/aws-cloudwatch",
7226 "docs": {
7227 "stability": "stable",
7228 "summary": "Comparison operator for evaluating alarms.",
7229 "example": "import * as cloudwatch from '@aws-cdk/aws-cloudwatch';\n\ndeclare const myHostedZone: route53.HostedZone;\nconst certificate = new acm.Certificate(this, 'Certificate', {\n domainName: 'hello.example.com',\n validation: acm.CertificateValidation.fromDns(myHostedZone),\n});\ncertificate.metricDaysToExpiry().createAlarm(this, 'Alarm', {\n comparisonOperator: cloudwatch.ComparisonOperator.LESS_THAN_THRESHOLD,\n evaluationPeriods: 1,\n threshold: 45, // Automatic rotation happens between 60 and 45 days before expiry\n});",
7230 "custom": {
7231 "exampleMetadata": "infused"
7232 }
7233 },
7234 "fqn": "@aws-cdk/aws-cloudwatch.ComparisonOperator",
7235 "kind": "enum",
7236 "locationInModule": {
7237 "filename": "lib/alarm.ts",
7238 "line": 30
7239 },
7240 "members": [
7241 {
7242 "docs": {
7243 "stability": "stable",
7244 "summary": "Specified statistic is greater than or equal to the threshold."
7245 },
7246 "name": "GREATER_THAN_OR_EQUAL_TO_THRESHOLD"
7247 },
7248 {
7249 "docs": {
7250 "stability": "stable",
7251 "summary": "Specified statistic is strictly greater than the threshold."
7252 },
7253 "name": "GREATER_THAN_THRESHOLD"
7254 },
7255 {
7256 "docs": {
7257 "stability": "stable",
7258 "summary": "Specified statistic is strictly less than the threshold."
7259 },
7260 "name": "LESS_THAN_THRESHOLD"
7261 },
7262 {
7263 "docs": {
7264 "stability": "stable",
7265 "summary": "Specified statistic is less than or equal to the threshold."
7266 },
7267 "name": "LESS_THAN_OR_EQUAL_TO_THRESHOLD"
7268 },
7269 {
7270 "docs": {
7271 "remarks": "Used only for alarms based on anomaly detection models",
7272 "stability": "stable",
7273 "summary": "Specified statistic is lower than or greater than the anomaly model band."
7274 },
7275 "name": "LESS_THAN_LOWER_OR_GREATER_THAN_UPPER_THRESHOLD"
7276 },
7277 {
7278 "docs": {
7279 "remarks": "Used only for alarms based on anomaly detection models",
7280 "stability": "stable",
7281 "summary": "Specified statistic is greater than the anomaly model band."
7282 },
7283 "name": "GREATER_THAN_UPPER_THRESHOLD"
7284 },
7285 {
7286 "docs": {
7287 "remarks": "Used only for alarms based on anomaly detection models",
7288 "stability": "stable",
7289 "summary": "Specified statistic is lower than the anomaly model band."
7290 },
7291 "name": "LESS_THAN_LOWER_THRESHOLD"
7292 }
7293 ],
7294 "name": "ComparisonOperator",
7295 "symbolId": "lib/alarm:ComparisonOperator"
7296 },
7297 "@aws-cdk/aws-cloudwatch.CompositeAlarm": {
7298 "assembly": "@aws-cdk/aws-cloudwatch",
7299 "base": "@aws-cdk/aws-cloudwatch.AlarmBase",
7300 "docs": {
7301 "stability": "stable",
7302 "summary": "A Composite Alarm based on Alarm Rule.",
7303 "example": "declare const alarm1: cloudwatch.Alarm;\ndeclare const alarm2: cloudwatch.Alarm;\ndeclare const alarm3: cloudwatch.Alarm;\ndeclare const alarm4: cloudwatch.Alarm;\n\nconst alarmRule = cloudwatch.AlarmRule.anyOf(\n cloudwatch.AlarmRule.allOf(\n cloudwatch.AlarmRule.anyOf(\n alarm1,\n cloudwatch.AlarmRule.fromAlarm(alarm2, cloudwatch.AlarmState.OK),\n alarm3,\n ),\n cloudwatch.AlarmRule.not(cloudwatch.AlarmRule.fromAlarm(alarm4, cloudwatch.AlarmState.INSUFFICIENT_DATA)),\n ),\n cloudwatch.AlarmRule.fromBoolean(false),\n);\n\nnew cloudwatch.CompositeAlarm(this, 'MyAwesomeCompositeAlarm', {\n alarmRule,\n});",
7304 "custom": {
7305 "exampleMetadata": "infused"
7306 }
7307 },
7308 "fqn": "@aws-cdk/aws-cloudwatch.CompositeAlarm",
7309 "initializer": {
7310 "docs": {
7311 "stability": "stable"
7312 },
7313 "locationInModule": {
7314 "filename": "lib/composite-alarm.ts",
7315 "line": 92
7316 },
7317 "parameters": [
7318 {
7319 "name": "scope",
7320 "type": {
7321 "fqn": "constructs.Construct"
7322 }
7323 },
7324 {
7325 "name": "id",
7326 "type": {
7327 "primitive": "string"
7328 }
7329 },
7330 {
7331 "name": "props",
7332 "type": {
7333 "fqn": "@aws-cdk/aws-cloudwatch.CompositeAlarmProps"
7334 }
7335 }
7336 ]
7337 },
7338 "kind": "class",
7339 "locationInModule": {
7340 "filename": "lib/composite-alarm.ts",
7341 "line": 42
7342 },
7343 "methods": [
7344 {
7345 "docs": {
7346 "stability": "stable",
7347 "summary": "Import an existing CloudWatch composite alarm provided an ARN."
7348 },
7349 "locationInModule": {
7350 "filename": "lib/composite-alarm.ts",
7351 "line": 68
7352 },
7353 "name": "fromCompositeAlarmArn",
7354 "parameters": [
7355 {
7356 "docs": {
7357 "summary": "The parent creating construct (usually `this`)."
7358 },
7359 "name": "scope",
7360 "type": {
7361 "fqn": "constructs.Construct"
7362 }
7363 },
7364 {
7365 "docs": {
7366 "summary": "The construct's name."
7367 },
7368 "name": "id",
7369 "type": {
7370 "primitive": "string"
7371 }
7372 },
7373 {
7374 "docs": {
7375 "summary": "Composite Alarm ARN (i.e. arn:aws:cloudwatch:<region>:<account-id>:alarm/CompositeAlarmName)."
7376 },
7377 "name": "compositeAlarmArn",
7378 "type": {
7379 "primitive": "string"
7380 }
7381 }
7382 ],
7383 "returns": {
7384 "type": {
7385 "fqn": "@aws-cdk/aws-cloudwatch.IAlarm"
7386 }
7387 },
7388 "static": true
7389 },
7390 {
7391 "docs": {
7392 "stability": "stable",
7393 "summary": "Import an existing CloudWatch composite alarm provided an Name."
7394 },
7395 "locationInModule": {
7396 "filename": "lib/composite-alarm.ts",
7397 "line": 51
7398 },
7399 "name": "fromCompositeAlarmName",
7400 "parameters": [
7401 {
7402 "docs": {
7403 "summary": "The parent creating construct (usually `this`)."
7404 },
7405 "name": "scope",
7406 "type": {
7407 "fqn": "constructs.Construct"
7408 }
7409 },
7410 {
7411 "docs": {
7412 "summary": "The construct's name."
7413 },
7414 "name": "id",
7415 "type": {
7416 "primitive": "string"
7417 }
7418 },
7419 {
7420 "docs": {
7421 "summary": "Composite Alarm Name."
7422 },
7423 "name": "compositeAlarmName",
7424 "type": {
7425 "primitive": "string"
7426 }
7427 }
7428 ],
7429 "returns": {
7430 "type": {
7431 "fqn": "@aws-cdk/aws-cloudwatch.IAlarm"
7432 }
7433 },
7434 "static": true
7435 }
7436 ],
7437 "name": "CompositeAlarm",
7438 "properties": [
7439 {
7440 "docs": {
7441 "custom": {
7442 "attribute": "true"
7443 },
7444 "stability": "stable",
7445 "summary": "ARN of this alarm."
7446 },
7447 "immutable": true,
7448 "locationInModule": {
7449 "filename": "lib/composite-alarm.ts",
7450 "line": 81
7451 },
7452 "name": "alarmArn",
7453 "overrides": "@aws-cdk/aws-cloudwatch.AlarmBase",
7454 "type": {
7455 "primitive": "string"
7456 }
7457 },
7458 {
7459 "docs": {
7460 "custom": {
7461 "attribute": "true"
7462 },
7463 "stability": "stable",
7464 "summary": "Name of this alarm."
7465 },
7466 "immutable": true,
7467 "locationInModule": {
7468 "filename": "lib/composite-alarm.ts",
7469 "line": 88
7470 },
7471 "name": "alarmName",
7472 "overrides": "@aws-cdk/aws-cloudwatch.AlarmBase",
7473 "type": {
7474 "primitive": "string"
7475 }
7476 }
7477 ],
7478 "symbolId": "lib/composite-alarm:CompositeAlarm"
7479 },
7480 "@aws-cdk/aws-cloudwatch.CompositeAlarmProps": {
7481 "assembly": "@aws-cdk/aws-cloudwatch",
7482 "datatype": true,
7483 "docs": {
7484 "stability": "stable",
7485 "summary": "Properties for creating a Composite Alarm.",
7486 "example": "declare const alarm1: cloudwatch.Alarm;\ndeclare const alarm2: cloudwatch.Alarm;\ndeclare const alarm3: cloudwatch.Alarm;\ndeclare const alarm4: cloudwatch.Alarm;\n\nconst alarmRule = cloudwatch.AlarmRule.anyOf(\n cloudwatch.AlarmRule.allOf(\n cloudwatch.AlarmRule.anyOf(\n alarm1,\n cloudwatch.AlarmRule.fromAlarm(alarm2, cloudwatch.AlarmState.OK),\n alarm3,\n ),\n cloudwatch.AlarmRule.not(cloudwatch.AlarmRule.fromAlarm(alarm4, cloudwatch.AlarmState.INSUFFICIENT_DATA)),\n ),\n cloudwatch.AlarmRule.fromBoolean(false),\n);\n\nnew cloudwatch.CompositeAlarm(this, 'MyAwesomeCompositeAlarm', {\n alarmRule,\n});",
7487 "custom": {
7488 "exampleMetadata": "infused"
7489 }
7490 },
7491 "fqn": "@aws-cdk/aws-cloudwatch.CompositeAlarmProps",
7492 "kind": "interface",
7493 "locationInModule": {
7494 "filename": "lib/composite-alarm.ts",
7495 "line": 9
7496 },
7497 "name": "CompositeAlarmProps",
7498 "properties": [
7499 {
7500 "abstract": true,
7501 "docs": {
7502 "stability": "stable",
7503 "summary": "Expression that specifies which other alarms are to be evaluated to determine this composite alarm's state."
7504 },
7505 "immutable": true,
7506 "locationInModule": {
7507 "filename": "lib/composite-alarm.ts",
7508 "line": 35
7509 },
7510 "name": "alarmRule",
7511 "type": {
7512 "fqn": "@aws-cdk/aws-cloudwatch.IAlarmRule"
7513 }
7514 },
7515 {
7516 "abstract": true,
7517 "docs": {
7518 "default": "true",
7519 "stability": "stable",
7520 "summary": "Whether the actions for this alarm are enabled."
7521 },
7522 "immutable": true,
7523 "locationInModule": {
7524 "filename": "lib/composite-alarm.ts",
7525 "line": 16
7526 },
7527 "name": "actionsEnabled",
7528 "optional": true,
7529 "type": {
7530 "primitive": "boolean"
7531 }
7532 },
7533 {
7534 "abstract": true,
7535 "docs": {
7536 "default": "No description",
7537 "stability": "stable",
7538 "summary": "Description for the alarm."
7539 },
7540 "immutable": true,
7541 "locationInModule": {
7542 "filename": "lib/composite-alarm.ts",
7543 "line": 23
7544 },
7545 "name": "alarmDescription",
7546 "optional": true,
7547 "type": {
7548 "primitive": "string"
7549 }
7550 },
7551 {
7552 "abstract": true,
7553 "docs": {
7554 "default": "Automatically generated name",
7555 "stability": "stable",
7556 "summary": "Name of the alarm."
7557 },
7558 "immutable": true,
7559 "locationInModule": {
7560 "filename": "lib/composite-alarm.ts",
7561 "line": 30
7562 },
7563 "name": "compositeAlarmName",
7564 "optional": true,
7565 "type": {
7566 "primitive": "string"
7567 }
7568 }
7569 ],
7570 "symbolId": "lib/composite-alarm:CompositeAlarmProps"
7571 },
7572 "@aws-cdk/aws-cloudwatch.ConcreteWidget": {
7573 "abstract": true,
7574 "assembly": "@aws-cdk/aws-cloudwatch",
7575 "docs": {
7576 "remarks": "This is in contrast to other widgets which exist for layout purposes.",
7577 "stability": "stable",
7578 "summary": "A real CloudWatch widget that has its own fixed size and remembers its position."
7579 },
7580 "fqn": "@aws-cdk/aws-cloudwatch.ConcreteWidget",
7581 "initializer": {
7582 "docs": {
7583 "stability": "stable"
7584 },
7585 "locationInModule": {
7586 "filename": "lib/widget.ts",
7587 "line": 51
7588 },
7589 "parameters": [
7590 {
7591 "name": "width",
7592 "type": {
7593 "primitive": "number"
7594 }
7595 },
7596 {
7597 "name": "height",
7598 "type": {
7599 "primitive": "number"
7600 }
7601 }
7602 ]
7603 },
7604 "interfaces": [
7605 "@aws-cdk/aws-cloudwatch.IWidget"
7606 ],
7607 "kind": "class",
7608 "locationInModule": {
7609 "filename": "lib/widget.ts",
7610 "line": 43
7611 },
7612 "methods": [
7613 {
7614 "docs": {
7615 "stability": "stable",
7616 "summary": "Copy the warnings from the given metric."
7617 },
7618 "locationInModule": {
7619 "filename": "lib/widget.ts",
7620 "line": 70
7621 },
7622 "name": "copyMetricWarnings",
7623 "parameters": [
7624 {
7625 "name": "ms",
7626 "type": {
7627 "fqn": "@aws-cdk/aws-cloudwatch.IMetric"
7628 },
7629 "variadic": true
7630 }
7631 ],
7632 "protected": true,
7633 "variadic": true
7634 },
7635 {
7636 "docs": {
7637 "stability": "stable",
7638 "summary": "Place the widget at a given position."
7639 },
7640 "locationInModule": {
7641 "filename": "lib/widget.ts",
7642 "line": 60
7643 },
7644 "name": "position",
7645 "overrides": "@aws-cdk/aws-cloudwatch.IWidget",
7646 "parameters": [
7647 {
7648 "name": "x",
7649 "type": {
7650 "primitive": "number"
7651 }
7652 },
7653 {
7654 "name": "y",
7655 "type": {
7656 "primitive": "number"
7657 }
7658 }
7659 ]
7660 },
7661 {
7662 "abstract": true,
7663 "docs": {
7664 "stability": "stable",
7665 "summary": "Return the widget JSON for use in the dashboard."
7666 },
7667 "locationInModule": {
7668 "filename": "lib/widget.ts",
7669 "line": 65
7670 },
7671 "name": "toJson",
7672 "overrides": "@aws-cdk/aws-cloudwatch.IWidget",
7673 "returns": {
7674 "type": {
7675 "collection": {
7676 "elementtype": {
7677 "primitive": "any"
7678 },
7679 "kind": "array"
7680 }
7681 }
7682 }
7683 }
7684 ],
7685 "name": "ConcreteWidget",
7686 "properties": [
7687 {
7688 "docs": {
7689 "stability": "stable",
7690 "summary": "The amount of vertical grid units the widget will take up."
7691 },
7692 "immutable": true,
7693 "locationInModule": {
7694 "filename": "lib/widget.ts",
7695 "line": 45
7696 },
7697 "name": "height",
7698 "overrides": "@aws-cdk/aws-cloudwatch.IWidget",
7699 "type": {
7700 "primitive": "number"
7701 }
7702 },
7703 {
7704 "docs": {
7705 "stability": "stable",
7706 "summary": "The amount of horizontal grid units the widget will take up."
7707 },
7708 "immutable": true,
7709 "locationInModule": {
7710 "filename": "lib/widget.ts",
7711 "line": 44
7712 },
7713 "name": "width",
7714 "overrides": "@aws-cdk/aws-cloudwatch.IWidget",
7715 "type": {
7716 "primitive": "number"
7717 }
7718 },
7719 {
7720 "docs": {
7721 "stability": "stable",
7722 "summary": "Any warnings that are produced as a result of putting together this widget."
7723 },
7724 "immutable": true,
7725 "locationInModule": {
7726 "filename": "lib/widget.ts",
7727 "line": 49
7728 },
7729 "name": "warnings",
7730 "optional": true,
7731 "overrides": "@aws-cdk/aws-cloudwatch.IWidget",
7732 "type": {
7733 "collection": {
7734 "elementtype": {
7735 "primitive": "string"
7736 },
7737 "kind": "array"
7738 }
7739 }
7740 },
7741 {
7742 "docs": {
7743 "stability": "stable"
7744 },
7745 "locationInModule": {
7746 "filename": "lib/widget.ts",
7747 "line": 46
7748 },
7749 "name": "x",
7750 "optional": true,
7751 "protected": true,
7752 "type": {
7753 "primitive": "number"
7754 }
7755 },
7756 {
7757 "docs": {
7758 "stability": "stable"
7759 },
7760 "locationInModule": {
7761 "filename": "lib/widget.ts",
7762 "line": 47
7763 },
7764 "name": "y",
7765 "optional": true,
7766 "protected": true,
7767 "type": {
7768 "primitive": "number"
7769 }
7770 }
7771 ],
7772 "symbolId": "lib/widget:ConcreteWidget"
7773 },
7774 "@aws-cdk/aws-cloudwatch.CreateAlarmOptions": {
7775 "assembly": "@aws-cdk/aws-cloudwatch",
7776 "datatype": true,
7777 "docs": {
7778 "stability": "stable",
7779 "summary": "Properties needed to make an alarm from a metric.",
7780 "example": "declare const fn: lambda.Function;\n\nfn.metricErrors().createAlarm(this, 'Alarm', {\n threshold: 100,\n evaluationPeriods: 2,\n});",
7781 "custom": {
7782 "exampleMetadata": "infused"
7783 }
7784 },
7785 "fqn": "@aws-cdk/aws-cloudwatch.CreateAlarmOptions",
7786 "kind": "interface",
7787 "locationInModule": {
7788 "filename": "lib/metric.ts",
7789 "line": 734
7790 },
7791 "name": "CreateAlarmOptions",
7792 "properties": [
7793 {
7794 "abstract": true,
7795 "docs": {
7796 "stability": "stable",
7797 "summary": "The number of periods over which data is compared to the specified threshold."
7798 },
7799 "immutable": true,
7800 "locationInModule": {
7801 "filename": "lib/metric.ts",
7802 "line": 793
7803 },
7804 "name": "evaluationPeriods",
7805 "type": {
7806 "primitive": "number"
7807 }
7808 },
7809 {
7810 "abstract": true,
7811 "docs": {
7812 "stability": "stable",
7813 "summary": "The value against which the specified statistic is compared."
7814 },
7815 "immutable": true,
7816 "locationInModule": {
7817 "filename": "lib/metric.ts",
7818 "line": 788
7819 },
7820 "name": "threshold",
7821 "type": {
7822 "primitive": "number"
7823 }
7824 },
7825 {
7826 "abstract": true,
7827 "docs": {
7828 "default": "true",
7829 "stability": "stable",
7830 "summary": "Whether the actions for this alarm are enabled."
7831 },
7832 "immutable": true,
7833 "locationInModule": {
7834 "filename": "lib/metric.ts",
7835 "line": 816
7836 },
7837 "name": "actionsEnabled",
7838 "optional": true,
7839 "type": {
7840 "primitive": "boolean"
7841 }
7842 },
7843 {
7844 "abstract": true,
7845 "docs": {
7846 "default": "No description",
7847 "stability": "stable",
7848 "summary": "Description for the alarm."
7849 },
7850 "immutable": true,
7851 "locationInModule": {
7852 "filename": "lib/metric.ts",
7853 "line": 776
7854 },
7855 "name": "alarmDescription",
7856 "optional": true,
7857 "type": {
7858 "primitive": "string"
7859 }
7860 },
7861 {
7862 "abstract": true,
7863 "docs": {
7864 "default": "Automatically generated name",
7865 "stability": "stable",
7866 "summary": "Name of the alarm."
7867 },
7868 "immutable": true,
7869 "locationInModule": {
7870 "filename": "lib/metric.ts",
7871 "line": 769
7872 },
7873 "name": "alarmName",
7874 "optional": true,
7875 "type": {
7876 "primitive": "string"
7877 }
7878 },
7879 {
7880 "abstract": true,
7881 "docs": {
7882 "default": "GreaterThanOrEqualToThreshold",
7883 "stability": "stable",
7884 "summary": "Comparison to use to check if metric is breaching."
7885 },
7886 "immutable": true,
7887 "locationInModule": {
7888 "filename": "lib/metric.ts",
7889 "line": 783
7890 },
7891 "name": "comparisonOperator",
7892 "optional": true,
7893 "type": {
7894 "fqn": "@aws-cdk/aws-cloudwatch.ComparisonOperator"
7895 }
7896 },
7897 {
7898 "abstract": true,
7899 "docs": {
7900 "default": "``evaluationPeriods``",
7901 "remarks": "This is used only if you are setting an \"M\nout of N\" alarm. In that case, this value is the M. For more information, see Evaluating an Alarm in the Amazon\nCloudWatch User Guide.",
7902 "see": "https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/AlarmThatSendsEmail.html#alarm-evaluation",
7903 "stability": "stable",
7904 "summary": "The number of datapoints that must be breaching to trigger the alarm."
7905 },
7906 "immutable": true,
7907 "locationInModule": {
7908 "filename": "lib/metric.ts",
7909 "line": 827
7910 },
7911 "name": "datapointsToAlarm",
7912 "optional": true,
7913 "type": {
7914 "primitive": "number"
7915 }
7916 },
7917 {
7918 "abstract": true,
7919 "docs": {
7920 "default": "- Not configured.",
7921 "remarks": "Used only for alarms that are based on percentiles.",
7922 "stability": "stable",
7923 "summary": "Specifies whether to evaluate the data and potentially change the alarm state if there are too few data points to be statistically significant."
7924 },
7925 "immutable": true,
7926 "locationInModule": {
7927 "filename": "lib/metric.ts",
7928 "line": 802
7929 },
7930 "name": "evaluateLowSampleCountPercentile",
7931 "optional": true,
7932 "type": {
7933 "primitive": "string"
7934 }
7935 },
7936 {
7937 "abstract": true,
7938 "docs": {
7939 "default": "- The period from the metric",
7940 "deprecated": "Use `metric.with({ period: ... })` to encode the period into the Metric object",
7941 "remarks": "Cannot be used with `MathExpression` objects.",
7942 "stability": "deprecated",
7943 "summary": "The period over which the specified statistic is applied."
7944 },
7945 "immutable": true,
7946 "locationInModule": {
7947 "filename": "lib/metric.ts",
7948 "line": 743
7949 },
7950 "name": "period",
7951 "optional": true,
7952 "type": {
7953 "fqn": "@aws-cdk/core.Duration"
7954 }
7955 },
7956 {
7957 "abstract": true,
7958 "docs": {
7959 "default": "- The statistic from the metric",
7960 "deprecated": "Use `metric.with({ statistic: ... })` to encode the period into the Metric object",
7961 "remarks": "Can be one of the following:\n\n- \"Minimum\" | \"min\"\n- \"Maximum\" | \"max\"\n- \"Average\" | \"avg\"\n- \"Sum\" | \"sum\"\n- \"SampleCount | \"n\"\n- \"pNN.NN\"\n\nCannot be used with `MathExpression` objects.",
7962 "stability": "deprecated",
7963 "summary": "What function to use for aggregating."
7964 },
7965 "immutable": true,
7966 "locationInModule": {
7967 "filename": "lib/metric.ts",
7968 "line": 762
7969 },
7970 "name": "statistic",
7971 "optional": true,
7972 "type": {
7973 "primitive": "string"
7974 }
7975 },
7976 {
7977 "abstract": true,
7978 "docs": {
7979 "default": "TreatMissingData.Missing",
7980 "stability": "stable",
7981 "summary": "Sets how this alarm is to handle missing data points."
7982 },
7983 "immutable": true,
7984 "locationInModule": {
7985 "filename": "lib/metric.ts",
7986 "line": 809
7987 },
7988 "name": "treatMissingData",
7989 "optional": true,
7990 "type": {
7991 "fqn": "@aws-cdk/aws-cloudwatch.TreatMissingData"
7992 }
7993 }
7994 ],
7995 "symbolId": "lib/metric:CreateAlarmOptions"
7996 },
7997 "@aws-cdk/aws-cloudwatch.CustomWidget": {
7998 "assembly": "@aws-cdk/aws-cloudwatch",
7999 "base": "@aws-cdk/aws-cloudwatch.ConcreteWidget",
8000 "docs": {
8001 "stability": "stable",
8002 "summary": "A CustomWidget shows the result of a AWS lambda function.",
8003 "example": "declare const dashboard: cloudwatch.Dashboard;\n\n// Import or create a lambda function\nconst fn = lambda.Function.fromFunctionArn(\n dashboard,\n 'Function',\n 'arn:aws:lambda:us-east-1:123456789012:function:MyFn',\n);\n\ndashboard.addWidgets(new cloudwatch.CustomWidget({\n functionArn: fn.functionArn,\n title: 'My lambda baked widget',\n}));",
8004 "custom": {
8005 "exampleMetadata": "infused"
8006 }
8007 },
8008 "fqn": "@aws-cdk/aws-cloudwatch.CustomWidget",
8009 "initializer": {
8010 "docs": {
8011 "stability": "stable"
8012 },
8013 "locationInModule": {
8014 "filename": "lib/graph.ts",
8015 "line": 436
8016 },
8017 "parameters": [
8018 {
8019 "name": "props",
8020 "type": {
8021 "fqn": "@aws-cdk/aws-cloudwatch.CustomWidgetProps"
8022 }
8023 }
8024 ]
8025 },
8026 "kind": "class",
8027 "locationInModule": {
8028 "filename": "lib/graph.ts",
8029 "line": 432
8030 },
8031 "methods": [
8032 {
8033 "docs": {
8034 "stability": "stable",
8035 "summary": "Return the widget JSON for use in the dashboard."
8036 },
8037 "locationInModule": {
8038 "filename": "lib/graph.ts",
8039 "line": 441
8040 },
8041 "name": "toJson",
8042 "overrides": "@aws-cdk/aws-cloudwatch.ConcreteWidget",
8043 "returns": {
8044 "type": {
8045 "collection": {
8046 "elementtype": {
8047 "primitive": "any"
8048 },
8049 "kind": "array"
8050 }
8051 }
8052 }
8053 }
8054 ],
8055 "name": "CustomWidget",
8056 "symbolId": "lib/graph:CustomWidget"
8057 },
8058 "@aws-cdk/aws-cloudwatch.CustomWidgetProps": {
8059 "assembly": "@aws-cdk/aws-cloudwatch",
8060 "datatype": true,
8061 "docs": {
8062 "stability": "stable",
8063 "summary": "The properties for a CustomWidget.",
8064 "example": "declare const dashboard: cloudwatch.Dashboard;\n\n// Import or create a lambda function\nconst fn = lambda.Function.fromFunctionArn(\n dashboard,\n 'Function',\n 'arn:aws:lambda:us-east-1:123456789012:function:MyFn',\n);\n\ndashboard.addWidgets(new cloudwatch.CustomWidget({\n functionArn: fn.functionArn,\n title: 'My lambda baked widget',\n}));",
8065 "custom": {
8066 "exampleMetadata": "infused"
8067 }
8068 },
8069 "fqn": "@aws-cdk/aws-cloudwatch.CustomWidgetProps",
8070 "kind": "interface",
8071 "locationInModule": {
8072 "filename": "lib/graph.ts",
8073 "line": 374
8074 },
8075 "name": "CustomWidgetProps",
8076 "properties": [
8077 {
8078 "abstract": true,
8079 "docs": {
8080 "stability": "stable",
8081 "summary": "The Arn of the AWS Lambda function that returns HTML or JSON that will be displayed in the widget."
8082 },
8083 "immutable": true,
8084 "locationInModule": {
8085 "filename": "lib/graph.ts",
8086 "line": 378
8087 },
8088 "name": "functionArn",
8089 "type": {
8090 "primitive": "string"
8091 }
8092 },
8093 {
8094 "abstract": true,
8095 "docs": {
8096 "stability": "stable",
8097 "summary": "The title of the widget."
8098 },
8099 "immutable": true,
8100 "locationInModule": {
8101 "filename": "lib/graph.ts",
8102 "line": 398
8103 },
8104 "name": "title",
8105 "type": {
8106 "primitive": "string"
8107 }
8108 },
8109 {
8110 "abstract": true,
8111 "docs": {
8112 "default": "- 6 for Alarm and Graph widgets.\n3 for single value widgets where most recent value of a metric is displayed.",
8113 "stability": "stable",
8114 "summary": "Height of the widget."
8115 },
8116 "immutable": true,
8117 "locationInModule": {
8118 "filename": "lib/graph.ts",
8119 "line": 393
8120 },
8121 "name": "height",
8122 "optional": true,
8123 "type": {
8124 "primitive": "number"
8125 }
8126 },
8127 {
8128 "abstract": true,
8129 "docs": {
8130 "default": "- no parameters are passed to the lambda function",
8131 "stability": "stable",
8132 "summary": "Parameters passed to the lambda function."
8133 },
8134 "immutable": true,
8135 "locationInModule": {
8136 "filename": "lib/graph.ts",
8137 "line": 426
8138 },
8139 "name": "params",
8140 "optional": true,
8141 "type": {
8142 "primitive": "any"
8143 }
8144 },
8145 {
8146 "abstract": true,
8147 "docs": {
8148 "default": "true",
8149 "stability": "stable",
8150 "summary": "Update the widget on refresh."
8151 },
8152 "immutable": true,
8153 "locationInModule": {
8154 "filename": "lib/graph.ts",
8155 "line": 405
8156 },
8157 "name": "updateOnRefresh",
8158 "optional": true,
8159 "type": {
8160 "primitive": "boolean"
8161 }
8162 },
8163 {
8164 "abstract": true,
8165 "docs": {
8166 "default": "true",
8167 "stability": "stable",
8168 "summary": "Update the widget on resize."
8169 },
8170 "immutable": true,
8171 "locationInModule": {
8172 "filename": "lib/graph.ts",
8173 "line": 412
8174 },
8175 "name": "updateOnResize",
8176 "optional": true,
8177 "type": {
8178 "primitive": "boolean"
8179 }
8180 },
8181 {
8182 "abstract": true,
8183 "docs": {
8184 "default": "true",
8185 "stability": "stable",
8186 "summary": "Update the widget on time range change."
8187 },
8188 "immutable": true,
8189 "locationInModule": {
8190 "filename": "lib/graph.ts",
8191 "line": 419
8192 },
8193 "name": "updateOnTimeRangeChange",
8194 "optional": true,
8195 "type": {
8196 "primitive": "boolean"
8197 }
8198 },
8199 {
8200 "abstract": true,
8201 "docs": {
8202 "default": "6",
8203 "stability": "stable",
8204 "summary": "Width of the widget, in a grid of 24 units wide."
8205 },
8206 "immutable": true,
8207 "locationInModule": {
8208 "filename": "lib/graph.ts",
8209 "line": 385
8210 },
8211 "name": "width",
8212 "optional": true,
8213 "type": {
8214 "primitive": "number"
8215 }
8216 }
8217 ],
8218 "symbolId": "lib/graph:CustomWidgetProps"
8219 },
8220 "@aws-cdk/aws-cloudwatch.Dashboard": {
8221 "assembly": "@aws-cdk/aws-cloudwatch",
8222 "base": "@aws-cdk/core.Resource",
8223 "docs": {
8224 "stability": "stable",
8225 "summary": "A CloudWatch dashboard.",
8226 "example": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as cloudwatch from '@aws-cdk/aws-cloudwatch';\n\ndeclare const widget: cloudwatch.IWidget;\nconst dashboard = new cloudwatch.Dashboard(this, 'MyDashboard', /* all optional props */ {\n dashboardName: 'dashboardName',\n end: 'end',\n periodOverride: cloudwatch.PeriodOverride.AUTO,\n start: 'start',\n widgets: [[widget]],\n});",
8227 "custom": {
8228 "exampleMetadata": "fixture=_generated"
8229 }
8230 },
8231 "fqn": "@aws-cdk/aws-cloudwatch.Dashboard",
8232 "initializer": {
8233 "docs": {
8234 "stability": "stable"
8235 },
8236 "locationInModule": {
8237 "filename": "lib/dashboard.ts",
8238 "line": 95
8239 },
8240 "parameters": [
8241 {
8242 "name": "scope",
8243 "type": {
8244 "fqn": "constructs.Construct"
8245 }
8246 },
8247 {
8248 "name": "id",
8249 "type": {
8250 "primitive": "string"
8251 }
8252 },
8253 {
8254 "name": "props",
8255 "optional": true,
8256 "type": {
8257 "fqn": "@aws-cdk/aws-cloudwatch.DashboardProps"
8258 }
8259 }
8260 ]
8261 },
8262 "kind": "class",
8263 "locationInModule": {
8264 "filename": "lib/dashboard.ts",
8265 "line": 77
8266 },
8267 "methods": [
8268 {
8269 "docs": {
8270 "remarks": "Widgets given in multiple calls to add() will be laid out stacked on\ntop of each other.\n\nMultiple widgets added in the same call to add() will be laid out next\nto each other.",
8271 "stability": "stable",
8272 "summary": "Add a widget to the dashboard."
8273 },
8274 "locationInModule": {
8275 "filename": "lib/dashboard.ts",
8276 "line": 148
8277 },
8278 "name": "addWidgets",
8279 "parameters": [
8280 {
8281 "name": "widgets",
8282 "type": {
8283 "fqn": "@aws-cdk/aws-cloudwatch.IWidget"
8284 },
8285 "variadic": true
8286 }
8287 ],
8288 "variadic": true
8289 }
8290 ],
8291 "name": "Dashboard",
8292 "properties": [
8293 {
8294 "docs": {
8295 "custom": {
8296 "attribute": "true"
8297 },
8298 "stability": "stable",
8299 "summary": "ARN of this dashboard."
8300 },
8301 "immutable": true,
8302 "locationInModule": {
8303 "filename": "lib/dashboard.ts",
8304 "line": 91
8305 },
8306 "name": "dashboardArn",
8307 "type": {
8308 "primitive": "string"
8309 }
8310 },
8311 {
8312 "docs": {
8313 "custom": {
8314 "attribute": "true"
8315 },
8316 "stability": "stable",
8317 "summary": "The name of this dashboard."
8318 },
8319 "immutable": true,
8320 "locationInModule": {
8321 "filename": "lib/dashboard.ts",
8322 "line": 84
8323 },
8324 "name": "dashboardName",
8325 "type": {
8326 "primitive": "string"
8327 }
8328 }
8329 ],
8330 "symbolId": "lib/dashboard:Dashboard"
8331 },
8332 "@aws-cdk/aws-cloudwatch.DashboardProps": {
8333 "assembly": "@aws-cdk/aws-cloudwatch",
8334 "datatype": true,
8335 "docs": {
8336 "stability": "stable",
8337 "summary": "Properties for defining a CloudWatch Dashboard.",
8338 "example": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as cloudwatch from '@aws-cdk/aws-cloudwatch';\n\ndeclare const widget: cloudwatch.IWidget;\nconst dashboardProps: cloudwatch.DashboardProps = {\n dashboardName: 'dashboardName',\n end: 'end',\n periodOverride: cloudwatch.PeriodOverride.AUTO,\n start: 'start',\n widgets: [[widget]],\n};",
8339 "custom": {
8340 "exampleMetadata": "fixture=_generated"
8341 }
8342 },
8343 "fqn": "@aws-cdk/aws-cloudwatch.DashboardProps",
8344 "kind": "interface",
8345 "locationInModule": {
8346 "filename": "lib/dashboard.ts",
8347 "line": 24
8348 },
8349 "name": "DashboardProps",
8350 "properties": [
8351 {
8352 "abstract": true,
8353 "docs": {
8354 "default": "- automatically generated name",
8355 "remarks": "If set, must only contain alphanumerics, dash (-) and underscore (_)",
8356 "stability": "stable",
8357 "summary": "Name of the dashboard."
8358 },
8359 "immutable": true,
8360 "locationInModule": {
8361 "filename": "lib/dashboard.ts",
8362 "line": 32
8363 },
8364 "name": "dashboardName",
8365 "optional": true,
8366 "type": {
8367 "primitive": "string"
8368 }
8369 },
8370 {
8371 "abstract": true,
8372 "docs": {
8373 "default": "When the dashboard loads, the end date will be the current time.",
8374 "remarks": "If you specify a value for end, you must also specify a value for start.\nSpecify an absolute time in the ISO 8601 format. For example, 2018-12-17T06:00:00.000Z.",
8375 "stability": "stable",
8376 "summary": "The end of the time range to use for each widget on the dashboard when the dashboard loads."
8377 },
8378 "immutable": true,
8379 "locationInModule": {
8380 "filename": "lib/dashboard.ts",
8381 "line": 53
8382 },
8383 "name": "end",
8384 "optional": true,
8385 "type": {
8386 "primitive": "string"
8387 }
8388 },
8389 {
8390 "abstract": true,
8391 "docs": {
8392 "default": "Auto",
8393 "remarks": "Specifying `Auto` causes the period of all graphs on the dashboard to automatically adapt to the time range of the dashboard.\nSpecifying `Inherit` ensures that the period set for each graph is always obeyed.",
8394 "stability": "stable",
8395 "summary": "Use this field to specify the period for the graphs when the dashboard loads."
8396 },
8397 "immutable": true,
8398 "locationInModule": {
8399 "filename": "lib/dashboard.ts",
8400 "line": 62
8401 },
8402 "name": "periodOverride",
8403 "optional": true,
8404 "type": {
8405 "fqn": "@aws-cdk/aws-cloudwatch.PeriodOverride"
8406 }
8407 },
8408 {
8409 "abstract": true,
8410 "docs": {
8411 "default": "When the dashboard loads, the start time will be the default time range.",
8412 "remarks": "You can specify start without specifying end to specify a relative time range that ends with the current time.\nIn this case, the value of start must begin with -P, and you can use M, H, D, W and M as abbreviations for\nminutes, hours, days, weeks and months. For example, -PT8H shows the last 8 hours and -P3M shows the last three months.\nYou can also use start along with an end field, to specify an absolute time range.\nWhen specifying an absolute time range, use the ISO 8601 format. For example, 2018-12-17T06:00:00.000Z.",
8413 "stability": "stable",
8414 "summary": "The start of the time range to use for each widget on the dashboard."
8415 },
8416 "immutable": true,
8417 "locationInModule": {
8418 "filename": "lib/dashboard.ts",
8419 "line": 44
8420 },
8421 "name": "start",
8422 "optional": true,
8423 "type": {
8424 "primitive": "string"
8425 }
8426 },
8427 {
8428 "abstract": true,
8429 "docs": {
8430 "default": "- No widgets",
8431 "remarks": "One array represents a row of widgets.",
8432 "stability": "stable",
8433 "summary": "Initial set of widgets on the dashboard."
8434 },
8435 "immutable": true,
8436 "locationInModule": {
8437 "filename": "lib/dashboard.ts",
8438 "line": 71
8439 },
8440 "name": "widgets",
8441 "optional": true,
8442 "type": {
8443 "collection": {
8444 "elementtype": {
8445 "collection": {
8446 "elementtype": {
8447 "fqn": "@aws-cdk/aws-cloudwatch.IWidget"
8448 },
8449 "kind": "array"
8450 }
8451 },
8452 "kind": "array"
8453 }
8454 }
8455 }
8456 ],
8457 "symbolId": "lib/dashboard:DashboardProps"
8458 },
8459 "@aws-cdk/aws-cloudwatch.Dimension": {
8460 "assembly": "@aws-cdk/aws-cloudwatch",
8461 "datatype": true,
8462 "docs": {
8463 "see": "https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cw-dimension.html",
8464 "stability": "stable",
8465 "summary": "Metric dimension.",
8466 "example": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as cloudwatch from '@aws-cdk/aws-cloudwatch';\n\ndeclare const value: any;\nconst dimension: cloudwatch.Dimension = {\n name: 'name',\n value: value,\n};",
8467 "custom": {
8468 "exampleMetadata": "fixture=_generated"
8469 }
8470 },
8471 "fqn": "@aws-cdk/aws-cloudwatch.Dimension",
8472 "kind": "interface",
8473 "locationInModule": {
8474 "filename": "lib/metric-types.ts",
8475 "line": 42
8476 },
8477 "name": "Dimension",
8478 "properties": [
8479 {
8480 "abstract": true,
8481 "docs": {
8482 "stability": "stable",
8483 "summary": "Name of the dimension."
8484 },
8485 "immutable": true,
8486 "locationInModule": {
8487 "filename": "lib/metric-types.ts",
8488 "line": 46
8489 },
8490 "name": "name",
8491 "type": {
8492 "primitive": "string"
8493 }
8494 },
8495 {
8496 "abstract": true,
8497 "docs": {
8498 "stability": "stable",
8499 "summary": "Value of the dimension."
8500 },
8501 "immutable": true,
8502 "locationInModule": {
8503 "filename": "lib/metric-types.ts",
8504 "line": 51
8505 },
8506 "name": "value",
8507 "type": {
8508 "primitive": "any"
8509 }
8510 }
8511 ],
8512 "symbolId": "lib/metric-types:Dimension"
8513 },
8514 "@aws-cdk/aws-cloudwatch.GraphWidget": {
8515 "assembly": "@aws-cdk/aws-cloudwatch",
8516 "base": "@aws-cdk/aws-cloudwatch.ConcreteWidget",
8517 "docs": {
8518 "stability": "stable",
8519 "summary": "A dashboard widget that displays metrics.",
8520 "example": "declare const dashboard: cloudwatch.Dashboard;\n\ndashboard.addWidgets(new cloudwatch.GraphWidget({\n // ...\n\n legendPosition: cloudwatch.LegendPosition.RIGHT,\n}));",
8521 "custom": {
8522 "exampleMetadata": "infused"
8523 }
8524 },
8525 "fqn": "@aws-cdk/aws-cloudwatch.GraphWidget",
8526 "initializer": {
8527 "docs": {
8528 "stability": "stable"
8529 },
8530 "locationInModule": {
8531 "filename": "lib/graph.ts",
8532 "line": 254
8533 },
8534 "parameters": [
8535 {
8536 "name": "props",
8537 "type": {
8538 "fqn": "@aws-cdk/aws-cloudwatch.GraphWidgetProps"
8539 }
8540 }
8541 ]
8542 },
8543 "kind": "class",
8544 "locationInModule": {
8545 "filename": "lib/graph.ts",
8546 "line": 247
8547 },
8548 "methods": [
8549 {
8550 "docs": {
8551 "stability": "stable",
8552 "summary": "Add another metric to the left Y axis of the GraphWidget."
8553 },
8554 "locationInModule": {
8555 "filename": "lib/graph.ts",
8556 "line": 267
8557 },
8558 "name": "addLeftMetric",
8559 "parameters": [
8560 {
8561 "docs": {
8562 "summary": "the metric to add."
8563 },
8564 "name": "metric",
8565 "type": {
8566 "fqn": "@aws-cdk/aws-cloudwatch.IMetric"
8567 }
8568 }
8569 ]
8570 },
8571 {
8572 "docs": {
8573 "stability": "stable",
8574 "summary": "Add another metric to the right Y axis of the GraphWidget."
8575 },
8576 "locationInModule": {
8577 "filename": "lib/graph.ts",
8578 "line": 277
8579 },
8580 "name": "addRightMetric",
8581 "parameters": [
8582 {
8583 "docs": {
8584 "summary": "the metric to add."
8585 },
8586 "name": "metric",
8587 "type": {
8588 "fqn": "@aws-cdk/aws-cloudwatch.IMetric"
8589 }
8590 }
8591 ]
8592 },
8593 {
8594 "docs": {
8595 "stability": "stable",
8596 "summary": "Return the widget JSON for use in the dashboard."
8597 },
8598 "locationInModule": {
8599 "filename": "lib/graph.ts",
8600 "line": 282
8601 },
8602 "name": "toJson",
8603 "overrides": "@aws-cdk/aws-cloudwatch.ConcreteWidget",
8604 "returns": {
8605 "type": {
8606 "collection": {
8607 "elementtype": {
8608 "primitive": "any"
8609 },
8610 "kind": "array"
8611 }
8612 }
8613 }
8614 }
8615 ],
8616 "name": "GraphWidget",
8617 "symbolId": "lib/graph:GraphWidget"
8618 },
8619 "@aws-cdk/aws-cloudwatch.GraphWidgetProps": {
8620 "assembly": "@aws-cdk/aws-cloudwatch",
8621 "datatype": true,
8622 "docs": {
8623 "stability": "stable",
8624 "summary": "Properties for a GraphWidget.",
8625 "example": "declare const dashboard: cloudwatch.Dashboard;\n\ndashboard.addWidgets(new cloudwatch.GraphWidget({\n // ...\n\n legendPosition: cloudwatch.LegendPosition.RIGHT,\n}));",
8626 "custom": {
8627 "exampleMetadata": "infused"
8628 }
8629 },
8630 "fqn": "@aws-cdk/aws-cloudwatch.GraphWidgetProps",
8631 "interfaces": [
8632 "@aws-cdk/aws-cloudwatch.MetricWidgetProps"
8633 ],
8634 "kind": "interface",
8635 "locationInModule": {
8636 "filename": "lib/graph.ts",
8637 "line": 145
8638 },
8639 "name": "GraphWidgetProps",
8640 "properties": [
8641 {
8642 "abstract": true,
8643 "docs": {
8644 "default": "- No metrics",
8645 "stability": "stable",
8646 "summary": "Metrics to display on left Y axis."
8647 },
8648 "immutable": true,
8649 "locationInModule": {
8650 "filename": "lib/graph.ts",
8651 "line": 151
8652 },
8653 "name": "left",
8654 "optional": true,
8655 "type": {
8656 "collection": {
8657 "elementtype": {
8658 "fqn": "@aws-cdk/aws-cloudwatch.IMetric"
8659 },
8660 "kind": "array"
8661 }
8662 }
8663 },
8664 {
8665 "abstract": true,
8666 "docs": {
8667 "default": "- No annotations",
8668 "stability": "stable",
8669 "summary": "Annotations for the left Y axis."
8670 },
8671 "immutable": true,
8672 "locationInModule": {
8673 "filename": "lib/graph.ts",
8674 "line": 165
8675 },
8676 "name": "leftAnnotations",
8677 "optional": true,
8678 "type": {
8679 "collection": {
8680 "elementtype": {
8681 "fqn": "@aws-cdk/aws-cloudwatch.HorizontalAnnotation"
8682 },
8683 "kind": "array"
8684 }
8685 }
8686 },
8687 {
8688 "abstract": true,
8689 "docs": {
8690 "default": "- None",
8691 "stability": "stable",
8692 "summary": "Left Y axis."
8693 },
8694 "immutable": true,
8695 "locationInModule": {
8696 "filename": "lib/graph.ts",
8697 "line": 186
8698 },
8699 "name": "leftYAxis",
8700 "optional": true,
8701 "type": {
8702 "fqn": "@aws-cdk/aws-cloudwatch.YAxisProps"
8703 }
8704 },
8705 {
8706 "abstract": true,
8707 "docs": {
8708 "default": "- bottom",
8709 "stability": "stable",
8710 "summary": "Position of the legend."
8711 },
8712 "immutable": true,
8713 "locationInModule": {
8714 "filename": "lib/graph.ts",
8715 "line": 200
8716 },
8717 "name": "legendPosition",
8718 "optional": true,
8719 "type": {
8720 "fqn": "@aws-cdk/aws-cloudwatch.LegendPosition"
8721 }
8722 },
8723 {
8724 "abstract": true,
8725 "docs": {
8726 "default": "false",
8727 "stability": "stable",
8728 "summary": "Whether the graph should show live data."
8729 },
8730 "immutable": true,
8731 "locationInModule": {
8732 "filename": "lib/graph.ts",
8733 "line": 207
8734 },
8735 "name": "liveData",
8736 "optional": true,
8737 "type": {
8738 "primitive": "boolean"
8739 }
8740 },
8741 {
8742 "abstract": true,
8743 "docs": {
8744 "default": "cdk.Duration.seconds(300)",
8745 "remarks": "The period is the length of time represented by one data point on the graph.\nThis default can be overridden within each metric definition.",
8746 "stability": "stable",
8747 "summary": "The default period for all metrics in this widget."
8748 },
8749 "immutable": true,
8750 "locationInModule": {
8751 "filename": "lib/graph.ts",
8752 "line": 233
8753 },
8754 "name": "period",
8755 "optional": true,
8756 "type": {
8757 "fqn": "@aws-cdk/core.Duration"
8758 }
8759 },
8760 {
8761 "abstract": true,
8762 "docs": {
8763 "default": "- No metrics",
8764 "stability": "stable",
8765 "summary": "Metrics to display on right Y axis."
8766 },
8767 "immutable": true,
8768 "locationInModule": {
8769 "filename": "lib/graph.ts",
8770 "line": 158
8771 },
8772 "name": "right",
8773 "optional": true,
8774 "type": {
8775 "collection": {
8776 "elementtype": {
8777 "fqn": "@aws-cdk/aws-cloudwatch.IMetric"
8778 },
8779 "kind": "array"
8780 }
8781 }
8782 },
8783 {
8784 "abstract": true,
8785 "docs": {
8786 "default": "- No annotations",
8787 "stability": "stable",
8788 "summary": "Annotations for the right Y axis."
8789 },
8790 "immutable": true,
8791 "locationInModule": {
8792 "filename": "lib/graph.ts",
8793 "line": 172
8794 },
8795 "name": "rightAnnotations",
8796 "optional": true,
8797 "type": {
8798 "collection": {
8799 "elementtype": {
8800 "fqn": "@aws-cdk/aws-cloudwatch.HorizontalAnnotation"
8801 },
8802 "kind": "array"
8803 }
8804 }
8805 },
8806 {
8807 "abstract": true,
8808 "docs": {
8809 "default": "- None",
8810 "stability": "stable",
8811 "summary": "Right Y axis."
8812 },
8813 "immutable": true,
8814 "locationInModule": {
8815 "filename": "lib/graph.ts",
8816 "line": 193
8817 },
8818 "name": "rightYAxis",
8819 "optional": true,
8820 "type": {
8821 "fqn": "@aws-cdk/aws-cloudwatch.YAxisProps"
8822 }
8823 },
8824 {
8825 "abstract": true,
8826 "docs": {
8827 "default": "false",
8828 "remarks": "If false, values will be from the most recent period of your chosen time range;\nif true, shows the value from the entire time range.",
8829 "stability": "stable",
8830 "summary": "Whether to show the value from the entire time range. Only applicable for Bar and Pie charts."
8831 },
8832 "immutable": true,
8833 "locationInModule": {
8834 "filename": "lib/graph.ts",
8835 "line": 224
8836 },
8837 "name": "setPeriodToTimeRange",
8838 "optional": true,
8839 "type": {
8840 "primitive": "boolean"
8841 }
8842 },
8843 {
8844 "abstract": true,
8845 "docs": {
8846 "default": "false",
8847 "stability": "stable",
8848 "summary": "Whether the graph should be shown as stacked lines."
8849 },
8850 "immutable": true,
8851 "locationInModule": {
8852 "filename": "lib/graph.ts",
8853 "line": 179
8854 },
8855 "name": "stacked",
8856 "optional": true,
8857 "type": {
8858 "primitive": "boolean"
8859 }
8860 },
8861 {
8862 "abstract": true,
8863 "docs": {
8864 "default": "- The statistic for each metric is used",
8865 "remarks": "This default can be overridden within the definition of each individual metric",
8866 "stability": "stable",
8867 "summary": "The default statistic to be displayed for each metric."
8868 },
8869 "immutable": true,
8870 "locationInModule": {
8871 "filename": "lib/graph.ts",
8872 "line": 241
8873 },
8874 "name": "statistic",
8875 "optional": true,
8876 "type": {
8877 "primitive": "string"
8878 }
8879 },
8880 {
8881 "abstract": true,
8882 "docs": {
8883 "default": "TimeSeries",
8884 "stability": "stable",
8885 "summary": "Display this metric."
8886 },
8887 "immutable": true,
8888 "locationInModule": {
8889 "filename": "lib/graph.ts",
8890 "line": 214
8891 },
8892 "name": "view",
8893 "optional": true,
8894 "type": {
8895 "fqn": "@aws-cdk/aws-cloudwatch.GraphWidgetView"
8896 }
8897 }
8898 ],
8899 "symbolId": "lib/graph:GraphWidgetProps"
8900 },
8901 "@aws-cdk/aws-cloudwatch.GraphWidgetView": {
8902 "assembly": "@aws-cdk/aws-cloudwatch",
8903 "docs": {
8904 "stability": "stable",
8905 "summary": "Types of view.",
8906 "example": "declare const dashboard: cloudwatch.Dashboard;\n\ndashboard.addWidgets(new cloudwatch.GraphWidget({\n // ...\n\n view: cloudwatch.GraphWidgetView.BAR,\n}));",
8907 "custom": {
8908 "exampleMetadata": "infused"
8909 }
8910 },
8911 "fqn": "@aws-cdk/aws-cloudwatch.GraphWidgetView",
8912 "kind": "enum",
8913 "locationInModule": {
8914 "filename": "lib/graph.ts",
8915 "line": 127
8916 },
8917 "members": [
8918 {
8919 "docs": {
8920 "stability": "stable",
8921 "summary": "Display as a line graph."
8922 },
8923 "name": "TIME_SERIES"
8924 },
8925 {
8926 "docs": {
8927 "stability": "stable",
8928 "summary": "Display as a bar graph."
8929 },
8930 "name": "BAR"
8931 },
8932 {
8933 "docs": {
8934 "stability": "stable",
8935 "summary": "Display as a pie graph."
8936 },
8937 "name": "PIE"
8938 }
8939 ],
8940 "name": "GraphWidgetView",
8941 "symbolId": "lib/graph:GraphWidgetView"
8942 },
8943 "@aws-cdk/aws-cloudwatch.HorizontalAnnotation": {
8944 "assembly": "@aws-cdk/aws-cloudwatch",
8945 "datatype": true,
8946 "docs": {
8947 "stability": "stable",
8948 "summary": "Horizontal annotation to be added to a graph.",
8949 "example": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as cloudwatch from '@aws-cdk/aws-cloudwatch';\nconst horizontalAnnotation: cloudwatch.HorizontalAnnotation = {\n value: 123,\n\n // the properties below are optional\n color: 'color',\n fill: cloudwatch.Shading.NONE,\n label: 'label',\n visible: false,\n};",
8950 "custom": {
8951 "exampleMetadata": "fixture=_generated"
8952 }
8953 },
8954 "fqn": "@aws-cdk/aws-cloudwatch.HorizontalAnnotation",
8955 "kind": "interface",
8956 "locationInModule": {
8957 "filename": "lib/graph.ts",
8958 "line": 465
8959 },
8960 "name": "HorizontalAnnotation",
8961 "properties": [
8962 {
8963 "abstract": true,
8964 "docs": {
8965 "stability": "stable",
8966 "summary": "The value of the annotation."
8967 },
8968 "immutable": true,
8969 "locationInModule": {
8970 "filename": "lib/graph.ts",
8971 "line": 469
8972 },
8973 "name": "value",
8974 "type": {
8975 "primitive": "number"
8976 }
8977 },
8978 {
8979 "abstract": true,
8980 "docs": {
8981 "default": "- Automatic color",
8982 "stability": "stable",
8983 "summary": "The hex color code, prefixed with '#' (e.g. '#00ff00'), to be used for the annotation. The `Color` class has a set of standard colors that can be used here."
8984 },
8985 "immutable": true,
8986 "locationInModule": {
8987 "filename": "lib/graph.ts",
8988 "line": 484
8989 },
8990 "name": "color",
8991 "optional": true,
8992 "type": {
8993 "primitive": "string"
8994 }
8995 },
8996 {
8997 "abstract": true,
8998 "docs": {
8999 "default": "No shading",
9000 "stability": "stable",
9001 "summary": "Add shading above or below the annotation."
9002 },
9003 "immutable": true,
9004 "locationInModule": {
9005 "filename": "lib/graph.ts",
9006 "line": 491
9007 },
9008 "name": "fill",
9009 "optional": true,
9010 "type": {
9011 "fqn": "@aws-cdk/aws-cloudwatch.Shading"
9012 }
9013 },
9014 {
9015 "abstract": true,
9016 "docs": {
9017 "default": "- No label",
9018 "stability": "stable",
9019 "summary": "Label for the annotation."
9020 },
9021 "immutable": true,
9022 "locationInModule": {
9023 "filename": "lib/graph.ts",
9024 "line": 476
9025 },
9026 "name": "label",
9027 "optional": true,
9028 "type": {
9029 "primitive": "string"
9030 }
9031 },
9032 {
9033 "abstract": true,
9034 "docs": {
9035 "default": "true",
9036 "stability": "stable",
9037 "summary": "Whether the annotation is visible."
9038 },
9039 "immutable": true,
9040 "locationInModule": {
9041 "filename": "lib/graph.ts",
9042 "line": 498
9043 },
9044 "name": "visible",
9045 "optional": true,
9046 "type": {
9047 "primitive": "boolean"
9048 }
9049 }
9050 ],
9051 "symbolId": "lib/graph:HorizontalAnnotation"
9052 },
9053 "@aws-cdk/aws-cloudwatch.IAlarm": {
9054 "assembly": "@aws-cdk/aws-cloudwatch",
9055 "docs": {
9056 "stability": "stable",
9057 "summary": "Represents a CloudWatch Alarm."
9058 },
9059 "fqn": "@aws-cdk/aws-cloudwatch.IAlarm",
9060 "interfaces": [
9061 "@aws-cdk/aws-cloudwatch.IAlarmRule",
9062 "@aws-cdk/core.IResource"
9063 ],
9064 "kind": "interface",
9065 "locationInModule": {
9066 "filename": "lib/alarm-base.ts",
9067 "line": 19
9068 },
9069 "name": "IAlarm",
9070 "properties": [
9071 {
9072 "abstract": true,
9073 "docs": {
9074 "custom": {
9075 "attribute": "true"
9076 },
9077 "stability": "stable",
9078 "summary": "Alarm ARN (i.e. arn:aws:cloudwatch:<region>:<account-id>:alarm:Foo)."
9079 },
9080 "immutable": true,
9081 "locationInModule": {
9082 "filename": "lib/alarm-base.ts",
9083 "line": 25
9084 },
9085 "name": "alarmArn",
9086 "type": {
9087 "primitive": "string"
9088 }
9089 },
9090 {
9091 "abstract": true,
9092 "docs": {
9093 "custom": {
9094 "attribute": "true"
9095 },
9096 "stability": "stable",
9097 "summary": "Name of the alarm."
9098 },
9099 "immutable": true,
9100 "locationInModule": {
9101 "filename": "lib/alarm-base.ts",
9102 "line": 32
9103 },
9104 "name": "alarmName",
9105 "type": {
9106 "primitive": "string"
9107 }
9108 }
9109 ],
9110 "symbolId": "lib/alarm-base:IAlarm"
9111 },
9112 "@aws-cdk/aws-cloudwatch.IAlarmAction": {
9113 "assembly": "@aws-cdk/aws-cloudwatch",
9114 "docs": {
9115 "stability": "stable",
9116 "summary": "Interface for objects that can be the targets of CloudWatch alarm actions."
9117 },
9118 "fqn": "@aws-cdk/aws-cloudwatch.IAlarmAction",
9119 "kind": "interface",
9120 "locationInModule": {
9121 "filename": "lib/alarm-action.ts",
9122 "line": 11
9123 },
9124 "methods": [
9125 {
9126 "abstract": true,
9127 "docs": {
9128 "stability": "stable",
9129 "summary": "Return the properties required to send alarm actions to this CloudWatch alarm."
9130 },
9131 "locationInModule": {
9132 "filename": "lib/alarm-action.ts",
9133 "line": 18
9134 },
9135 "name": "bind",
9136 "parameters": [
9137 {
9138 "docs": {
9139 "summary": "root Construct that allows creating new Constructs."
9140 },
9141 "name": "scope",
9142 "type": {
9143 "fqn": "@aws-cdk/core.Construct"
9144 }
9145 },
9146 {
9147 "docs": {
9148 "summary": "CloudWatch alarm that the action will target."
9149 },
9150 "name": "alarm",
9151 "type": {
9152 "fqn": "@aws-cdk/aws-cloudwatch.IAlarm"
9153 }
9154 }
9155 ],
9156 "returns": {
9157 "type": {
9158 "fqn": "@aws-cdk/aws-cloudwatch.AlarmActionConfig"
9159 }
9160 }
9161 }
9162 ],
9163 "name": "IAlarmAction",
9164 "symbolId": "lib/alarm-action:IAlarmAction"
9165 },
9166 "@aws-cdk/aws-cloudwatch.IAlarmRule": {
9167 "assembly": "@aws-cdk/aws-cloudwatch",
9168 "docs": {
9169 "stability": "stable",
9170 "summary": "Interface for Alarm Rule."
9171 },
9172 "fqn": "@aws-cdk/aws-cloudwatch.IAlarmRule",
9173 "kind": "interface",
9174 "locationInModule": {
9175 "filename": "lib/alarm-base.ts",
9176 "line": 7
9177 },
9178 "methods": [
9179 {
9180 "abstract": true,
9181 "docs": {
9182 "stability": "stable",
9183 "summary": "serialized representation of Alarm Rule to be used when building the Composite Alarm resource."
9184 },
9185 "locationInModule": {
9186 "filename": "lib/alarm-base.ts",
9187 "line": 12
9188 },
9189 "name": "renderAlarmRule",
9190 "returns": {
9191 "type": {
9192 "primitive": "string"
9193 }
9194 }
9195 }
9196 ],
9197 "name": "IAlarmRule",
9198 "symbolId": "lib/alarm-base:IAlarmRule"
9199 },
9200 "@aws-cdk/aws-cloudwatch.IMetric": {
9201 "assembly": "@aws-cdk/aws-cloudwatch",
9202 "docs": {
9203 "stability": "stable",
9204 "summary": "Interface for metrics."
9205 },
9206 "fqn": "@aws-cdk/aws-cloudwatch.IMetric",
9207 "kind": "interface",
9208 "locationInModule": {
9209 "filename": "lib/metric-types.ts",
9210 "line": 6
9211 },
9212 "methods": [
9213 {
9214 "abstract": true,
9215 "docs": {
9216 "deprecated": "Use `toMetricConfig()` instead.",
9217 "stability": "deprecated",
9218 "summary": "Turn this metric object into an alarm configuration."
9219 },
9220 "locationInModule": {
9221 "filename": "lib/metric-types.ts",
9222 "line": 26
9223 },
9224 "name": "toAlarmConfig",
9225 "returns": {
9226 "type": {
9227 "fqn": "@aws-cdk/aws-cloudwatch.MetricAlarmConfig"
9228 }
9229 }
9230 },
9231 {
9232 "abstract": true,
9233 "docs": {
9234 "deprecated": "Use `toMetricConfig()` instead.",
9235 "stability": "deprecated",
9236 "summary": "Turn this metric object into a graph configuration."
9237 },
9238 "locationInModule": {
9239 "filename": "lib/metric-types.ts",
9240 "line": 33
9241 },
9242 "name": "toGraphConfig",
9243 "returns": {
9244 "type": {
9245 "fqn": "@aws-cdk/aws-cloudwatch.MetricGraphConfig"
9246 }
9247 }
9248 },
9249 {
9250 "abstract": true,
9251 "docs": {
9252 "stability": "stable",
9253 "summary": "Inspect the details of the metric object."
9254 },
9255 "locationInModule": {
9256 "filename": "lib/metric-types.ts",
9257 "line": 19
9258 },
9259 "name": "toMetricConfig",
9260 "returns": {
9261 "type": {
9262 "fqn": "@aws-cdk/aws-cloudwatch.MetricConfig"
9263 }
9264 }
9265 }
9266 ],
9267 "name": "IMetric",
9268 "properties": [
9269 {
9270 "abstract": true,
9271 "docs": {
9272 "default": "- None",
9273 "remarks": "Should be attached to the consuming construct.",
9274 "stability": "stable",
9275 "summary": "Any warnings related to this metric."
9276 },
9277 "immutable": true,
9278 "locationInModule": {
9279 "filename": "lib/metric-types.ts",
9280 "line": 14
9281 },
9282 "name": "warnings",
9283 "optional": true,
9284 "type": {
9285 "collection": {
9286 "elementtype": {
9287 "primitive": "string"
9288 },
9289 "kind": "array"
9290 }
9291 }
9292 }
9293 ],
9294 "symbolId": "lib/metric-types:IMetric"
9295 },
9296 "@aws-cdk/aws-cloudwatch.IWidget": {
9297 "assembly": "@aws-cdk/aws-cloudwatch",
9298 "docs": {
9299 "stability": "stable",
9300 "summary": "A single dashboard widget."
9301 },
9302 "fqn": "@aws-cdk/aws-cloudwatch.IWidget",
9303 "kind": "interface",
9304 "locationInModule": {
9305 "filename": "lib/widget.ts",
9306 "line": 11
9307 },
9308 "methods": [
9309 {
9310 "abstract": true,
9311 "docs": {
9312 "stability": "stable",
9313 "summary": "Place the widget at a given position."
9314 },
9315 "locationInModule": {
9316 "filename": "lib/widget.ts",
9317 "line": 30
9318 },
9319 "name": "position",
9320 "parameters": [
9321 {
9322 "name": "x",
9323 "type": {
9324 "primitive": "number"
9325 }
9326 },
9327 {
9328 "name": "y",
9329 "type": {
9330 "primitive": "number"
9331 }
9332 }
9333 ]
9334 },
9335 {
9336 "abstract": true,
9337 "docs": {
9338 "stability": "stable",
9339 "summary": "Return the widget JSON for use in the dashboard."
9340 },
9341 "locationInModule": {
9342 "filename": "lib/widget.ts",
9343 "line": 35
9344 },
9345 "name": "toJson",
9346 "returns": {
9347 "type": {
9348 "collection": {
9349 "elementtype": {
9350 "primitive": "any"
9351 },
9352 "kind": "array"
9353 }
9354 }
9355 }
9356 }
9357 ],
9358 "name": "IWidget",
9359 "properties": [
9360 {
9361 "abstract": true,
9362 "docs": {
9363 "stability": "stable",
9364 "summary": "The amount of vertical grid units the widget will take up."
9365 },
9366 "immutable": true,
9367 "locationInModule": {
9368 "filename": "lib/widget.ts",
9369 "line": 20
9370 },
9371 "name": "height",
9372 "type": {
9373 "primitive": "number"
9374 }
9375 },
9376 {
9377 "abstract": true,
9378 "docs": {
9379 "stability": "stable",
9380 "summary": "The amount of horizontal grid units the widget will take up."
9381 },
9382 "immutable": true,
9383 "locationInModule": {
9384 "filename": "lib/widget.ts",
9385 "line": 15
9386 },
9387 "name": "width",
9388 "type": {
9389 "primitive": "number"
9390 }
9391 },
9392 {
9393 "abstract": true,
9394 "docs": {
9395 "stability": "stable",
9396 "summary": "Any warnings that are produced as a result of putting together this widget."
9397 },
9398 "immutable": true,
9399 "locationInModule": {
9400 "filename": "lib/widget.ts",
9401 "line": 25
9402 },
9403 "name": "warnings",
9404 "optional": true,
9405 "type": {
9406 "collection": {
9407 "elementtype": {
9408 "primitive": "string"
9409 },
9410 "kind": "array"
9411 }
9412 }
9413 }
9414 ],
9415 "symbolId": "lib/widget:IWidget"
9416 },
9417 "@aws-cdk/aws-cloudwatch.LegendPosition": {
9418 "assembly": "@aws-cdk/aws-cloudwatch",
9419 "docs": {
9420 "stability": "stable",
9421 "summary": "The position of the legend on a GraphWidget.",
9422 "example": "declare const dashboard: cloudwatch.Dashboard;\n\ndashboard.addWidgets(new cloudwatch.GraphWidget({\n // ...\n\n legendPosition: cloudwatch.LegendPosition.RIGHT,\n}));",
9423 "custom": {
9424 "exampleMetadata": "infused"
9425 }
9426 },
9427 "fqn": "@aws-cdk/aws-cloudwatch.LegendPosition",
9428 "kind": "enum",
9429 "locationInModule": {
9430 "filename": "lib/graph.ts",
9431 "line": 555
9432 },
9433 "members": [
9434 {
9435 "docs": {
9436 "stability": "stable",
9437 "summary": "Legend appears below the graph (default)."
9438 },
9439 "name": "BOTTOM"
9440 },
9441 {
9442 "docs": {
9443 "stability": "stable",
9444 "summary": "Add shading above the annotation."
9445 },
9446 "name": "RIGHT"
9447 },
9448 {
9449 "docs": {
9450 "stability": "stable",
9451 "summary": "Add shading below the annotation."
9452 },
9453 "name": "HIDDEN"
9454 }
9455 ],
9456 "name": "LegendPosition",
9457 "symbolId": "lib/graph:LegendPosition"
9458 },
9459 "@aws-cdk/aws-cloudwatch.LogQueryVisualizationType": {
9460 "assembly": "@aws-cdk/aws-cloudwatch",
9461 "docs": {
9462 "stability": "stable",
9463 "summary": "Types of view.",
9464 "example": "declare const dashboard: cloudwatch.Dashboard;\n\ndashboard.addWidgets(new cloudwatch.LogQueryWidget({\n logGroupNames: ['my-log-group'],\n view: cloudwatch.LogQueryVisualizationType.TABLE,\n // The lines will be automatically combined using '\\n|'.\n queryLines: [\n 'fields @message',\n 'filter @message like /Error/',\n ]\n}));",
9465 "custom": {
9466 "exampleMetadata": "infused"
9467 }
9468 },
9469 "fqn": "@aws-cdk/aws-cloudwatch.LogQueryVisualizationType",
9470 "kind": "enum",
9471 "locationInModule": {
9472 "filename": "lib/log-query.ts",
9473 "line": 7
9474 },
9475 "members": [
9476 {
9477 "docs": {
9478 "stability": "stable",
9479 "summary": "Table view."
9480 },
9481 "name": "TABLE"
9482 },
9483 {
9484 "docs": {
9485 "stability": "stable",
9486 "summary": "Line view."
9487 },
9488 "name": "LINE"
9489 },
9490 {
9491 "docs": {
9492 "stability": "stable",
9493 "summary": "Stacked area view."
9494 },
9495 "name": "STACKEDAREA"
9496 },
9497 {
9498 "docs": {
9499 "stability": "stable",
9500 "summary": "Bar view."
9501 },
9502 "name": "BAR"
9503 },
9504 {
9505 "docs": {
9506 "stability": "stable",
9507 "summary": "Pie view."
9508 },
9509 "name": "PIE"
9510 }
9511 ],
9512 "name": "LogQueryVisualizationType",
9513 "symbolId": "lib/log-query:LogQueryVisualizationType"
9514 },
9515 "@aws-cdk/aws-cloudwatch.LogQueryWidget": {
9516 "assembly": "@aws-cdk/aws-cloudwatch",
9517 "base": "@aws-cdk/aws-cloudwatch.ConcreteWidget",
9518 "docs": {
9519 "stability": "stable",
9520 "summary": "Display query results from Logs Insights.",
9521 "example": "declare const dashboard: cloudwatch.Dashboard;\n\ndashboard.addWidgets(new cloudwatch.LogQueryWidget({\n logGroupNames: ['my-log-group'],\n view: cloudwatch.LogQueryVisualizationType.TABLE,\n // The lines will be automatically combined using '\\n|'.\n queryLines: [\n 'fields @message',\n 'filter @message like /Error/',\n ]\n}));",
9522 "custom": {
9523 "exampleMetadata": "infused"
9524 }
9525 },
9526 "fqn": "@aws-cdk/aws-cloudwatch.LogQueryWidget",
9527 "initializer": {
9528 "docs": {
9529 "stability": "stable"
9530 },
9531 "locationInModule": {
9532 "filename": "lib/log-query.ts",
9533 "line": 100
9534 },
9535 "parameters": [
9536 {
9537 "name": "props",
9538 "type": {
9539 "fqn": "@aws-cdk/aws-cloudwatch.LogQueryWidgetProps"
9540 }
9541 }
9542 ]
9543 },
9544 "kind": "class",
9545 "locationInModule": {
9546 "filename": "lib/log-query.ts",
9547 "line": 97
9548 },
9549 "methods": [
9550 {
9551 "docs": {
9552 "stability": "stable",
9553 "summary": "Return the widget JSON for use in the dashboard."
9554 },
9555 "locationInModule": {
9556 "filename": "lib/log-query.ts",
9557 "line": 113
9558 },
9559 "name": "toJson",
9560 "overrides": "@aws-cdk/aws-cloudwatch.ConcreteWidget",
9561 "returns": {
9562 "type": {
9563 "collection": {
9564 "elementtype": {
9565 "primitive": "any"
9566 },
9567 "kind": "array"
9568 }
9569 }
9570 }
9571 }
9572 ],
9573 "name": "LogQueryWidget",
9574 "symbolId": "lib/log-query:LogQueryWidget"
9575 },
9576 "@aws-cdk/aws-cloudwatch.LogQueryWidgetProps": {
9577 "assembly": "@aws-cdk/aws-cloudwatch",
9578 "datatype": true,
9579 "docs": {
9580 "stability": "stable",
9581 "summary": "Properties for a Query widget.",
9582 "example": "declare const dashboard: cloudwatch.Dashboard;\n\ndashboard.addWidgets(new cloudwatch.LogQueryWidget({\n logGroupNames: ['my-log-group'],\n view: cloudwatch.LogQueryVisualizationType.TABLE,\n // The lines will be automatically combined using '\\n|'.\n queryLines: [\n 'fields @message',\n 'filter @message like /Error/',\n ]\n}));",
9583 "custom": {
9584 "exampleMetadata": "infused"
9585 }
9586 },
9587 "fqn": "@aws-cdk/aws-cloudwatch.LogQueryWidgetProps",
9588 "kind": "interface",
9589 "locationInModule": {
9590 "filename": "lib/log-query.ts",
9591 "line": 33
9592 },
9593 "name": "LogQueryWidgetProps",
9594 "properties": [
9595 {
9596 "abstract": true,
9597 "docs": {
9598 "stability": "stable",
9599 "summary": "Names of log groups to query."
9600 },
9601 "immutable": true,
9602 "locationInModule": {
9603 "filename": "lib/log-query.ts",
9604 "line": 44
9605 },
9606 "name": "logGroupNames",
9607 "type": {
9608 "collection": {
9609 "elementtype": {
9610 "primitive": "string"
9611 },
9612 "kind": "array"
9613 }
9614 }
9615 },
9616 {
9617 "abstract": true,
9618 "docs": {
9619 "default": "6",
9620 "stability": "stable",
9621 "summary": "Height of the widget."
9622 },
9623 "immutable": true,
9624 "locationInModule": {
9625 "filename": "lib/log-query.ts",
9626 "line": 91
9627 },
9628 "name": "height",
9629 "optional": true,
9630 "type": {
9631 "primitive": "number"
9632 }
9633 },
9634 {
9635 "abstract": true,
9636 "docs": {
9637 "default": "- Exactly one of `queryString`, `queryLines` is required.",
9638 "remarks": "The query will be built by joining the lines together using `\\n|`.",
9639 "stability": "stable",
9640 "summary": "A sequence of lines to use to build the query."
9641 },
9642 "immutable": true,
9643 "locationInModule": {
9644 "filename": "lib/log-query.ts",
9645 "line": 63
9646 },
9647 "name": "queryLines",
9648 "optional": true,
9649 "type": {
9650 "collection": {
9651 "elementtype": {
9652 "primitive": "string"
9653 },
9654 "kind": "array"
9655 }
9656 }
9657 },
9658 {
9659 "abstract": true,
9660 "docs": {
9661 "default": "- Exactly one of `queryString`, `queryLines` is required.",
9662 "remarks": "Be sure to prepend every new line with a newline and pipe character\n(`\\n|`).",
9663 "stability": "stable",
9664 "summary": "Full query string for log insights."
9665 },
9666 "immutable": true,
9667 "locationInModule": {
9668 "filename": "lib/log-query.ts",
9669 "line": 54
9670 },
9671 "name": "queryString",
9672 "optional": true,
9673 "type": {
9674 "primitive": "string"
9675 }
9676 },
9677 {
9678 "abstract": true,
9679 "docs": {
9680 "default": "Current region",
9681 "stability": "stable",
9682 "summary": "The region the metrics of this widget should be taken from."
9683 },
9684 "immutable": true,
9685 "locationInModule": {
9686 "filename": "lib/log-query.ts",
9687 "line": 70
9688 },
9689 "name": "region",
9690 "optional": true,
9691 "type": {
9692 "primitive": "string"
9693 }
9694 },
9695 {
9696 "abstract": true,
9697 "docs": {
9698 "default": "No title",
9699 "stability": "stable",
9700 "summary": "Title for the widget."
9701 },
9702 "immutable": true,
9703 "locationInModule": {
9704 "filename": "lib/log-query.ts",
9705 "line": 39
9706 },
9707 "name": "title",
9708 "optional": true,
9709 "type": {
9710 "primitive": "string"
9711 }
9712 },
9713 {
9714 "abstract": true,
9715 "docs": {
9716 "default": "LogQueryVisualizationType.TABLE",
9717 "stability": "stable",
9718 "summary": "The type of view to use."
9719 },
9720 "immutable": true,
9721 "locationInModule": {
9722 "filename": "lib/log-query.ts",
9723 "line": 77
9724 },
9725 "name": "view",
9726 "optional": true,
9727 "type": {
9728 "fqn": "@aws-cdk/aws-cloudwatch.LogQueryVisualizationType"
9729 }
9730 },
9731 {
9732 "abstract": true,
9733 "docs": {
9734 "default": "6",
9735 "stability": "stable",
9736 "summary": "Width of the widget, in a grid of 24 units wide."
9737 },
9738 "immutable": true,
9739 "locationInModule": {
9740 "filename": "lib/log-query.ts",
9741 "line": 84
9742 },
9743 "name": "width",
9744 "optional": true,
9745 "type": {
9746 "primitive": "number"
9747 }
9748 }
9749 ],
9750 "symbolId": "lib/log-query:LogQueryWidgetProps"
9751 },
9752 "@aws-cdk/aws-cloudwatch.MathExpression": {
9753 "assembly": "@aws-cdk/aws-cloudwatch",
9754 "docs": {
9755 "remarks": "The math expression is a combination of an expression (x+y) and metrics to apply expression on.\nIt also contains metadata which is used only in graphs, such as color and label.\nIt makes sense to embed this in here, so that compound constructs can attach\nthat metadata to metrics they expose.\n\nMathExpression can also be used for search expressions. In this case,\nit also optionally accepts a searchRegion and searchAccount property for cross-environment\nsearch expressions.\n\nThis class does not represent a resource, so hence is not a construct. Instead,\nMathExpression is an abstraction that makes it easy to specify metrics for use in both\nalarms and graphs.",
9756 "stability": "stable",
9757 "summary": "A math expression built with metric(s) emitted by a service.",
9758 "example": "declare const fn: lambda.Function;\n\nconst allProblems = new cloudwatch.MathExpression({\n expression: \"errors + throttles\",\n usingMetrics: {\n errors: fn.metricErrors(),\n faults: fn.metricThrottles(),\n }\n});",
9759 "custom": {
9760 "exampleMetadata": "infused"
9761 }
9762 },
9763 "fqn": "@aws-cdk/aws-cloudwatch.MathExpression",
9764 "initializer": {
9765 "docs": {
9766 "stability": "stable"
9767 },
9768 "locationInModule": {
9769 "filename": "lib/metric.ts",
9770 "line": 565
9771 },
9772 "parameters": [
9773 {
9774 "name": "props",
9775 "type": {
9776 "fqn": "@aws-cdk/aws-cloudwatch.MathExpressionProps"
9777 }
9778 }
9779 ]
9780 },
9781 "interfaces": [
9782 "@aws-cdk/aws-cloudwatch.IMetric"
9783 ],
9784 "kind": "class",
9785 "locationInModule": {
9786 "filename": "lib/metric.ts",
9787 "line": 523
9788 },
9789 "methods": [
9790 {
9791 "docs": {
9792 "remarks": "Combines both properties that may adjust the metric (aggregation) as well\nas alarm properties.",
9793 "stability": "stable",
9794 "summary": "Make a new Alarm for this metric."
9795 },
9796 "locationInModule": {
9797 "filename": "lib/metric.ts",
9798 "line": 667
9799 },
9800 "name": "createAlarm",
9801 "parameters": [
9802 {
9803 "name": "scope",
9804 "type": {
9805 "fqn": "@aws-cdk/core.Construct"
9806 }
9807 },
9808 {
9809 "name": "id",
9810 "type": {
9811 "primitive": "string"
9812 }
9813 },
9814 {
9815 "name": "props",
9816 "type": {
9817 "fqn": "@aws-cdk/aws-cloudwatch.CreateAlarmOptions"
9818 }
9819 }
9820 ],
9821 "returns": {
9822 "type": {
9823 "fqn": "@aws-cdk/aws-cloudwatch.Alarm"
9824 }
9825 }
9826 },
9827 {
9828 "docs": {
9829 "deprecated": "use toMetricConfig()",
9830 "stability": "deprecated",
9831 "summary": "Turn this metric object into an alarm configuration."
9832 },
9833 "locationInModule": {
9834 "filename": "lib/metric.ts",
9835 "line": 634
9836 },
9837 "name": "toAlarmConfig",
9838 "overrides": "@aws-cdk/aws-cloudwatch.IMetric",
9839 "returns": {
9840 "type": {
9841 "fqn": "@aws-cdk/aws-cloudwatch.MetricAlarmConfig"
9842 }
9843 }
9844 },
9845 {
9846 "docs": {
9847 "deprecated": "use toMetricConfig()",
9848 "stability": "deprecated",
9849 "summary": "Turn this metric object into a graph configuration."
9850 },
9851 "locationInModule": {
9852 "filename": "lib/metric.ts",
9853 "line": 641
9854 },
9855 "name": "toGraphConfig",
9856 "overrides": "@aws-cdk/aws-cloudwatch.IMetric",
9857 "returns": {
9858 "type": {
9859 "fqn": "@aws-cdk/aws-cloudwatch.MetricGraphConfig"
9860 }
9861 }
9862 },
9863 {
9864 "docs": {
9865 "stability": "stable",
9866 "summary": "Inspect the details of the metric object."
9867 },
9868 "locationInModule": {
9869 "filename": "lib/metric.ts",
9870 "line": 645
9871 },
9872 "name": "toMetricConfig",
9873 "overrides": "@aws-cdk/aws-cloudwatch.IMetric",
9874 "returns": {
9875 "type": {
9876 "fqn": "@aws-cdk/aws-cloudwatch.MetricConfig"
9877 }
9878 }
9879 },
9880 {
9881 "docs": {
9882 "stability": "stable",
9883 "summary": "Returns a string representation of an object."
9884 },
9885 "locationInModule": {
9886 "filename": "lib/metric.ts",
9887 "line": 684
9888 },
9889 "name": "toString",
9890 "returns": {
9891 "type": {
9892 "primitive": "string"
9893 }
9894 }
9895 },
9896 {
9897 "docs": {
9898 "remarks": "All properties except namespace and metricName can be changed.",
9899 "stability": "stable",
9900 "summary": "Return a copy of Metric with properties changed."
9901 },
9902 "locationInModule": {
9903 "filename": "lib/metric.ts",
9904 "line": 610
9905 },
9906 "name": "with",
9907 "parameters": [
9908 {
9909 "docs": {
9910 "summary": "The set of properties to change."
9911 },
9912 "name": "props",
9913 "type": {
9914 "fqn": "@aws-cdk/aws-cloudwatch.MathExpressionOptions"
9915 }
9916 }
9917 ],
9918 "returns": {
9919 "type": {
9920 "fqn": "@aws-cdk/aws-cloudwatch.MathExpression"
9921 }
9922 }
9923 }
9924 ],
9925 "name": "MathExpression",
9926 "properties": [
9927 {
9928 "docs": {
9929 "stability": "stable",
9930 "summary": "The expression defining the metric."
9931 },
9932 "immutable": true,
9933 "locationInModule": {
9934 "filename": "lib/metric.ts",
9935 "line": 527
9936 },
9937 "name": "expression",
9938 "type": {
9939 "primitive": "string"
9940 }
9941 },
9942 {
9943 "docs": {
9944 "stability": "stable",
9945 "summary": "Aggregation period of this metric."
9946 },
9947 "immutable": true,
9948 "locationInModule": {
9949 "filename": "lib/metric.ts",
9950 "line": 548
9951 },
9952 "name": "period",
9953 "type": {
9954 "fqn": "@aws-cdk/core.Duration"
9955 }
9956 },
9957 {
9958 "docs": {
9959 "stability": "stable",
9960 "summary": "The metrics used in the expression as KeyValuePair <id, metric>."
9961 },
9962 "immutable": true,
9963 "locationInModule": {
9964 "filename": "lib/metric.ts",
9965 "line": 532
9966 },
9967 "name": "usingMetrics",
9968 "type": {
9969 "collection": {
9970 "elementtype": {
9971 "fqn": "@aws-cdk/aws-cloudwatch.IMetric"
9972 },
9973 "kind": "map"
9974 }
9975 }
9976 },
9977 {
9978 "docs": {
9979 "stability": "stable",
9980 "summary": "The hex color code, prefixed with '#' (e.g. '#00ff00'), to use when this metric is rendered on a graph. The `Color` class has a set of standard colors that can be used here."
9981 },
9982 "immutable": true,
9983 "locationInModule": {
9984 "filename": "lib/metric.ts",
9985 "line": 543
9986 },
9987 "name": "color",
9988 "optional": true,
9989 "type": {
9990 "primitive": "string"
9991 }
9992 },
9993 {
9994 "docs": {
9995 "stability": "stable",
9996 "summary": "Label for this metric when added to a Graph."
9997 },
9998 "immutable": true,
9999 "locationInModule": {
10000 "filename": "lib/metric.ts",
10001 "line": 537
10002 },
10003 "name": "label",
10004 "optional": true,
10005 "type": {
10006 "primitive": "string"
10007 }
10008 },
10009 {
10010 "docs": {
10011 "stability": "stable",
10012 "summary": "Account to evaluate search expressions within."
10013 },
10014 "immutable": true,
10015 "locationInModule": {
10016 "filename": "lib/metric.ts",
10017 "line": 553
10018 },
10019 "name": "searchAccount",
10020 "optional": true,
10021 "type": {
10022 "primitive": "string"
10023 }
10024 },
10025 {
10026 "docs": {
10027 "stability": "stable",
10028 "summary": "Region to evaluate search expressions within."
10029 },
10030 "immutable": true,
10031 "locationInModule": {
10032 "filename": "lib/metric.ts",
10033 "line": 558
10034 },
10035 "name": "searchRegion",
10036 "optional": true,
10037 "type": {
10038 "primitive": "string"
10039 }
10040 },
10041 {
10042 "docs": {
10043 "stability": "stable",
10044 "summary": "Warnings generated by this math expression."
10045 },
10046 "immutable": true,
10047 "locationInModule": {
10048 "filename": "lib/metric.ts",
10049 "line": 563
10050 },
10051 "name": "warnings",
10052 "optional": true,
10053 "overrides": "@aws-cdk/aws-cloudwatch.IMetric",
10054 "type": {
10055 "collection": {
10056 "elementtype": {
10057 "primitive": "string"
10058 },
10059 "kind": "array"
10060 }
10061 }
10062 }
10063 ],
10064 "symbolId": "lib/metric:MathExpression"
10065 },
10066 "@aws-cdk/aws-cloudwatch.MathExpressionOptions": {
10067 "assembly": "@aws-cdk/aws-cloudwatch",
10068 "datatype": true,
10069 "docs": {
10070 "stability": "stable",
10071 "summary": "Configurable options for MathExpressions.",
10072 "example": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as cloudwatch from '@aws-cdk/aws-cloudwatch';\nimport * as cdk from '@aws-cdk/core';\nconst mathExpressionOptions: cloudwatch.MathExpressionOptions = {\n color: 'color',\n label: 'label',\n period: cdk.Duration.minutes(30),\n searchAccount: 'searchAccount',\n searchRegion: 'searchRegion',\n};",
10073 "custom": {
10074 "exampleMetadata": "fixture=_generated"
10075 }
10076 },
10077 "fqn": "@aws-cdk/aws-cloudwatch.MathExpressionOptions",
10078 "kind": "interface",
10079 "locationInModule": {
10080 "filename": "lib/metric.ts",
10081 "line": 140
10082 },
10083 "name": "MathExpressionOptions",
10084 "properties": [
10085 {
10086 "abstract": true,
10087 "docs": {
10088 "default": "- Automatic color",
10089 "stability": "stable",
10090 "summary": "Color for this metric when added to a Graph in a Dashboard."
10091 },
10092 "immutable": true,
10093 "locationInModule": {
10094 "filename": "lib/metric.ts",
10095 "line": 174
10096 },
10097 "name": "color",
10098 "optional": true,
10099 "type": {
10100 "primitive": "string"
10101 }
10102 },
10103 {
10104 "abstract": true,
10105 "docs": {
10106 "default": "- Expression value is used as label",
10107 "remarks": "If this expression evaluates to more than one time series (for\nexample, through the use of `METRICS()` or `SEARCH()` expressions),\neach time series will appear in the graph using a combination of the\nexpression label and the individual metric label. Specify the empty\nstring (`''`) to suppress the expression label and only keep the\nmetric label.\n\nYou can use [dynamic labels](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/graph-dynamic-labels.html)\nto show summary information about the displayed time series\nin the legend. For example, if you use:\n\n```\n[max: ${MAX}] MyMetric\n```\n\nAs the metric label, the maximum value in the visible range will\nbe shown next to the time series name in the graph's legend. If the\nmath expression produces more than one time series, the maximum\nwill be shown for each individual time series produce by this\nmath expression.",
10108 "stability": "stable",
10109 "summary": "Label for this expression when added to a Graph in a Dashboard."
10110 },
10111 "immutable": true,
10112 "locationInModule": {
10113 "filename": "lib/metric.ts",
10114 "line": 167
10115 },
10116 "name": "label",
10117 "optional": true,
10118 "type": {
10119 "primitive": "string"
10120 }
10121 },
10122 {
10123 "abstract": true,
10124 "docs": {
10125 "default": "Duration.minutes(5)",
10126 "remarks": "This period overrides all periods in the metrics used in this\nmath expression.",
10127 "stability": "stable",
10128 "summary": "The period over which the expression's statistics are applied."
10129 },
10130 "immutable": true,
10131 "locationInModule": {
10132 "filename": "lib/metric.ts",
10133 "line": 184
10134 },
10135 "name": "period",
10136 "optional": true,
10137 "type": {
10138 "fqn": "@aws-cdk/core.Duration"
10139 }
10140 },
10141 {
10142 "abstract": true,
10143 "docs": {
10144 "default": "- Deployment account.",
10145 "remarks": "Specifying a searchAccount has no effect to the account used\nfor metrics within the expression (passed via usingMetrics).",
10146 "stability": "stable",
10147 "summary": "Account to evaluate search expressions within."
10148 },
10149 "immutable": true,
10150 "locationInModule": {
10151 "filename": "lib/metric.ts",
10152 "line": 194
10153 },
10154 "name": "searchAccount",
10155 "optional": true,
10156 "type": {
10157 "primitive": "string"
10158 }
10159 },
10160 {
10161 "abstract": true,
10162 "docs": {
10163 "default": "- Deployment region.",
10164 "remarks": "Specifying a searchRegion has no effect to the region used\nfor metrics within the expression (passed via usingMetrics).",
10165 "stability": "stable",
10166 "summary": "Region to evaluate search expressions within."
10167 },
10168 "immutable": true,
10169 "locationInModule": {
10170 "filename": "lib/metric.ts",
10171 "line": 204
10172 },
10173 "name": "searchRegion",
10174 "optional": true,
10175 "type": {
10176 "primitive": "string"
10177 }
10178 }
10179 ],
10180 "symbolId": "lib/metric:MathExpressionOptions"
10181 },
10182 "@aws-cdk/aws-cloudwatch.MathExpressionProps": {
10183 "assembly": "@aws-cdk/aws-cloudwatch",
10184 "datatype": true,
10185 "docs": {
10186 "stability": "stable",
10187 "summary": "Properties for a MathExpression.",
10188 "example": "declare const fn: lambda.Function;\n\nconst allProblems = new cloudwatch.MathExpression({\n expression: \"errors + throttles\",\n usingMetrics: {\n errors: fn.metricErrors(),\n faults: fn.metricThrottles(),\n }\n});",
10189 "custom": {
10190 "exampleMetadata": "infused"
10191 }
10192 },
10193 "fqn": "@aws-cdk/aws-cloudwatch.MathExpressionProps",
10194 "interfaces": [
10195 "@aws-cdk/aws-cloudwatch.MathExpressionOptions"
10196 ],
10197 "kind": "interface",
10198 "locationInModule": {
10199 "filename": "lib/metric.ts",
10200 "line": 210
10201 },
10202 "name": "MathExpressionProps",
10203 "properties": [
10204 {
10205 "abstract": true,
10206 "docs": {
10207 "remarks": "When an expression contains a SEARCH function, it cannot be used\nwithin an Alarm.",
10208 "stability": "stable",
10209 "summary": "The expression defining the metric."
10210 },
10211 "immutable": true,
10212 "locationInModule": {
10213 "filename": "lib/metric.ts",
10214 "line": 217
10215 },
10216 "name": "expression",
10217 "type": {
10218 "primitive": "string"
10219 }
10220 },
10221 {
10222 "abstract": true,
10223 "docs": {
10224 "default": "- Empty map.",
10225 "remarks": "The key is the identifier that represents the given metric in the\nexpression, and the value is the actual Metric object.",
10226 "stability": "stable",
10227 "summary": "The metrics used in the expression, in a map."
10228 },
10229 "immutable": true,
10230 "locationInModule": {
10231 "filename": "lib/metric.ts",
10232 "line": 227
10233 },
10234 "name": "usingMetrics",
10235 "optional": true,
10236 "type": {
10237 "collection": {
10238 "elementtype": {
10239 "fqn": "@aws-cdk/aws-cloudwatch.IMetric"
10240 },
10241 "kind": "map"
10242 }
10243 }
10244 }
10245 ],
10246 "symbolId": "lib/metric:MathExpressionProps"
10247 },
10248 "@aws-cdk/aws-cloudwatch.Metric": {
10249 "assembly": "@aws-cdk/aws-cloudwatch",
10250 "docs": {
10251 "remarks": "The metric is a combination of a metric identifier (namespace, name and dimensions)\nand an aggregation function (statistic, period and unit).\n\nIt also contains metadata which is used only in graphs, such as color and label.\nIt makes sense to embed this in here, so that compound constructs can attach\nthat metadata to metrics they expose.\n\nThis class does not represent a resource, so hence is not a construct. Instead,\nMetric is an abstraction that makes it easy to specify metrics for use in both\nalarms and graphs.",
10252 "stability": "stable",
10253 "summary": "A metric emitted by a service.",
10254 "example": "declare const fn: lambda.Function;\n\nconst minuteErrorRate = fn.metricErrors({\n statistic: 'avg',\n period: Duration.minutes(1),\n label: 'Lambda failure rate'\n});",
10255 "custom": {
10256 "exampleMetadata": "infused"
10257 }
10258 },
10259 "fqn": "@aws-cdk/aws-cloudwatch.Metric",
10260 "initializer": {
10261 "docs": {
10262 "stability": "stable"
10263 },
10264 "locationInModule": {
10265 "filename": "lib/metric.ts",
10266 "line": 285
10267 },
10268 "parameters": [
10269 {
10270 "name": "props",
10271 "type": {
10272 "fqn": "@aws-cdk/aws-cloudwatch.MetricProps"
10273 }
10274 }
10275 ]
10276 },
10277 "interfaces": [
10278 "@aws-cdk/aws-cloudwatch.IMetric"
10279 ],
10280 "kind": "class",
10281 "locationInModule": {
10282 "filename": "lib/metric.ts",
10283 "line": 244
10284 },
10285 "methods": [
10286 {
10287 "docs": {
10288 "stability": "stable",
10289 "summary": "Grant permissions to the given identity to write metrics."
10290 },
10291 "locationInModule": {
10292 "filename": "lib/metric.ts",
10293 "line": 250
10294 },
10295 "name": "grantPutMetricData",
10296 "parameters": [
10297 {
10298 "docs": {
10299 "summary": "The IAM identity to give permissions to."
10300 },
10301 "name": "grantee",
10302 "type": {
10303 "fqn": "@aws-cdk/aws-iam.IGrantable"
10304 }
10305 }
10306 ],
10307 "returns": {
10308 "type": {
10309 "fqn": "@aws-cdk/aws-iam.Grant"
10310 }
10311 },
10312 "static": true
10313 },
10314 {
10315 "docs": {
10316 "remarks": "Returns a Metric object that uses the account and region from the Stack\nthe given construct is defined in. If the metric is subsequently used\nin a Dashboard or Alarm in a different Stack defined in a different\naccount or region, the appropriate 'region' and 'account' fields\nwill be added to it.\n\nIf the scope we attach to is in an environment-agnostic stack,\nnothing is done and the same Metric object is returned.",
10317 "stability": "stable",
10318 "summary": "Attach the metric object to the given construct scope."
10319 },
10320 "locationInModule": {
10321 "filename": "lib/metric.ts",
10322 "line": 353
10323 },
10324 "name": "attachTo",
10325 "parameters": [
10326 {
10327 "name": "scope",
10328 "type": {
10329 "fqn": "constructs.IConstruct"
10330 }
10331 }
10332 ],
10333 "returns": {
10334 "type": {
10335 "fqn": "@aws-cdk/aws-cloudwatch.Metric"
10336 }
10337 }
10338 },
10339 {
10340 "docs": {
10341 "remarks": "Combines both properties that may adjust the metric (aggregation) as well\nas alarm properties.",
10342 "stability": "stable",
10343 "summary": "Make a new Alarm for this metric."
10344 },
10345 "locationInModule": {
10346 "filename": "lib/metric.ts",
10347 "line": 435
10348 },
10349 "name": "createAlarm",
10350 "parameters": [
10351 {
10352 "name": "scope",
10353 "type": {
10354 "fqn": "@aws-cdk/core.Construct"
10355 }
10356 },
10357 {
10358 "name": "id",
10359 "type": {
10360 "primitive": "string"
10361 }
10362 },
10363 {
10364 "name": "props",
10365 "type": {
10366 "fqn": "@aws-cdk/aws-cloudwatch.CreateAlarmOptions"
10367 }
10368 }
10369 ],
10370 "returns": {
10371 "type": {
10372 "fqn": "@aws-cdk/aws-cloudwatch.Alarm"
10373 }
10374 }
10375 },
10376 {
10377 "docs": {
10378 "deprecated": "use toMetricConfig()",
10379 "stability": "deprecated",
10380 "summary": "Turn this metric object into an alarm configuration."
10381 },
10382 "locationInModule": {
10383 "filename": "lib/metric.ts",
10384 "line": 383
10385 },
10386 "name": "toAlarmConfig",
10387 "overrides": "@aws-cdk/aws-cloudwatch.IMetric",
10388 "returns": {
10389 "type": {
10390 "fqn": "@aws-cdk/aws-cloudwatch.MetricAlarmConfig"
10391 }
10392 }
10393 },
10394 {
10395 "docs": {
10396 "deprecated": "use toMetricConfig()",
10397 "stability": "deprecated",
10398 "summary": "Turn this metric object into a graph configuration."
10399 },
10400 "locationInModule": {
10401 "filename": "lib/metric.ts",
10402 "line": 404
10403 },
10404 "name": "toGraphConfig",
10405 "overrides": "@aws-cdk/aws-cloudwatch.IMetric",
10406 "returns": {
10407 "type": {
10408 "fqn": "@aws-cdk/aws-cloudwatch.MetricGraphConfig"
10409 }
10410 }
10411 },
10412 {
10413 "docs": {
10414 "stability": "stable",
10415 "summary": "Inspect the details of the metric object."
10416 },
10417 "locationInModule": {
10418 "filename": "lib/metric.ts",
10419 "line": 362
10420 },
10421 "name": "toMetricConfig",
10422 "overrides": "@aws-cdk/aws-cloudwatch.IMetric",
10423 "returns": {
10424 "type": {
10425 "fqn": "@aws-cdk/aws-cloudwatch.MetricConfig"
10426 }
10427 }
10428 },
10429 {
10430 "docs": {
10431 "stability": "stable",
10432 "summary": "Returns a string representation of an object."
10433 },
10434 "locationInModule": {
10435 "filename": "lib/metric.ts",
10436 "line": 453
10437 },
10438 "name": "toString",
10439 "returns": {
10440 "type": {
10441 "primitive": "string"
10442 }
10443 }
10444 },
10445 {
10446 "docs": {
10447 "remarks": "All properties except namespace and metricName can be changed.",
10448 "stability": "stable",
10449 "summary": "Return a copy of Metric `with` properties changed."
10450 },
10451 "locationInModule": {
10452 "filename": "lib/metric.ts",
10453 "line": 311
10454 },
10455 "name": "with",
10456 "parameters": [
10457 {
10458 "docs": {
10459 "summary": "The set of properties to change."
10460 },
10461 "name": "props",
10462 "type": {
10463 "fqn": "@aws-cdk/aws-cloudwatch.MetricOptions"
10464 }
10465 }
10466 ],
10467 "returns": {
10468 "type": {
10469 "fqn": "@aws-cdk/aws-cloudwatch.Metric"
10470 }
10471 }
10472 }
10473 ],
10474 "name": "Metric",
10475 "properties": [
10476 {
10477 "docs": {
10478 "stability": "stable",
10479 "summary": "Name of this metric."
10480 },
10481 "immutable": true,
10482 "locationInModule": {
10483 "filename": "lib/metric.ts",
10484 "line": 263
10485 },
10486 "name": "metricName",
10487 "type": {
10488 "primitive": "string"
10489 }
10490 },
10491 {
10492 "docs": {
10493 "stability": "stable",
10494 "summary": "Namespace of this metric."
10495 },
10496 "immutable": true,
10497 "locationInModule": {
10498 "filename": "lib/metric.ts",
10499 "line": 261
10500 },
10501 "name": "namespace",
10502 "type": {
10503 "primitive": "string"
10504 }
10505 },
10506 {
10507 "docs": {
10508 "stability": "stable",
10509 "summary": "Period of this metric."
10510 },
10511 "immutable": true,
10512 "locationInModule": {
10513 "filename": "lib/metric.ts",
10514 "line": 265
10515 },
10516 "name": "period",
10517 "type": {
10518 "fqn": "@aws-cdk/core.Duration"
10519 }
10520 },
10521 {
10522 "docs": {
10523 "stability": "stable",
10524 "summary": "Statistic of this metric."
10525 },
10526 "immutable": true,
10527 "locationInModule": {
10528 "filename": "lib/metric.ts",
10529 "line": 267
10530 },
10531 "name": "statistic",
10532 "type": {
10533 "primitive": "string"
10534 }
10535 },
10536 {
10537 "docs": {
10538 "stability": "stable",
10539 "summary": "Account which this metric comes from."
10540 },
10541 "immutable": true,
10542 "locationInModule": {
10543 "filename": "lib/metric.ts",
10544 "line": 277
10545 },
10546 "name": "account",
10547 "optional": true,
10548 "type": {
10549 "primitive": "string"
10550 }
10551 },
10552 {
10553 "docs": {
10554 "stability": "stable",
10555 "summary": "The hex color code used when this metric is rendered on a graph."
10556 },
10557 "immutable": true,
10558 "locationInModule": {
10559 "filename": "lib/metric.ts",
10560 "line": 271
10561 },
10562 "name": "color",
10563 "optional": true,
10564 "type": {
10565 "primitive": "string"
10566 }
10567 },
10568 {
10569 "docs": {
10570 "stability": "stable",
10571 "summary": "Dimensions of this metric."
10572 },
10573 "immutable": true,
10574 "locationInModule": {
10575 "filename": "lib/metric.ts",
10576 "line": 259
10577 },
10578 "name": "dimensions",
10579 "optional": true,
10580 "type": {
10581 "collection": {
10582 "elementtype": {
10583 "primitive": "any"
10584 },
10585 "kind": "map"
10586 }
10587 }
10588 },
10589 {
10590 "docs": {
10591 "stability": "stable",
10592 "summary": "Label for this metric when added to a Graph in a Dashboard."
10593 },
10594 "immutable": true,
10595 "locationInModule": {
10596 "filename": "lib/metric.ts",
10597 "line": 269
10598 },
10599 "name": "label",
10600 "optional": true,
10601 "type": {
10602 "primitive": "string"
10603 }
10604 },
10605 {
10606 "docs": {
10607 "stability": "stable",
10608 "summary": "Region which this metric comes from."
10609 },
10610 "immutable": true,
10611 "locationInModule": {
10612 "filename": "lib/metric.ts",
10613 "line": 280
10614 },
10615 "name": "region",
10616 "optional": true,
10617 "type": {
10618 "primitive": "string"
10619 }
10620 },
10621 {
10622 "docs": {
10623 "stability": "stable",
10624 "summary": "Unit of the metric."
10625 },
10626 "immutable": true,
10627 "locationInModule": {
10628 "filename": "lib/metric.ts",
10629 "line": 274
10630 },
10631 "name": "unit",
10632 "optional": true,
10633 "type": {
10634 "fqn": "@aws-cdk/aws-cloudwatch.Unit"
10635 }
10636 },
10637 {
10638 "docs": {
10639 "stability": "stable",
10640 "summary": "Warnings attached to this metric."
10641 },
10642 "immutable": true,
10643 "locationInModule": {
10644 "filename": "lib/metric.ts",
10645 "line": 283
10646 },
10647 "name": "warnings",
10648 "optional": true,
10649 "overrides": "@aws-cdk/aws-cloudwatch.IMetric",
10650 "type": {
10651 "collection": {
10652 "elementtype": {
10653 "primitive": "string"
10654 },
10655 "kind": "array"
10656 }
10657 }
10658 }
10659 ],
10660 "symbolId": "lib/metric:Metric"
10661 },
10662 "@aws-cdk/aws-cloudwatch.MetricAlarmConfig": {
10663 "assembly": "@aws-cdk/aws-cloudwatch",
10664 "datatype": true,
10665 "docs": {
10666 "deprecated": "Replaced by MetricConfig",
10667 "stability": "deprecated",
10668 "summary": "Properties used to construct the Metric identifying part of an Alarm.",
10669 "example": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as cloudwatch from '@aws-cdk/aws-cloudwatch';\n\ndeclare const value: any;\nconst metricAlarmConfig: cloudwatch.MetricAlarmConfig = {\n metricName: 'metricName',\n namespace: 'namespace',\n period: 123,\n\n // the properties below are optional\n dimensions: [{\n name: 'name',\n value: value,\n }],\n extendedStatistic: 'extendedStatistic',\n statistic: cloudwatch.Statistic.SAMPLE_COUNT,\n unit: cloudwatch.Unit.SECONDS,\n};",
10670 "custom": {
10671 "exampleMetadata": "fixture=_generated"
10672 }
10673 },
10674 "fqn": "@aws-cdk/aws-cloudwatch.MetricAlarmConfig",
10675 "kind": "interface",
10676 "locationInModule": {
10677 "filename": "lib/metric-types.ts",
10678 "line": 355
10679 },
10680 "name": "MetricAlarmConfig",
10681 "properties": [
10682 {
10683 "abstract": true,
10684 "docs": {
10685 "stability": "deprecated",
10686 "summary": "Name of the metric."
10687 },
10688 "immutable": true,
10689 "locationInModule": {
10690 "filename": "lib/metric-types.ts",
10691 "line": 369
10692 },
10693 "name": "metricName",
10694 "type": {
10695 "primitive": "string"
10696 }
10697 },
10698 {
10699 "abstract": true,
10700 "docs": {
10701 "stability": "deprecated",
10702 "summary": "Namespace of the metric."
10703 },
10704 "immutable": true,
10705 "locationInModule": {
10706 "filename": "lib/metric-types.ts",
10707 "line": 364
10708 },
10709 "name": "namespace",
10710 "type": {
10711 "primitive": "string"
10712 }
10713 },
10714 {
10715 "abstract": true,
10716 "docs": {
10717 "stability": "deprecated",
10718 "summary": "How many seconds to aggregate over."
10719 },
10720 "immutable": true,
10721 "locationInModule": {
10722 "filename": "lib/metric-types.ts",
10723 "line": 374
10724 },
10725 "name": "period",
10726 "type": {
10727 "primitive": "number"
10728 }
10729 },
10730 {
10731 "abstract": true,
10732 "docs": {
10733 "stability": "deprecated",
10734 "summary": "The dimensions to apply to the alarm."
10735 },
10736 "immutable": true,
10737 "locationInModule": {
10738 "filename": "lib/metric-types.ts",
10739 "line": 359
10740 },
10741 "name": "dimensions",
10742 "optional": true,
10743 "type": {
10744 "collection": {
10745 "elementtype": {
10746 "fqn": "@aws-cdk/aws-cloudwatch.Dimension"
10747 },
10748 "kind": "array"
10749 }
10750 }
10751 },
10752 {
10753 "abstract": true,
10754 "docs": {
10755 "stability": "deprecated",
10756 "summary": "Percentile aggregation function to use."
10757 },
10758 "immutable": true,
10759 "locationInModule": {
10760 "filename": "lib/metric-types.ts",
10761 "line": 384
10762 },
10763 "name": "extendedStatistic",
10764 "optional": true,
10765 "type": {
10766 "primitive": "string"
10767 }
10768 },
10769 {
10770 "abstract": true,
10771 "docs": {
10772 "stability": "deprecated",
10773 "summary": "Simple aggregation function to use."
10774 },
10775 "immutable": true,
10776 "locationInModule": {
10777 "filename": "lib/metric-types.ts",
10778 "line": 379
10779 },
10780 "name": "statistic",
10781 "optional": true,
10782 "type": {
10783 "fqn": "@aws-cdk/aws-cloudwatch.Statistic"
10784 }
10785 },
10786 {
10787 "abstract": true,
10788 "docs": {
10789 "stability": "deprecated",
10790 "summary": "The unit of the alarm."
10791 },
10792 "immutable": true,
10793 "locationInModule": {
10794 "filename": "lib/metric-types.ts",
10795 "line": 389
10796 },
10797 "name": "unit",
10798 "optional": true,
10799 "type": {
10800 "fqn": "@aws-cdk/aws-cloudwatch.Unit"
10801 }
10802 }
10803 ],
10804 "symbolId": "lib/metric-types:MetricAlarmConfig"
10805 },
10806 "@aws-cdk/aws-cloudwatch.MetricConfig": {
10807 "assembly": "@aws-cdk/aws-cloudwatch",
10808 "datatype": true,
10809 "docs": {
10810 "stability": "stable",
10811 "summary": "Properties of a rendered metric.",
10812 "example": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as cloudwatch from '@aws-cdk/aws-cloudwatch';\nimport * as cdk from '@aws-cdk/core';\n\ndeclare const metric: cloudwatch.Metric;\ndeclare const renderingProperties: any;\ndeclare const value: any;\nconst metricConfig: cloudwatch.MetricConfig = {\n mathExpression: {\n expression: 'expression',\n period: 123,\n usingMetrics: {\n usingMetricsKey: metric,\n },\n\n // the properties below are optional\n searchAccount: 'searchAccount',\n searchRegion: 'searchRegion',\n },\n metricStat: {\n metricName: 'metricName',\n namespace: 'namespace',\n period: cdk.Duration.minutes(30),\n statistic: 'statistic',\n\n // the properties below are optional\n account: 'account',\n dimensions: [{\n name: 'name',\n value: value,\n }],\n region: 'region',\n unitFilter: cloudwatch.Unit.SECONDS,\n },\n renderingProperties: {\n renderingPropertiesKey: renderingProperties,\n },\n};",
10813 "custom": {
10814 "exampleMetadata": "fixture=_generated"
10815 }
10816 },
10817 "fqn": "@aws-cdk/aws-cloudwatch.MetricConfig",
10818 "kind": "interface",
10819 "locationInModule": {
10820 "filename": "lib/metric-types.ts",
10821 "line": 227
10822 },
10823 "name": "MetricConfig",
10824 "properties": [
10825 {
10826 "abstract": true,
10827 "docs": {
10828 "default": "- None",
10829 "stability": "stable",
10830 "summary": "In case the metric is a math expression, the details of the math expression."
10831 },
10832 "immutable": true,
10833 "locationInModule": {
10834 "filename": "lib/metric-types.ts",
10835 "line": 240
10836 },
10837 "name": "mathExpression",
10838 "optional": true,
10839 "type": {
10840 "fqn": "@aws-cdk/aws-cloudwatch.MetricExpressionConfig"
10841 }
10842 },
10843 {
10844 "abstract": true,
10845 "docs": {
10846 "default": "- None",
10847 "stability": "stable",
10848 "summary": "In case the metric represents a query, the details of the query."
10849 },
10850 "immutable": true,
10851 "locationInModule": {
10852 "filename": "lib/metric-types.ts",
10853 "line": 233
10854 },
10855 "name": "metricStat",
10856 "optional": true,
10857 "type": {
10858 "fqn": "@aws-cdk/aws-cloudwatch.MetricStatConfig"
10859 }
10860 },
10861 {
10862 "abstract": true,
10863 "docs": {
10864 "default": "- None",
10865 "remarks": "Examples are 'label' and 'color', but any key in here will be\nadded to dashboard graphs.",
10866 "stability": "stable",
10867 "summary": "Additional properties which will be rendered if the metric is used in a dashboard."
10868 },
10869 "immutable": true,
10870 "locationInModule": {
10871 "filename": "lib/metric-types.ts",
10872 "line": 250
10873 },
10874 "name": "renderingProperties",
10875 "optional": true,
10876 "type": {
10877 "collection": {
10878 "elementtype": {
10879 "primitive": "any"
10880 },
10881 "kind": "map"
10882 }
10883 }
10884 }
10885 ],
10886 "symbolId": "lib/metric-types:MetricConfig"
10887 },
10888 "@aws-cdk/aws-cloudwatch.MetricExpressionConfig": {
10889 "assembly": "@aws-cdk/aws-cloudwatch",
10890 "datatype": true,
10891 "docs": {
10892 "stability": "stable",
10893 "summary": "Properties for a concrete metric.",
10894 "example": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as cloudwatch from '@aws-cdk/aws-cloudwatch';\n\ndeclare const metric: cloudwatch.Metric;\nconst metricExpressionConfig: cloudwatch.MetricExpressionConfig = {\n expression: 'expression',\n period: 123,\n usingMetrics: {\n usingMetricsKey: metric,\n },\n\n // the properties below are optional\n searchAccount: 'searchAccount',\n searchRegion: 'searchRegion',\n};",
10895 "custom": {
10896 "exampleMetadata": "fixture=_generated"
10897 }
10898 },
10899 "fqn": "@aws-cdk/aws-cloudwatch.MetricExpressionConfig",
10900 "kind": "interface",
10901 "locationInModule": {
10902 "filename": "lib/metric-types.ts",
10903 "line": 319
10904 },
10905 "name": "MetricExpressionConfig",
10906 "properties": [
10907 {
10908 "abstract": true,
10909 "docs": {
10910 "stability": "stable",
10911 "summary": "Math expression for the metric."
10912 },
10913 "immutable": true,
10914 "locationInModule": {
10915 "filename": "lib/metric-types.ts",
10916 "line": 323
10917 },
10918 "name": "expression",
10919 "type": {
10920 "primitive": "string"
10921 }
10922 },
10923 {
10924 "abstract": true,
10925 "docs": {
10926 "stability": "stable",
10927 "summary": "How many seconds to aggregate over."
10928 },
10929 "immutable": true,
10930 "locationInModule": {
10931 "filename": "lib/metric-types.ts",
10932 "line": 333
10933 },
10934 "name": "period",
10935 "type": {
10936 "primitive": "number"
10937 }
10938 },
10939 {
10940 "abstract": true,
10941 "docs": {
10942 "stability": "stable",
10943 "summary": "Metrics used in the math expression."
10944 },
10945 "immutable": true,
10946 "locationInModule": {
10947 "filename": "lib/metric-types.ts",
10948 "line": 328
10949 },
10950 "name": "usingMetrics",
10951 "type": {
10952 "collection": {
10953 "elementtype": {
10954 "fqn": "@aws-cdk/aws-cloudwatch.IMetric"
10955 },
10956 "kind": "map"
10957 }
10958 }
10959 },
10960 {
10961 "abstract": true,
10962 "docs": {
10963 "default": "- Deployment account.",
10964 "stability": "stable",
10965 "summary": "Account to evaluate search expressions within."
10966 },
10967 "immutable": true,
10968 "locationInModule": {
10969 "filename": "lib/metric-types.ts",
10970 "line": 340
10971 },
10972 "name": "searchAccount",
10973 "optional": true,
10974 "type": {
10975 "primitive": "string"
10976 }
10977 },
10978 {
10979 "abstract": true,
10980 "docs": {
10981 "default": "- Deployment region.",
10982 "stability": "stable",
10983 "summary": "Region to evaluate search expressions within."
10984 },
10985 "immutable": true,
10986 "locationInModule": {
10987 "filename": "lib/metric-types.ts",
10988 "line": 347
10989 },
10990 "name": "searchRegion",
10991 "optional": true,
10992 "type": {
10993 "primitive": "string"
10994 }
10995 }
10996 ],
10997 "symbolId": "lib/metric-types:MetricExpressionConfig"
10998 },
10999 "@aws-cdk/aws-cloudwatch.MetricGraphConfig": {
11000 "assembly": "@aws-cdk/aws-cloudwatch",
11001 "datatype": true,
11002 "docs": {
11003 "deprecated": "Replaced by MetricConfig",
11004 "stability": "deprecated",
11005 "summary": "Properties used to construct the Metric identifying part of a Graph.",
11006 "example": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as cloudwatch from '@aws-cdk/aws-cloudwatch';\n\ndeclare const value: any;\nconst metricGraphConfig: cloudwatch.MetricGraphConfig = {\n metricName: 'metricName',\n namespace: 'namespace',\n period: 123,\n renderingProperties: {\n period: 123,\n\n // the properties below are optional\n color: 'color',\n label: 'label',\n stat: 'stat',\n },\n\n // the properties below are optional\n color: 'color',\n dimensions: [{\n name: 'name',\n value: value,\n }],\n label: 'label',\n statistic: 'statistic',\n unit: cloudwatch.Unit.SECONDS,\n};",
11007 "custom": {
11008 "exampleMetadata": "fixture=_generated"
11009 }
11010 },
11011 "fqn": "@aws-cdk/aws-cloudwatch.MetricGraphConfig",
11012 "kind": "interface",
11013 "locationInModule": {
11014 "filename": "lib/metric-types.ts",
11015 "line": 397
11016 },
11017 "name": "MetricGraphConfig",
11018 "properties": [
11019 {
11020 "abstract": true,
11021 "docs": {
11022 "stability": "deprecated",
11023 "summary": "Name of the metric."
11024 },
11025 "immutable": true,
11026 "locationInModule": {
11027 "filename": "lib/metric-types.ts",
11028 "line": 411
11029 },
11030 "name": "metricName",
11031 "type": {
11032 "primitive": "string"
11033 }
11034 },
11035 {
11036 "abstract": true,
11037 "docs": {
11038 "stability": "deprecated",
11039 "summary": "Namespace of the metric."
11040 },
11041 "immutable": true,
11042 "locationInModule": {
11043 "filename": "lib/metric-types.ts",
11044 "line": 406
11045 },
11046 "name": "namespace",
11047 "type": {
11048 "primitive": "string"
11049 }
11050 },
11051 {
11052 "abstract": true,
11053 "docs": {
11054 "deprecated": "Use `period` in `renderingProperties`",
11055 "stability": "deprecated",
11056 "summary": "How many seconds to aggregate over."
11057 },
11058 "immutable": true,
11059 "locationInModule": {
11060 "filename": "lib/metric-types.ts",
11061 "line": 423
11062 },
11063 "name": "period",
11064 "type": {
11065 "primitive": "number"
11066 }
11067 },
11068 {
11069 "abstract": true,
11070 "docs": {
11071 "stability": "deprecated",
11072 "summary": "Rendering properties override yAxis parameter of the widget object."
11073 },
11074 "immutable": true,
11075 "locationInModule": {
11076 "filename": "lib/metric-types.ts",
11077 "line": 416
11078 },
11079 "name": "renderingProperties",
11080 "type": {
11081 "fqn": "@aws-cdk/aws-cloudwatch.MetricRenderingProperties"
11082 }
11083 },
11084 {
11085 "abstract": true,
11086 "docs": {
11087 "deprecated": "Use `color` in `renderingProperties`",
11088 "stability": "deprecated",
11089 "summary": "Color for the graph line."
11090 },
11091 "immutable": true,
11092 "locationInModule": {
11093 "filename": "lib/metric-types.ts",
11094 "line": 437
11095 },
11096 "name": "color",
11097 "optional": true,
11098 "type": {
11099 "primitive": "string"
11100 }
11101 },
11102 {
11103 "abstract": true,
11104 "docs": {
11105 "stability": "deprecated",
11106 "summary": "The dimensions to apply to the alarm."
11107 },
11108 "immutable": true,
11109 "locationInModule": {
11110 "filename": "lib/metric-types.ts",
11111 "line": 401
11112 },
11113 "name": "dimensions",
11114 "optional": true,
11115 "type": {
11116 "collection": {
11117 "elementtype": {
11118 "fqn": "@aws-cdk/aws-cloudwatch.Dimension"
11119 },
11120 "kind": "array"
11121 }
11122 }
11123 },
11124 {
11125 "abstract": true,
11126 "docs": {
11127 "deprecated": "Use `label` in `renderingProperties`",
11128 "stability": "deprecated",
11129 "summary": "Label for the metric."
11130 },
11131 "immutable": true,
11132 "locationInModule": {
11133 "filename": "lib/metric-types.ts",
11134 "line": 430
11135 },
11136 "name": "label",
11137 "optional": true,
11138 "type": {
11139 "primitive": "string"
11140 }
11141 },
11142 {
11143 "abstract": true,
11144 "docs": {
11145 "deprecated": "Use `stat` in `renderingProperties`",
11146 "stability": "deprecated",
11147 "summary": "Aggregation function to use (can be either simple or a percentile)."
11148 },
11149 "immutable": true,
11150 "locationInModule": {
11151 "filename": "lib/metric-types.ts",
11152 "line": 444
11153 },
11154 "name": "statistic",
11155 "optional": true,
11156 "type": {
11157 "primitive": "string"
11158 }
11159 },
11160 {
11161 "abstract": true,
11162 "docs": {
11163 "deprecated": "not used in dashboard widgets",
11164 "stability": "deprecated",
11165 "summary": "The unit of the alarm."
11166 },
11167 "immutable": true,
11168 "locationInModule": {
11169 "filename": "lib/metric-types.ts",
11170 "line": 451
11171 },
11172 "name": "unit",
11173 "optional": true,
11174 "type": {
11175 "fqn": "@aws-cdk/aws-cloudwatch.Unit"
11176 }
11177 }
11178 ],
11179 "symbolId": "lib/metric-types:MetricGraphConfig"
11180 },
11181 "@aws-cdk/aws-cloudwatch.MetricOptions": {
11182 "assembly": "@aws-cdk/aws-cloudwatch",
11183 "datatype": true,
11184 "docs": {
11185 "stability": "stable",
11186 "summary": "Properties of a metric that can be changed.",
11187 "example": "import * as cloudwatch from '@aws-cdk/aws-cloudwatch';\ndeclare const deliveryStream: firehose.DeliveryStream;\n\n// Alarm that triggers when the per-second average of incoming bytes exceeds 90% of the current service limit\nconst incomingBytesPercentOfLimit = new cloudwatch.MathExpression({\n expression: 'incomingBytes / 300 / bytePerSecLimit',\n usingMetrics: {\n incomingBytes: deliveryStream.metricIncomingBytes({ statistic: cloudwatch.Statistic.SUM }),\n bytePerSecLimit: deliveryStream.metric('BytesPerSecondLimit'),\n },\n});\n\nnew cloudwatch.Alarm(this, 'Alarm', {\n metric: incomingBytesPercentOfLimit,\n threshold: 0.9,\n evaluationPeriods: 3,\n});",
11188 "custom": {
11189 "exampleMetadata": "infused"
11190 }
11191 },
11192 "fqn": "@aws-cdk/aws-cloudwatch.MetricOptions",
11193 "interfaces": [
11194 "@aws-cdk/aws-cloudwatch.CommonMetricOptions"
11195 ],
11196 "kind": "interface",
11197 "locationInModule": {
11198 "filename": "lib/metric.ts",
11199 "line": 134
11200 },
11201 "name": "MetricOptions",
11202 "symbolId": "lib/metric:MetricOptions"
11203 },
11204 "@aws-cdk/aws-cloudwatch.MetricProps": {
11205 "assembly": "@aws-cdk/aws-cloudwatch",
11206 "datatype": true,
11207 "docs": {
11208 "stability": "stable",
11209 "summary": "Properties for a metric.",
11210 "example": "const hostedZone = new route53.HostedZone(this, 'MyHostedZone', { zoneName: \"example.org\" });\nconst metric = new cloudwatch.Metric({\n namespace: 'AWS/Route53',\n metricName: 'DNSQueries',\n dimensionsMap: {\n HostedZoneId: hostedZone.hostedZoneId\n }\n});",
11211 "custom": {
11212 "exampleMetadata": "infused"
11213 }
11214 },
11215 "fqn": "@aws-cdk/aws-cloudwatch.MetricProps",
11216 "interfaces": [
11217 "@aws-cdk/aws-cloudwatch.CommonMetricOptions"
11218 ],
11219 "kind": "interface",
11220 "locationInModule": {
11221 "filename": "lib/metric.ts",
11222 "line": 119
11223 },
11224 "name": "MetricProps",
11225 "properties": [
11226 {
11227 "abstract": true,
11228 "docs": {
11229 "stability": "stable",
11230 "summary": "Name of the metric."
11231 },
11232 "immutable": true,
11233 "locationInModule": {
11234 "filename": "lib/metric.ts",
11235 "line": 128
11236 },
11237 "name": "metricName",
11238 "type": {
11239 "primitive": "string"
11240 }
11241 },
11242 {
11243 "abstract": true,
11244 "docs": {
11245 "stability": "stable",
11246 "summary": "Namespace of the metric."
11247 },
11248 "immutable": true,
11249 "locationInModule": {
11250 "filename": "lib/metric.ts",
11251 "line": 123
11252 },
11253 "name": "namespace",
11254 "type": {
11255 "primitive": "string"
11256 }
11257 }
11258 ],
11259 "symbolId": "lib/metric:MetricProps"
11260 },
11261 "@aws-cdk/aws-cloudwatch.MetricRenderingProperties": {
11262 "assembly": "@aws-cdk/aws-cloudwatch",
11263 "datatype": true,
11264 "docs": {
11265 "deprecated": "Replaced by MetricConfig.",
11266 "stability": "deprecated",
11267 "summary": "Custom rendering properties that override the default rendering properties specified in the yAxis parameter of the widget object.",
11268 "example": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as cloudwatch from '@aws-cdk/aws-cloudwatch';\nconst metricRenderingProperties: cloudwatch.MetricRenderingProperties = {\n period: 123,\n\n // the properties below are optional\n color: 'color',\n label: 'label',\n stat: 'stat',\n};",
11269 "custom": {
11270 "exampleMetadata": "fixture=_generated"
11271 }
11272 },
11273 "fqn": "@aws-cdk/aws-cloudwatch.MetricRenderingProperties",
11274 "kind": "interface",
11275 "locationInModule": {
11276 "filename": "lib/metric-types.ts",
11277 "line": 459
11278 },
11279 "name": "MetricRenderingProperties",
11280 "properties": [
11281 {
11282 "abstract": true,
11283 "docs": {
11284 "stability": "deprecated",
11285 "summary": "How many seconds to aggregate over."
11286 },
11287 "immutable": true,
11288 "locationInModule": {
11289 "filename": "lib/metric-types.ts",
11290 "line": 463
11291 },
11292 "name": "period",
11293 "type": {
11294 "primitive": "number"
11295 }
11296 },
11297 {
11298 "abstract": true,
11299 "docs": {
11300 "stability": "deprecated",
11301 "summary": "The hex color code, prefixed with '#' (e.g. '#00ff00'), to use when this metric is rendered on a graph. The `Color` class has a set of standard colors that can be used here."
11302 },
11303 "immutable": true,
11304 "locationInModule": {
11305 "filename": "lib/metric-types.ts",
11306 "line": 474
11307 },
11308 "name": "color",
11309 "optional": true,
11310 "type": {
11311 "primitive": "string"
11312 }
11313 },
11314 {
11315 "abstract": true,
11316 "docs": {
11317 "stability": "deprecated",
11318 "summary": "Label for the metric."
11319 },
11320 "immutable": true,
11321 "locationInModule": {
11322 "filename": "lib/metric-types.ts",
11323 "line": 468
11324 },
11325 "name": "label",
11326 "optional": true,
11327 "type": {
11328 "primitive": "string"
11329 }
11330 },
11331 {
11332 "abstract": true,
11333 "docs": {
11334 "stability": "deprecated",
11335 "summary": "Aggregation function to use (can be either simple or a percentile)."
11336 },
11337 "immutable": true,
11338 "locationInModule": {
11339 "filename": "lib/metric-types.ts",
11340 "line": 479
11341 },
11342 "name": "stat",
11343 "optional": true,
11344 "type": {
11345 "primitive": "string"
11346 }
11347 }
11348 ],
11349 "symbolId": "lib/metric-types:MetricRenderingProperties"
11350 },
11351 "@aws-cdk/aws-cloudwatch.MetricStatConfig": {
11352 "assembly": "@aws-cdk/aws-cloudwatch",
11353 "datatype": true,
11354 "docs": {
11355 "remarks": "NOTE: `unit` is no longer on this object since it is only used for `Alarms`, and doesn't mean what one\nwould expect it to mean there anyway. It is most likely to be misused.",
11356 "stability": "stable",
11357 "summary": "Properties for a concrete metric.",
11358 "example": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as cloudwatch from '@aws-cdk/aws-cloudwatch';\nimport * as cdk from '@aws-cdk/core';\n\ndeclare const value: any;\nconst metricStatConfig: cloudwatch.MetricStatConfig = {\n metricName: 'metricName',\n namespace: 'namespace',\n period: cdk.Duration.minutes(30),\n statistic: 'statistic',\n\n // the properties below are optional\n account: 'account',\n dimensions: [{\n name: 'name',\n value: value,\n }],\n region: 'region',\n unitFilter: cloudwatch.Unit.SECONDS,\n};",
11359 "custom": {
11360 "exampleMetadata": "fixture=_generated"
11361 }
11362 },
11363 "fqn": "@aws-cdk/aws-cloudwatch.MetricStatConfig",
11364 "kind": "interface",
11365 "locationInModule": {
11366 "filename": "lib/metric-types.ts",
11367 "line": 259
11368 },
11369 "name": "MetricStatConfig",
11370 "properties": [
11371 {
11372 "abstract": true,
11373 "docs": {
11374 "stability": "stable",
11375 "summary": "Name of the metric."
11376 },
11377 "immutable": true,
11378 "locationInModule": {
11379 "filename": "lib/metric-types.ts",
11380 "line": 275
11381 },
11382 "name": "metricName",
11383 "type": {
11384 "primitive": "string"
11385 }
11386 },
11387 {
11388 "abstract": true,
11389 "docs": {
11390 "stability": "stable",
11391 "summary": "Namespace of the metric."
11392 },
11393 "immutable": true,
11394 "locationInModule": {
11395 "filename": "lib/metric-types.ts",
11396 "line": 270
11397 },
11398 "name": "namespace",
11399 "type": {
11400 "primitive": "string"
11401 }
11402 },
11403 {
11404 "abstract": true,
11405 "docs": {
11406 "stability": "stable",
11407 "summary": "How many seconds to aggregate over."
11408 },
11409 "immutable": true,
11410 "locationInModule": {
11411 "filename": "lib/metric-types.ts",
11412 "line": 280
11413 },
11414 "name": "period",
11415 "type": {
11416 "fqn": "@aws-cdk/core.Duration"
11417 }
11418 },
11419 {
11420 "abstract": true,
11421 "docs": {
11422 "stability": "stable",
11423 "summary": "Aggregation function to use (can be either simple or a percentile)."
11424 },
11425 "immutable": true,
11426 "locationInModule": {
11427 "filename": "lib/metric-types.ts",
11428 "line": 285
11429 },
11430 "name": "statistic",
11431 "type": {
11432 "primitive": "string"
11433 }
11434 },
11435 {
11436 "abstract": true,
11437 "docs": {
11438 "default": "Deployment account.",
11439 "stability": "stable",
11440 "summary": "Account which this metric comes from."
11441 },
11442 "immutable": true,
11443 "locationInModule": {
11444 "filename": "lib/metric-types.ts",
11445 "line": 313
11446 },
11447 "name": "account",
11448 "optional": true,
11449 "type": {
11450 "primitive": "string"
11451 }
11452 },
11453 {
11454 "abstract": true,
11455 "docs": {
11456 "default": "[]",
11457 "stability": "stable",
11458 "summary": "The dimensions to apply to the alarm."
11459 },
11460 "immutable": true,
11461 "locationInModule": {
11462 "filename": "lib/metric-types.ts",
11463 "line": 265
11464 },
11465 "name": "dimensions",
11466 "optional": true,
11467 "type": {
11468 "collection": {
11469 "elementtype": {
11470 "fqn": "@aws-cdk/aws-cloudwatch.Dimension"
11471 },
11472 "kind": "array"
11473 }
11474 }
11475 },
11476 {
11477 "abstract": true,
11478 "docs": {
11479 "default": "Deployment region.",
11480 "stability": "stable",
11481 "summary": "Region which this metric comes from."
11482 },
11483 "immutable": true,
11484 "locationInModule": {
11485 "filename": "lib/metric-types.ts",
11486 "line": 306
11487 },
11488 "name": "region",
11489 "optional": true,
11490 "type": {
11491 "primitive": "string"
11492 }
11493 },
11494 {
11495 "abstract": true,
11496 "docs": {
11497 "default": "- Refer to all metric datums",
11498 "remarks": "Only refer to datums emitted to the metric stream with the given unit and\nignore all others. Only useful when datums are being emitted to the same\nmetric stream under different units.\n\nThis field has been renamed from plain `unit` to clearly communicate\nits purpose.",
11499 "stability": "stable",
11500 "summary": "Unit used to filter the metric stream."
11501 },
11502 "immutable": true,
11503 "locationInModule": {
11504 "filename": "lib/metric-types.ts",
11505 "line": 299
11506 },
11507 "name": "unitFilter",
11508 "optional": true,
11509 "type": {
11510 "fqn": "@aws-cdk/aws-cloudwatch.Unit"
11511 }
11512 }
11513 ],
11514 "symbolId": "lib/metric-types:MetricStatConfig"
11515 },
11516 "@aws-cdk/aws-cloudwatch.MetricWidgetProps": {
11517 "assembly": "@aws-cdk/aws-cloudwatch",
11518 "datatype": true,
11519 "docs": {
11520 "stability": "stable",
11521 "summary": "Basic properties for widgets that display metrics.",
11522 "example": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as cloudwatch from '@aws-cdk/aws-cloudwatch';\nconst metricWidgetProps: cloudwatch.MetricWidgetProps = {\n height: 123,\n region: 'region',\n title: 'title',\n width: 123,\n};",
11523 "custom": {
11524 "exampleMetadata": "fixture=_generated"
11525 }
11526 },
11527 "fqn": "@aws-cdk/aws-cloudwatch.MetricWidgetProps",
11528 "kind": "interface",
11529 "locationInModule": {
11530 "filename": "lib/graph.ts",
11531 "line": 10
11532 },
11533 "name": "MetricWidgetProps",
11534 "properties": [
11535 {
11536 "abstract": true,
11537 "docs": {
11538 "default": "- 6 for Alarm and Graph widgets.\n3 for single value widgets where most recent value of a metric is displayed.",
11539 "stability": "stable",
11540 "summary": "Height of the widget."
11541 },
11542 "immutable": true,
11543 "locationInModule": {
11544 "filename": "lib/graph.ts",
11545 "line": 38
11546 },
11547 "name": "height",
11548 "optional": true,
11549 "type": {
11550 "primitive": "number"
11551 }
11552 },
11553 {
11554 "abstract": true,
11555 "docs": {
11556 "default": "- Current region",
11557 "stability": "stable",
11558 "summary": "The region the metrics of this graph should be taken from."
11559 },
11560 "immutable": true,
11561 "locationInModule": {
11562 "filename": "lib/graph.ts",
11563 "line": 23
11564 },
11565 "name": "region",
11566 "optional": true,
11567 "type": {
11568 "primitive": "string"
11569 }
11570 },
11571 {
11572 "abstract": true,
11573 "docs": {
11574 "default": "- None",
11575 "stability": "stable",
11576 "summary": "Title for the graph."
11577 },
11578 "immutable": true,
11579 "locationInModule": {
11580 "filename": "lib/graph.ts",
11581 "line": 16
11582 },
11583 "name": "title",
11584 "optional": true,
11585 "type": {
11586 "primitive": "string"
11587 }
11588 },
11589 {
11590 "abstract": true,
11591 "docs": {
11592 "default": "6",
11593 "stability": "stable",
11594 "summary": "Width of the widget, in a grid of 24 units wide."
11595 },
11596 "immutable": true,
11597 "locationInModule": {
11598 "filename": "lib/graph.ts",
11599 "line": 30
11600 },
11601 "name": "width",
11602 "optional": true,
11603 "type": {
11604 "primitive": "number"
11605 }
11606 }
11607 ],
11608 "symbolId": "lib/graph:MetricWidgetProps"
11609 },
11610 "@aws-cdk/aws-cloudwatch.PeriodOverride": {
11611 "assembly": "@aws-cdk/aws-cloudwatch",
11612 "docs": {
11613 "stability": "stable",
11614 "summary": "Specify the period for graphs when the CloudWatch dashboard loads."
11615 },
11616 "fqn": "@aws-cdk/aws-cloudwatch.PeriodOverride",
11617 "kind": "enum",
11618 "locationInModule": {
11619 "filename": "lib/dashboard.ts",
11620 "line": 10
11621 },
11622 "members": [
11623 {
11624 "docs": {
11625 "stability": "stable",
11626 "summary": "Period of all graphs on the dashboard automatically adapt to the time range of the dashboard."
11627 },
11628 "name": "AUTO"
11629 },
11630 {
11631 "docs": {
11632 "stability": "stable",
11633 "summary": "Period set for each graph will be used."
11634 },
11635 "name": "INHERIT"
11636 }
11637 ],
11638 "name": "PeriodOverride",
11639 "symbolId": "lib/dashboard:PeriodOverride"
11640 },
11641 "@aws-cdk/aws-cloudwatch.Row": {
11642 "assembly": "@aws-cdk/aws-cloudwatch",
11643 "docs": {
11644 "remarks": "Widgets will be laid out next to each other",
11645 "stability": "stable",
11646 "summary": "A widget that contains other widgets in a horizontal row.",
11647 "example": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as cloudwatch from '@aws-cdk/aws-cloudwatch';\n\ndeclare const widget: cloudwatch.IWidget;\nconst row = new cloudwatch.Row(widget);",
11648 "custom": {
11649 "exampleMetadata": "fixture=_generated"
11650 }
11651 },
11652 "fqn": "@aws-cdk/aws-cloudwatch.Row",
11653 "initializer": {
11654 "docs": {
11655 "stability": "stable"
11656 },
11657 "locationInModule": {
11658 "filename": "lib/layout.ts",
11659 "line": 24
11660 },
11661 "parameters": [
11662 {
11663 "name": "widgets",
11664 "type": {
11665 "fqn": "@aws-cdk/aws-cloudwatch.IWidget"
11666 },
11667 "variadic": true
11668 }
11669 ],
11670 "variadic": true
11671 },
11672 "interfaces": [
11673 "@aws-cdk/aws-cloudwatch.IWidget"
11674 ],
11675 "kind": "class",
11676 "locationInModule": {
11677 "filename": "lib/layout.ts",
11678 "line": 10
11679 },
11680 "methods": [
11681 {
11682 "docs": {
11683 "stability": "stable",
11684 "summary": "Place the widget at a given position."
11685 },
11686 "locationInModule": {
11687 "filename": "lib/layout.ts",
11688 "line": 46
11689 },
11690 "name": "position",
11691 "overrides": "@aws-cdk/aws-cloudwatch.IWidget",
11692 "parameters": [
11693 {
11694 "name": "x",
11695 "type": {
11696 "primitive": "number"
11697 }
11698 },
11699 {
11700 "name": "y",
11701 "type": {
11702 "primitive": "number"
11703 }
11704 }
11705 ]
11706 },
11707 {
11708 "docs": {
11709 "stability": "stable",
11710 "summary": "Return the widget JSON for use in the dashboard."
11711 },
11712 "locationInModule": {
11713 "filename": "lib/layout.ts",
11714 "line": 52
11715 },
11716 "name": "toJson",
11717 "overrides": "@aws-cdk/aws-cloudwatch.IWidget",
11718 "returns": {
11719 "type": {
11720 "collection": {
11721 "elementtype": {
11722 "primitive": "any"
11723 },
11724 "kind": "array"
11725 }
11726 }
11727 }
11728 }
11729 ],
11730 "name": "Row",
11731 "properties": [
11732 {
11733 "docs": {
11734 "stability": "stable",
11735 "summary": "The amount of vertical grid units the widget will take up."
11736 },
11737 "immutable": true,
11738 "locationInModule": {
11739 "filename": "lib/layout.ts",
11740 "line": 12
11741 },
11742 "name": "height",
11743 "overrides": "@aws-cdk/aws-cloudwatch.IWidget",
11744 "type": {
11745 "primitive": "number"
11746 }
11747 },
11748 {
11749 "docs": {
11750 "stability": "stable",
11751 "summary": "List of contained widgets."
11752 },
11753 "immutable": true,
11754 "locationInModule": {
11755 "filename": "lib/layout.ts",
11756 "line": 17
11757 },
11758 "name": "widgets",
11759 "type": {
11760 "collection": {
11761 "elementtype": {
11762 "fqn": "@aws-cdk/aws-cloudwatch.IWidget"
11763 },
11764 "kind": "array"
11765 }
11766 }
11767 },
11768 {
11769 "docs": {
11770 "stability": "stable",
11771 "summary": "The amount of horizontal grid units the widget will take up."
11772 },
11773 "immutable": true,
11774 "locationInModule": {
11775 "filename": "lib/layout.ts",
11776 "line": 11
11777 },
11778 "name": "width",
11779 "overrides": "@aws-cdk/aws-cloudwatch.IWidget",
11780 "type": {
11781 "primitive": "number"
11782 }
11783 }
11784 ],
11785 "symbolId": "lib/layout:Row"
11786 },
11787 "@aws-cdk/aws-cloudwatch.Shading": {
11788 "assembly": "@aws-cdk/aws-cloudwatch",
11789 "docs": {
11790 "stability": "stable",
11791 "summary": "Fill shading options that will be used with an annotation."
11792 },
11793 "fqn": "@aws-cdk/aws-cloudwatch.Shading",
11794 "kind": "enum",
11795 "locationInModule": {
11796 "filename": "lib/graph.ts",
11797 "line": 504
11798 },
11799 "members": [
11800 {
11801 "docs": {
11802 "stability": "stable",
11803 "summary": "Don't add shading."
11804 },
11805 "name": "NONE"
11806 },
11807 {
11808 "docs": {
11809 "stability": "stable",
11810 "summary": "Add shading above the annotation."
11811 },
11812 "name": "ABOVE"
11813 },
11814 {
11815 "docs": {
11816 "stability": "stable",
11817 "summary": "Add shading below the annotation."
11818 },
11819 "name": "BELOW"
11820 }
11821 ],
11822 "name": "Shading",
11823 "symbolId": "lib/graph:Shading"
11824 },
11825 "@aws-cdk/aws-cloudwatch.SingleValueWidget": {
11826 "assembly": "@aws-cdk/aws-cloudwatch",
11827 "base": "@aws-cdk/aws-cloudwatch.ConcreteWidget",
11828 "docs": {
11829 "stability": "stable",
11830 "summary": "A dashboard widget that displays the most recent value for every metric.",
11831 "example": "declare const dashboard: cloudwatch.Dashboard;\ndeclare const visitorCount: cloudwatch.Metric;\ndeclare const purchaseCount: cloudwatch.Metric;\n\ndashboard.addWidgets(new cloudwatch.SingleValueWidget({\n metrics: [visitorCount, purchaseCount],\n}));",
11832 "custom": {
11833 "exampleMetadata": "infused"
11834 }
11835 },
11836 "fqn": "@aws-cdk/aws-cloudwatch.SingleValueWidget",
11837 "initializer": {
11838 "docs": {
11839 "stability": "stable"
11840 },
11841 "locationInModule": {
11842 "filename": "lib/graph.ts",
11843 "line": 346
11844 },
11845 "parameters": [
11846 {
11847 "name": "props",
11848 "type": {
11849 "fqn": "@aws-cdk/aws-cloudwatch.SingleValueWidgetProps"
11850 }
11851 }
11852 ]
11853 },
11854 "kind": "class",
11855 "locationInModule": {
11856 "filename": "lib/graph.ts",
11857 "line": 343
11858 },
11859 "methods": [
11860 {
11861 "docs": {
11862 "stability": "stable",
11863 "summary": "Return the widget JSON for use in the dashboard."
11864 },
11865 "locationInModule": {
11866 "filename": "lib/graph.ts",
11867 "line": 352
11868 },
11869 "name": "toJson",
11870 "overrides": "@aws-cdk/aws-cloudwatch.ConcreteWidget",
11871 "returns": {
11872 "type": {
11873 "collection": {
11874 "elementtype": {
11875 "primitive": "any"
11876 },
11877 "kind": "array"
11878 }
11879 }
11880 }
11881 }
11882 ],
11883 "name": "SingleValueWidget",
11884 "symbolId": "lib/graph:SingleValueWidget"
11885 },
11886 "@aws-cdk/aws-cloudwatch.SingleValueWidgetProps": {
11887 "assembly": "@aws-cdk/aws-cloudwatch",
11888 "datatype": true,
11889 "docs": {
11890 "stability": "stable",
11891 "summary": "Properties for a SingleValueWidget.",
11892 "example": "declare const dashboard: cloudwatch.Dashboard;\ndeclare const visitorCount: cloudwatch.Metric;\ndeclare const purchaseCount: cloudwatch.Metric;\n\ndashboard.addWidgets(new cloudwatch.SingleValueWidget({\n metrics: [visitorCount, purchaseCount],\n}));",
11893 "custom": {
11894 "exampleMetadata": "infused"
11895 }
11896 },
11897 "fqn": "@aws-cdk/aws-cloudwatch.SingleValueWidgetProps",
11898 "interfaces": [
11899 "@aws-cdk/aws-cloudwatch.MetricWidgetProps"
11900 ],
11901 "kind": "interface",
11902 "locationInModule": {
11903 "filename": "lib/graph.ts",
11904 "line": 319
11905 },
11906 "name": "SingleValueWidgetProps",
11907 "properties": [
11908 {
11909 "abstract": true,
11910 "docs": {
11911 "stability": "stable",
11912 "summary": "Metrics to display."
11913 },
11914 "immutable": true,
11915 "locationInModule": {
11916 "filename": "lib/graph.ts",
11917 "line": 323
11918 },
11919 "name": "metrics",
11920 "type": {
11921 "collection": {
11922 "elementtype": {
11923 "fqn": "@aws-cdk/aws-cloudwatch.IMetric"
11924 },
11925 "kind": "array"
11926 }
11927 }
11928 },
11929 {
11930 "abstract": true,
11931 "docs": {
11932 "default": "false",
11933 "stability": "stable",
11934 "summary": "Whether to show as many digits as can fit, before rounding."
11935 },
11936 "immutable": true,
11937 "locationInModule": {
11938 "filename": "lib/graph.ts",
11939 "line": 337
11940 },
11941 "name": "fullPrecision",
11942 "optional": true,
11943 "type": {
11944 "primitive": "boolean"
11945 }
11946 },
11947 {
11948 "abstract": true,
11949 "docs": {
11950 "default": "false",
11951 "stability": "stable",
11952 "summary": "Whether to show the value from the entire time range."
11953 },
11954 "immutable": true,
11955 "locationInModule": {
11956 "filename": "lib/graph.ts",
11957 "line": 330
11958 },
11959 "name": "setPeriodToTimeRange",
11960 "optional": true,
11961 "type": {
11962 "primitive": "boolean"
11963 }
11964 }
11965 ],
11966 "symbolId": "lib/graph:SingleValueWidgetProps"
11967 },
11968 "@aws-cdk/aws-cloudwatch.Spacer": {
11969 "assembly": "@aws-cdk/aws-cloudwatch",
11970 "docs": {
11971 "stability": "stable",
11972 "summary": "A widget that doesn't display anything but takes up space.",
11973 "example": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as cloudwatch from '@aws-cdk/aws-cloudwatch';\nconst spacer = new cloudwatch.Spacer(/* all optional props */ {\n height: 123,\n width: 123,\n});",
11974 "custom": {
11975 "exampleMetadata": "fixture=_generated"
11976 }
11977 },
11978 "fqn": "@aws-cdk/aws-cloudwatch.Spacer",
11979 "initializer": {
11980 "docs": {
11981 "stability": "stable"
11982 },
11983 "locationInModule": {
11984 "filename": "lib/layout.ts",
11985 "line": 126
11986 },
11987 "parameters": [
11988 {
11989 "name": "props",
11990 "optional": true,
11991 "type": {
11992 "fqn": "@aws-cdk/aws-cloudwatch.SpacerProps"
11993 }
11994 }
11995 ]
11996 },
11997 "interfaces": [
11998 "@aws-cdk/aws-cloudwatch.IWidget"
11999 ],
12000 "kind": "class",
12001 "locationInModule": {
12002 "filename": "lib/layout.ts",
12003 "line": 122
12004 },
12005 "methods": [
12006 {
12007 "docs": {
12008 "stability": "stable",
12009 "summary": "Place the widget at a given position."
12010 },
12011 "locationInModule": {
12012 "filename": "lib/layout.ts",
12013 "line": 131
12014 },
12015 "name": "position",
12016 "overrides": "@aws-cdk/aws-cloudwatch.IWidget",
12017 "parameters": [
12018 {
12019 "name": "_x",
12020 "type": {
12021 "primitive": "number"
12022 }
12023 },
12024 {
12025 "name": "_y",
12026 "type": {
12027 "primitive": "number"
12028 }
12029 }
12030 ]
12031 },
12032 {
12033 "docs": {
12034 "stability": "stable",
12035 "summary": "Return the widget JSON for use in the dashboard."
12036 },
12037 "locationInModule": {
12038 "filename": "lib/layout.ts",
12039 "line": 135
12040 },
12041 "name": "toJson",
12042 "overrides": "@aws-cdk/aws-cloudwatch.IWidget",
12043 "returns": {
12044 "type": {
12045 "collection": {
12046 "elementtype": {
12047 "primitive": "any"
12048 },
12049 "kind": "array"
12050 }
12051 }
12052 }
12053 }
12054 ],
12055 "name": "Spacer",
12056 "properties": [
12057 {
12058 "docs": {
12059 "stability": "stable",
12060 "summary": "The amount of vertical grid units the widget will take up."
12061 },
12062 "immutable": true,
12063 "locationInModule": {
12064 "filename": "lib/layout.ts",
12065 "line": 124
12066 },
12067 "name": "height",
12068 "overrides": "@aws-cdk/aws-cloudwatch.IWidget",
12069 "type": {
12070 "primitive": "number"
12071 }
12072 },
12073 {
12074 "docs": {
12075 "stability": "stable",
12076 "summary": "The amount of horizontal grid units the widget will take up."
12077 },
12078 "immutable": true,
12079 "locationInModule": {
12080 "filename": "lib/layout.ts",
12081 "line": 123
12082 },
12083 "name": "width",
12084 "overrides": "@aws-cdk/aws-cloudwatch.IWidget",
12085 "type": {
12086 "primitive": "number"
12087 }
12088 }
12089 ],
12090 "symbolId": "lib/layout:Spacer"
12091 },
12092 "@aws-cdk/aws-cloudwatch.SpacerProps": {
12093 "assembly": "@aws-cdk/aws-cloudwatch",
12094 "datatype": true,
12095 "docs": {
12096 "stability": "stable",
12097 "summary": "Props of the spacer.",
12098 "example": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as cloudwatch from '@aws-cdk/aws-cloudwatch';\nconst spacerProps: cloudwatch.SpacerProps = {\n height: 123,\n width: 123,\n};",
12099 "custom": {
12100 "exampleMetadata": "fixture=_generated"
12101 }
12102 },
12103 "fqn": "@aws-cdk/aws-cloudwatch.SpacerProps",
12104 "kind": "interface",
12105 "locationInModule": {
12106 "filename": "lib/layout.ts",
12107 "line": 103
12108 },
12109 "name": "SpacerProps",
12110 "properties": [
12111 {
12112 "abstract": true,
12113 "docs": {
12114 "default": ": 1",
12115 "stability": "stable",
12116 "summary": "Height of the spacer."
12117 },
12118 "immutable": true,
12119 "locationInModule": {
12120 "filename": "lib/layout.ts",
12121 "line": 116
12122 },
12123 "name": "height",
12124 "optional": true,
12125 "type": {
12126 "primitive": "number"
12127 }
12128 },
12129 {
12130 "abstract": true,
12131 "docs": {
12132 "default": "1",
12133 "stability": "stable",
12134 "summary": "Width of the spacer."
12135 },
12136 "immutable": true,
12137 "locationInModule": {
12138 "filename": "lib/layout.ts",
12139 "line": 109
12140 },
12141 "name": "width",
12142 "optional": true,
12143 "type": {
12144 "primitive": "number"
12145 }
12146 }
12147 ],
12148 "symbolId": "lib/layout:SpacerProps"
12149 },
12150 "@aws-cdk/aws-cloudwatch.Statistic": {
12151 "assembly": "@aws-cdk/aws-cloudwatch",
12152 "docs": {
12153 "stability": "stable",
12154 "summary": "Statistic to use over the aggregation period.",
12155 "example": "import * as cloudwatch from '@aws-cdk/aws-cloudwatch';\ndeclare const deliveryStream: firehose.DeliveryStream;\n\n// Alarm that triggers when the per-second average of incoming bytes exceeds 90% of the current service limit\nconst incomingBytesPercentOfLimit = new cloudwatch.MathExpression({\n expression: 'incomingBytes / 300 / bytePerSecLimit',\n usingMetrics: {\n incomingBytes: deliveryStream.metricIncomingBytes({ statistic: cloudwatch.Statistic.SUM }),\n bytePerSecLimit: deliveryStream.metric('BytesPerSecondLimit'),\n },\n});\n\nnew cloudwatch.Alarm(this, 'Alarm', {\n metric: incomingBytesPercentOfLimit,\n threshold: 0.9,\n evaluationPeriods: 3,\n});",
12156 "custom": {
12157 "exampleMetadata": "infused"
12158 }
12159 },
12160 "fqn": "@aws-cdk/aws-cloudwatch.Statistic",
12161 "kind": "enum",
12162 "locationInModule": {
12163 "filename": "lib/metric-types.ts",
12164 "line": 57
12165 },
12166 "members": [
12167 {
12168 "docs": {
12169 "stability": "stable",
12170 "summary": "The count (number) of data points used for the statistical calculation."
12171 },
12172 "name": "SAMPLE_COUNT"
12173 },
12174 {
12175 "docs": {
12176 "stability": "stable",
12177 "summary": "The value of Sum / SampleCount during the specified period."
12178 },
12179 "name": "AVERAGE"
12180 },
12181 {
12182 "docs": {
12183 "remarks": "This statistic can be useful for determining the total volume of a metric.",
12184 "stability": "stable",
12185 "summary": "All values submitted for the matching metric added together."
12186 },
12187 "name": "SUM"
12188 },
12189 {
12190 "docs": {
12191 "remarks": "You can use this value to determine low volumes of activity for your application.",
12192 "stability": "stable",
12193 "summary": "The lowest value observed during the specified period."
12194 },
12195 "name": "MINIMUM"
12196 },
12197 {
12198 "docs": {
12199 "remarks": "You can use this value to determine high volumes of activity for your application.",
12200 "stability": "stable",
12201 "summary": "The highest value observed during the specified period."
12202 },
12203 "name": "MAXIMUM"
12204 }
12205 ],
12206 "name": "Statistic",
12207 "symbolId": "lib/metric-types:Statistic"
12208 },
12209 "@aws-cdk/aws-cloudwatch.TextWidget": {
12210 "assembly": "@aws-cdk/aws-cloudwatch",
12211 "base": "@aws-cdk/aws-cloudwatch.ConcreteWidget",
12212 "docs": {
12213 "stability": "stable",
12214 "summary": "A dashboard widget that displays MarkDown.",
12215 "example": "declare const dashboard: cloudwatch.Dashboard;\n\ndashboard.addWidgets(new cloudwatch.TextWidget({\n markdown: '# Key Performance Indicators'\n}));",
12216 "custom": {
12217 "exampleMetadata": "infused"
12218 }
12219 },
12220 "fqn": "@aws-cdk/aws-cloudwatch.TextWidget",
12221 "initializer": {
12222 "docs": {
12223 "stability": "stable"
12224 },
12225 "locationInModule": {
12226 "filename": "lib/text.ts",
12227 "line": 33
12228 },
12229 "parameters": [
12230 {
12231 "name": "props",
12232 "type": {
12233 "fqn": "@aws-cdk/aws-cloudwatch.TextWidgetProps"
12234 }
12235 }
12236 ]
12237 },
12238 "kind": "class",
12239 "locationInModule": {
12240 "filename": "lib/text.ts",
12241 "line": 30
12242 },
12243 "methods": [
12244 {
12245 "docs": {
12246 "stability": "stable",
12247 "summary": "Place the widget at a given position."
12248 },
12249 "locationInModule": {
12250 "filename": "lib/text.ts",
12251 "line": 38
12252 },
12253 "name": "position",
12254 "overrides": "@aws-cdk/aws-cloudwatch.ConcreteWidget",
12255 "parameters": [
12256 {
12257 "name": "x",
12258 "type": {
12259 "primitive": "number"
12260 }
12261 },
12262 {
12263 "name": "y",
12264 "type": {
12265 "primitive": "number"
12266 }
12267 }
12268 ]
12269 },
12270 {
12271 "docs": {
12272 "stability": "stable",
12273 "summary": "Return the widget JSON for use in the dashboard."
12274 },
12275 "locationInModule": {
12276 "filename": "lib/text.ts",
12277 "line": 43
12278 },
12279 "name": "toJson",
12280 "overrides": "@aws-cdk/aws-cloudwatch.ConcreteWidget",
12281 "returns": {
12282 "type": {
12283 "collection": {
12284 "elementtype": {
12285 "primitive": "any"
12286 },
12287 "kind": "array"
12288 }
12289 }
12290 }
12291 }
12292 ],
12293 "name": "TextWidget",
12294 "symbolId": "lib/text:TextWidget"
12295 },
12296 "@aws-cdk/aws-cloudwatch.TextWidgetProps": {
12297 "assembly": "@aws-cdk/aws-cloudwatch",
12298 "datatype": true,
12299 "docs": {
12300 "stability": "stable",
12301 "summary": "Properties for a Text widget.",
12302 "example": "declare const dashboard: cloudwatch.Dashboard;\n\ndashboard.addWidgets(new cloudwatch.TextWidget({\n markdown: '# Key Performance Indicators'\n}));",
12303 "custom": {
12304 "exampleMetadata": "infused"
12305 }
12306 },
12307 "fqn": "@aws-cdk/aws-cloudwatch.TextWidgetProps",
12308 "kind": "interface",
12309 "locationInModule": {
12310 "filename": "lib/text.ts",
12311 "line": 6
12312 },
12313 "name": "TextWidgetProps",
12314 "properties": [
12315 {
12316 "abstract": true,
12317 "docs": {
12318 "stability": "stable",
12319 "summary": "The text to display, in MarkDown format."
12320 },
12321 "immutable": true,
12322 "locationInModule": {
12323 "filename": "lib/text.ts",
12324 "line": 10
12325 },
12326 "name": "markdown",
12327 "type": {
12328 "primitive": "string"
12329 }
12330 },
12331 {
12332 "abstract": true,
12333 "docs": {
12334 "default": "2",
12335 "stability": "stable",
12336 "summary": "Height of the widget."
12337 },
12338 "immutable": true,
12339 "locationInModule": {
12340 "filename": "lib/text.ts",
12341 "line": 24
12342 },
12343 "name": "height",
12344 "optional": true,
12345 "type": {
12346 "primitive": "number"
12347 }
12348 },
12349 {
12350 "abstract": true,
12351 "docs": {
12352 "default": "6",
12353 "stability": "stable",
12354 "summary": "Width of the widget, in a grid of 24 units wide."
12355 },
12356 "immutable": true,
12357 "locationInModule": {
12358 "filename": "lib/text.ts",
12359 "line": 17
12360 },
12361 "name": "width",
12362 "optional": true,
12363 "type": {
12364 "primitive": "number"
12365 }
12366 }
12367 ],
12368 "symbolId": "lib/text:TextWidgetProps"
12369 },
12370 "@aws-cdk/aws-cloudwatch.TreatMissingData": {
12371 "assembly": "@aws-cdk/aws-cloudwatch",
12372 "docs": {
12373 "stability": "stable",
12374 "summary": "Specify how missing data points are treated during alarm evaluation.",
12375 "example": "import * as cdk from '@aws-cdk/core';\nimport * as cloudwatch from '@aws-cdk/aws-cloudwatch';\n\nconst fn = new lambda.Function(this, 'MyFunction', {\n runtime: lambda.Runtime.NODEJS_16_X,\n handler: 'index.handler',\n code: lambda.Code.fromAsset(path.join(__dirname, 'lambda-handler')),\n timeout: cdk.Duration.minutes(5),\n});\n\nif (fn.timeout) {\n new cloudwatch.Alarm(this, `MyAlarm`, {\n metric: fn.metricDuration().with({\n statistic: 'Maximum',\n }),\n evaluationPeriods: 1,\n datapointsToAlarm: 1,\n threshold: fn.timeout.toMilliseconds(),\n treatMissingData: cloudwatch.TreatMissingData.IGNORE,\n alarmName: 'My Lambda Timeout',\n });\n}",
12376 "custom": {
12377 "exampleMetadata": "infused"
12378 }
12379 },
12380 "fqn": "@aws-cdk/aws-cloudwatch.TreatMissingData",
12381 "kind": "enum",
12382 "locationInModule": {
12383 "filename": "lib/alarm.ts",
12384 "line": 80
12385 },
12386 "members": [
12387 {
12388 "docs": {
12389 "stability": "stable",
12390 "summary": "Missing data points are treated as breaching the threshold."
12391 },
12392 "name": "BREACHING"
12393 },
12394 {
12395 "docs": {
12396 "stability": "stable",
12397 "summary": "Missing data points are treated as being within the threshold."
12398 },
12399 "name": "NOT_BREACHING"
12400 },
12401 {
12402 "docs": {
12403 "stability": "stable",
12404 "summary": "The current alarm state is maintained."
12405 },
12406 "name": "IGNORE"
12407 },
12408 {
12409 "docs": {
12410 "stability": "stable",
12411 "summary": "The alarm does not consider missing data points when evaluating whether to change state."
12412 },
12413 "name": "MISSING"
12414 }
12415 ],
12416 "name": "TreatMissingData",
12417 "symbolId": "lib/alarm:TreatMissingData"
12418 },
12419 "@aws-cdk/aws-cloudwatch.Unit": {
12420 "assembly": "@aws-cdk/aws-cloudwatch",
12421 "docs": {
12422 "stability": "stable",
12423 "summary": "Unit for metric."
12424 },
12425 "fqn": "@aws-cdk/aws-cloudwatch.Unit",
12426 "kind": "enum",
12427 "locationInModule": {
12428 "filename": "lib/metric-types.ts",
12429 "line": 87
12430 },
12431 "members": [
12432 {
12433 "docs": {
12434 "stability": "stable",
12435 "summary": "Seconds."
12436 },
12437 "name": "SECONDS"
12438 },
12439 {
12440 "docs": {
12441 "stability": "stable",
12442 "summary": "Microseconds."
12443 },
12444 "name": "MICROSECONDS"
12445 },
12446 {
12447 "docs": {
12448 "stability": "stable",
12449 "summary": "Milliseconds."
12450 },
12451 "name": "MILLISECONDS"
12452 },
12453 {
12454 "docs": {
12455 "stability": "stable",
12456 "summary": "Bytes."
12457 },
12458 "name": "BYTES"
12459 },
12460 {
12461 "docs": {
12462 "stability": "stable",
12463 "summary": "Kilobytes."
12464 },
12465 "name": "KILOBYTES"
12466 },
12467 {
12468 "docs": {
12469 "stability": "stable",
12470 "summary": "Megabytes."
12471 },
12472 "name": "MEGABYTES"
12473 },
12474 {
12475 "docs": {
12476 "stability": "stable",
12477 "summary": "Gigabytes."
12478 },
12479 "name": "GIGABYTES"
12480 },
12481 {
12482 "docs": {
12483 "stability": "stable",
12484 "summary": "Terabytes."
12485 },
12486 "name": "TERABYTES"
12487 },
12488 {
12489 "docs": {
12490 "stability": "stable",
12491 "summary": "Bits."
12492 },
12493 "name": "BITS"
12494 },
12495 {
12496 "docs": {
12497 "stability": "stable",
12498 "summary": "Kilobits."
12499 },
12500 "name": "KILOBITS"
12501 },
12502 {
12503 "docs": {
12504 "stability": "stable",
12505 "summary": "Megabits."
12506 },
12507 "name": "MEGABITS"
12508 },
12509 {
12510 "docs": {
12511 "stability": "stable",
12512 "summary": "Gigabits."
12513 },
12514 "name": "GIGABITS"
12515 },
12516 {
12517 "docs": {
12518 "stability": "stable",
12519 "summary": "Terabits."
12520 },
12521 "name": "TERABITS"
12522 },
12523 {
12524 "docs": {
12525 "stability": "stable",
12526 "summary": "Percent."
12527 },
12528 "name": "PERCENT"
12529 },
12530 {
12531 "docs": {
12532 "stability": "stable",
12533 "summary": "Count."
12534 },
12535 "name": "COUNT"
12536 },
12537 {
12538 "docs": {
12539 "stability": "stable",
12540 "summary": "Bytes/second (B/s)."
12541 },
12542 "name": "BYTES_PER_SECOND"
12543 },
12544 {
12545 "docs": {
12546 "stability": "stable",
12547 "summary": "Kilobytes/second (kB/s)."
12548 },
12549 "name": "KILOBYTES_PER_SECOND"
12550 },
12551 {
12552 "docs": {
12553 "stability": "stable",
12554 "summary": "Megabytes/second (MB/s)."
12555 },
12556 "name": "MEGABYTES_PER_SECOND"
12557 },
12558 {
12559 "docs": {
12560 "stability": "stable",
12561 "summary": "Gigabytes/second (GB/s)."
12562 },
12563 "name": "GIGABYTES_PER_SECOND"
12564 },
12565 {
12566 "docs": {
12567 "stability": "stable",
12568 "summary": "Terabytes/second (TB/s)."
12569 },
12570 "name": "TERABYTES_PER_SECOND"
12571 },
12572 {
12573 "docs": {
12574 "stability": "stable",
12575 "summary": "Bits/second (b/s)."
12576 },
12577 "name": "BITS_PER_SECOND"
12578 },
12579 {
12580 "docs": {
12581 "stability": "stable",
12582 "summary": "Kilobits/second (kb/s)."
12583 },
12584 "name": "KILOBITS_PER_SECOND"
12585 },
12586 {
12587 "docs": {
12588 "stability": "stable",
12589 "summary": "Megabits/second (Mb/s)."
12590 },
12591 "name": "MEGABITS_PER_SECOND"
12592 },
12593 {
12594 "docs": {
12595 "stability": "stable",
12596 "summary": "Gigabits/second (Gb/s)."
12597 },
12598 "name": "GIGABITS_PER_SECOND"
12599 },
12600 {
12601 "docs": {
12602 "stability": "stable",
12603 "summary": "Terabits/second (Tb/s)."
12604 },
12605 "name": "TERABITS_PER_SECOND"
12606 },
12607 {
12608 "docs": {
12609 "stability": "stable",
12610 "summary": "Count/second."
12611 },
12612 "name": "COUNT_PER_SECOND"
12613 },
12614 {
12615 "docs": {
12616 "stability": "stable",
12617 "summary": "None."
12618 },
12619 "name": "NONE"
12620 }
12621 ],
12622 "name": "Unit",
12623 "symbolId": "lib/metric-types:Unit"
12624 },
12625 "@aws-cdk/aws-cloudwatch.YAxisProps": {
12626 "assembly": "@aws-cdk/aws-cloudwatch",
12627 "datatype": true,
12628 "docs": {
12629 "stability": "stable",
12630 "summary": "Properties for a Y-Axis.",
12631 "example": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as cloudwatch from '@aws-cdk/aws-cloudwatch';\nconst yAxisProps: cloudwatch.YAxisProps = {\n label: 'label',\n max: 123,\n min: 123,\n showUnits: false,\n};",
12632 "custom": {
12633 "exampleMetadata": "fixture=_generated"
12634 }
12635 },
12636 "fqn": "@aws-cdk/aws-cloudwatch.YAxisProps",
12637 "kind": "interface",
12638 "locationInModule": {
12639 "filename": "lib/graph.ts",
12640 "line": 44
12641 },
12642 "name": "YAxisProps",
12643 "properties": [
12644 {
12645 "abstract": true,
12646 "docs": {
12647 "default": "- No label",
12648 "stability": "stable",
12649 "summary": "The label."
12650 },
12651 "immutable": true,
12652 "locationInModule": {
12653 "filename": "lib/graph.ts",
12654 "line": 64
12655 },
12656 "name": "label",
12657 "optional": true,
12658 "type": {
12659 "primitive": "string"
12660 }
12661 },
12662 {
12663 "abstract": true,
12664 "docs": {
12665 "default": "- No maximum value",
12666 "stability": "stable",
12667 "summary": "The max value."
12668 },
12669 "immutable": true,
12670 "locationInModule": {
12671 "filename": "lib/graph.ts",
12672 "line": 57
12673 },
12674 "name": "max",
12675 "optional": true,
12676 "type": {
12677 "primitive": "number"
12678 }
12679 },
12680 {
12681 "abstract": true,
12682 "docs": {
12683 "default": "0",
12684 "stability": "stable",
12685 "summary": "The min value."
12686 },
12687 "immutable": true,
12688 "locationInModule": {
12689 "filename": "lib/graph.ts",
12690 "line": 50
12691 },
12692 "name": "min",
12693 "optional": true,
12694 "type": {
12695 "primitive": "number"
12696 }
12697 },
12698 {
12699 "abstract": true,
12700 "docs": {
12701 "default": "true",
12702 "stability": "stable",
12703 "summary": "Whether to show units."
12704 },
12705 "immutable": true,
12706 "locationInModule": {
12707 "filename": "lib/graph.ts",
12708 "line": 71
12709 },
12710 "name": "showUnits",
12711 "optional": true,
12712 "type": {
12713 "primitive": "boolean"
12714 }
12715 }
12716 ],
12717 "symbolId": "lib/graph:YAxisProps"
12718 }
12719 },
12720 "version": "1.203.0",
12721 "fingerprint": "**********"
12722}
\No newline at end of file