@rio-cloud/cdk-v2-constructs 6.7.2 → 6.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.jsii +172 -81
- package/CHANGELOG.md +7 -0
- package/docs/API.md +159 -43
- package/lib/contributions/team-transport-two/pipeline/pipeline-stack.d.ts +12 -12
- package/lib/contributions/team-transport-two/pipeline/pipeline-stack.js +1 -1
- package/lib/datadog/datadog-monitor.d.ts +2 -2
- package/lib/datadog/datadog-monitor.js +1 -1
- package/lib/datadogv2/datadog-dashboard.d.ts +1 -1
- package/lib/datadogv2/datadog-dashboard.js +1 -1
- package/lib/datadogv2/datadog-monitor.js +1 -2
- package/lib/datadogv2/datadog-notification.d.ts +4 -4
- package/lib/datadogv2/datadog-notification.js +3 -3
- package/lib/fargate/rio-fargate-service.d.ts +6 -6
- package/lib/fargate/rio-fargate-service.js +1 -1
- package/lib/kafka/kafka-event-spec.d.ts +2 -2
- package/lib/kafka/kafka-event-spec.js +3 -3
- package/lib/kafka/kafka-topic.js +1 -1
- package/lib/kafka/rio-kafka-event-source.d.ts +4 -1
- package/lib/kafka/rio-kafka-event-source.js +1 -1
- package/lib/toggle.d.ts +7 -7
- package/lib/toggle.js +9 -12
- package/lib/watchful/ecs.d.ts +7 -0
- package/lib/watchful/ecs.js +21 -1
- package/lib/watchful/monitor-type.d.ts +5 -1
- package/lib/watchful/monitor-type.js +5 -1
- package/lib/watchful/watchful.d.ts +19 -3
- package/lib/watchful/watchful.js +15 -3
- package/lib/watchfulv2/watchful.d.ts +7 -3
- package/lib/watchfulv2/watchful.js +7 -3
- package/package.json +1 -1
- package/version.json +1 -1
package/docs/API.md
CHANGED
|
@@ -154,6 +154,8 @@ An application load balancer that should be watched [disable-awslint:ref-via-int
|
|
|
154
154
|
|
|
155
155
|
- *Type:* <a href="#@rio-cloud/cdk-v2-constructs.WatchApplicationLoadBalancerOptions">WatchApplicationLoadBalancerOptions</a>
|
|
156
156
|
|
|
157
|
+
Additional options for the watch see {@link WatchApplicationLoadBalancerOptions}.
|
|
158
|
+
|
|
157
159
|
---
|
|
158
160
|
|
|
159
161
|
##### `watchApplicationTargetGroup` <a name="watchApplicationTargetGroup" id="@rio-cloud/cdk-v2-constructs.AbstractWatchful.watchApplicationTargetGroup"></a>
|
|
@@ -176,6 +178,8 @@ An application target group that should be watched [disable-awslint:ref-via-inte
|
|
|
176
178
|
|
|
177
179
|
- *Type:* <a href="#@rio-cloud/cdk-v2-constructs.WatchApplicationTargetGroupOptions">WatchApplicationTargetGroupOptions</a>
|
|
178
180
|
|
|
181
|
+
Additional options for the watch see {@link WatchApplicationTargetGroupOptions}.
|
|
182
|
+
|
|
179
183
|
---
|
|
180
184
|
|
|
181
185
|
##### `watchCloudfrontDistribution` <a name="watchCloudfrontDistribution" id="@rio-cloud/cdk-v2-constructs.AbstractWatchful.watchCloudfrontDistribution"></a>
|
|
@@ -198,6 +202,8 @@ A Cloudfront Distribution that should be watched [disable-awslint:ref-via-interf
|
|
|
198
202
|
|
|
199
203
|
- *Type:* <a href="#@rio-cloud/cdk-v2-constructs.WatchCloudfrontDistributionOptions">WatchCloudfrontDistributionOptions</a>
|
|
200
204
|
|
|
205
|
+
Additional options for the watch see {@link WatchCloudfrontDistributionOptions}.
|
|
206
|
+
|
|
201
207
|
---
|
|
202
208
|
|
|
203
209
|
##### `watchDatabaseCluster` <a name="watchDatabaseCluster" id="@rio-cloud/cdk-v2-constructs.AbstractWatchful.watchDatabaseCluster"></a>
|
|
@@ -220,6 +226,8 @@ An database cluster that should be watched [disable-awslint:ref-via-interface].
|
|
|
220
226
|
|
|
221
227
|
- *Type:* <a href="#@rio-cloud/cdk-v2-constructs.WatchDatabaseClusterOptions">WatchDatabaseClusterOptions</a>
|
|
222
228
|
|
|
229
|
+
Additional options for the watch see {@link WatchDatabaseClusterOptions}.
|
|
230
|
+
|
|
223
231
|
---
|
|
224
232
|
|
|
225
233
|
##### `watchDocDb` <a name="watchDocDb" id="@rio-cloud/cdk-v2-constructs.AbstractWatchful.watchDocDb"></a>
|
|
@@ -242,6 +250,8 @@ An DocDb cluster that should be watched [disable-awslint:ref-via-interface].
|
|
|
242
250
|
|
|
243
251
|
- *Type:* <a href="#@rio-cloud/cdk-v2-constructs.WatchDocDbClusterOptions">WatchDocDbClusterOptions</a>
|
|
244
252
|
|
|
253
|
+
Additional options for the watch see {@link WatchDocDbClusterOptions}.
|
|
254
|
+
|
|
245
255
|
---
|
|
246
256
|
|
|
247
257
|
##### `watchDynamoDbTable` <a name="watchDynamoDbTable" id="@rio-cloud/cdk-v2-constructs.AbstractWatchful.watchDynamoDbTable"></a>
|
|
@@ -264,6 +274,8 @@ An database cluster that should be watched [disable-awslint:ref-via-interface].
|
|
|
264
274
|
|
|
265
275
|
- *Type:* <a href="#@rio-cloud/cdk-v2-constructs.WatchDynamoDbTableOptions">WatchDynamoDbTableOptions</a>
|
|
266
276
|
|
|
277
|
+
Additional options for the watch see {@link WatchDynamoDbTableOptions}.
|
|
278
|
+
|
|
267
279
|
---
|
|
268
280
|
|
|
269
281
|
##### `watchEcsService` <a name="watchEcsService" id="@rio-cloud/cdk-v2-constructs.AbstractWatchful.watchEcsService"></a>
|
|
@@ -286,6 +298,8 @@ An ECS service that should be watched [disable-awslint:ref-via-interface].
|
|
|
286
298
|
|
|
287
299
|
- *Type:* <a href="#@rio-cloud/cdk-v2-constructs.WatchEcsServiceOptions">WatchEcsServiceOptions</a>
|
|
288
300
|
|
|
301
|
+
Additional options for the watch see {@link WatchEcsServiceOptions}.
|
|
302
|
+
|
|
289
303
|
---
|
|
290
304
|
|
|
291
305
|
##### `watchLambdaFunction` <a name="watchLambdaFunction" id="@rio-cloud/cdk-v2-constructs.AbstractWatchful.watchLambdaFunction"></a>
|
|
@@ -308,6 +322,8 @@ A lambda function that should be watched [disable-awslint:ref-via-interface].
|
|
|
308
322
|
|
|
309
323
|
- *Type:* <a href="#@rio-cloud/cdk-v2-constructs.WatchLambdaFunctionOptions">WatchLambdaFunctionOptions</a>
|
|
310
324
|
|
|
325
|
+
Additional options for the watch see {@link WatchLambdaFunctionOptions}.
|
|
326
|
+
|
|
311
327
|
---
|
|
312
328
|
|
|
313
329
|
#### Static Functions <a name="Static Functions" id="Static Functions"></a>
|
|
@@ -6398,19 +6414,23 @@ Adds the alarmTopic as alarm action to the given alarm.
|
|
|
6398
6414
|
|
|
6399
6415
|
- *Type:* constructs.Construct
|
|
6400
6416
|
|
|
6417
|
+
The construct to add the alarm to.
|
|
6418
|
+
|
|
6401
6419
|
---
|
|
6402
6420
|
|
|
6403
6421
|
###### `id`<sup>Required</sup> <a name="id" id="@rio-cloud/cdk-v2-constructs.Watchful.createAlarm.parameter.id"></a>
|
|
6404
6422
|
|
|
6405
6423
|
- *Type:* <a href="#@rio-cloud/cdk-v2-constructs.MonitorType">MonitorType</a>
|
|
6406
6424
|
|
|
6425
|
+
The id of the alarm.
|
|
6426
|
+
|
|
6407
6427
|
---
|
|
6408
6428
|
|
|
6409
6429
|
###### `alarm`<sup>Required</sup> <a name="alarm" id="@rio-cloud/cdk-v2-constructs.Watchful.createAlarm.parameter.alarm"></a>
|
|
6410
6430
|
|
|
6411
6431
|
- *Type:* <a href="#@rio-cloud/cdk-v2-constructs.MetricAlarmProps">MetricAlarmProps</a>
|
|
6412
6432
|
|
|
6413
|
-
|
|
6433
|
+
Additional options for the watch see {@link MetricAlarmProps}.
|
|
6414
6434
|
|
|
6415
6435
|
---
|
|
6416
6436
|
|
|
@@ -6426,18 +6446,24 @@ Adds an alert for error logs.
|
|
|
6426
6446
|
|
|
6427
6447
|
- *Type:* constructs.Construct
|
|
6428
6448
|
|
|
6449
|
+
The construct to add the alarm to.
|
|
6450
|
+
|
|
6429
6451
|
---
|
|
6430
6452
|
|
|
6431
6453
|
###### `id`<sup>Required</sup> <a name="id" id="@rio-cloud/cdk-v2-constructs.Watchful.createLogAlarm.parameter.id"></a>
|
|
6432
6454
|
|
|
6433
6455
|
- *Type:* <a href="#@rio-cloud/cdk-v2-constructs.MonitorType">MonitorType</a>
|
|
6434
6456
|
|
|
6457
|
+
The id of the alarm.
|
|
6458
|
+
|
|
6435
6459
|
---
|
|
6436
6460
|
|
|
6437
6461
|
###### `alarm`<sup>Required</sup> <a name="alarm" id="@rio-cloud/cdk-v2-constructs.Watchful.createLogAlarm.parameter.alarm"></a>
|
|
6438
6462
|
|
|
6439
6463
|
- *Type:* <a href="#@rio-cloud/cdk-v2-constructs.LogAlarmProps">LogAlarmProps</a>
|
|
6440
6464
|
|
|
6465
|
+
The alarm properties see {@link LogAlarmProps}.
|
|
6466
|
+
|
|
6441
6467
|
---
|
|
6442
6468
|
|
|
6443
6469
|
##### ~~`overrideAlarmThreshold`~~ <a name="overrideAlarmThreshold" id="@rio-cloud/cdk-v2-constructs.Watchful.overrideAlarmThreshold"></a>
|
|
@@ -6474,6 +6500,8 @@ An application load balancer that should be watched [disable-awslint:ref-via-int
|
|
|
6474
6500
|
|
|
6475
6501
|
- *Type:* <a href="#@rio-cloud/cdk-v2-constructs.WatchApplicationLoadBalancerOptions">WatchApplicationLoadBalancerOptions</a>
|
|
6476
6502
|
|
|
6503
|
+
Additional options for the watch see {@link WatchApplicationLoadBalancerOptions}.
|
|
6504
|
+
|
|
6477
6505
|
---
|
|
6478
6506
|
|
|
6479
6507
|
##### ~~`watchApplicationTargetGroup`~~ <a name="watchApplicationTargetGroup" id="@rio-cloud/cdk-v2-constructs.Watchful.watchApplicationTargetGroup"></a>
|
|
@@ -6496,6 +6524,8 @@ An application target group that should be watched [disable-awslint:ref-via-inte
|
|
|
6496
6524
|
|
|
6497
6525
|
- *Type:* <a href="#@rio-cloud/cdk-v2-constructs.WatchApplicationTargetGroupOptions">WatchApplicationTargetGroupOptions</a>
|
|
6498
6526
|
|
|
6527
|
+
Additional options for the watch see {@link WatchApplicationTargetGroupOptions}.
|
|
6528
|
+
|
|
6499
6529
|
---
|
|
6500
6530
|
|
|
6501
6531
|
##### ~~`watchCloudfrontDistribution`~~ <a name="watchCloudfrontDistribution" id="@rio-cloud/cdk-v2-constructs.Watchful.watchCloudfrontDistribution"></a>
|
|
@@ -6518,6 +6548,8 @@ A Cloudfront Distribution that should be watched [disable-awslint:ref-via-interf
|
|
|
6518
6548
|
|
|
6519
6549
|
- *Type:* <a href="#@rio-cloud/cdk-v2-constructs.WatchCloudfrontDistributionOptions">WatchCloudfrontDistributionOptions</a>
|
|
6520
6550
|
|
|
6551
|
+
Additional options for the watch see {@link WatchCloudfrontDistributionOptions}.
|
|
6552
|
+
|
|
6521
6553
|
---
|
|
6522
6554
|
|
|
6523
6555
|
##### ~~`watchDatabaseCluster`~~ <a name="watchDatabaseCluster" id="@rio-cloud/cdk-v2-constructs.Watchful.watchDatabaseCluster"></a>
|
|
@@ -6540,6 +6572,8 @@ An database cluster that should be watched [disable-awslint:ref-via-interface].
|
|
|
6540
6572
|
|
|
6541
6573
|
- *Type:* <a href="#@rio-cloud/cdk-v2-constructs.WatchDatabaseClusterOptions">WatchDatabaseClusterOptions</a>
|
|
6542
6574
|
|
|
6575
|
+
Additional options for the watch see {@link WatchDatabaseClusterOptions}.
|
|
6576
|
+
|
|
6543
6577
|
---
|
|
6544
6578
|
|
|
6545
6579
|
##### ~~`watchDocDb`~~ <a name="watchDocDb" id="@rio-cloud/cdk-v2-constructs.Watchful.watchDocDb"></a>
|
|
@@ -6562,6 +6596,8 @@ An DocDb cluster that should be watched [disable-awslint:ref-via-interface].
|
|
|
6562
6596
|
|
|
6563
6597
|
- *Type:* <a href="#@rio-cloud/cdk-v2-constructs.WatchDocDbClusterOptions">WatchDocDbClusterOptions</a>
|
|
6564
6598
|
|
|
6599
|
+
Additional options for the watch see {@link WatchDocDbClusterOptions}.
|
|
6600
|
+
|
|
6565
6601
|
---
|
|
6566
6602
|
|
|
6567
6603
|
##### ~~`watchDynamoDbTable`~~ <a name="watchDynamoDbTable" id="@rio-cloud/cdk-v2-constructs.Watchful.watchDynamoDbTable"></a>
|
|
@@ -6584,6 +6620,8 @@ An database cluster that should be watched [disable-awslint:ref-via-interface].
|
|
|
6584
6620
|
|
|
6585
6621
|
- *Type:* <a href="#@rio-cloud/cdk-v2-constructs.WatchDynamoDbTableOptions">WatchDynamoDbTableOptions</a>
|
|
6586
6622
|
|
|
6623
|
+
Additional options for the watch see {@link WatchDynamoDbTableOptions}.
|
|
6624
|
+
|
|
6587
6625
|
---
|
|
6588
6626
|
|
|
6589
6627
|
##### ~~`watchEcsService`~~ <a name="watchEcsService" id="@rio-cloud/cdk-v2-constructs.Watchful.watchEcsService"></a>
|
|
@@ -6606,6 +6644,8 @@ An ECS service that should be watched [disable-awslint:ref-via-interface].
|
|
|
6606
6644
|
|
|
6607
6645
|
- *Type:* <a href="#@rio-cloud/cdk-v2-constructs.WatchEcsServiceOptions">WatchEcsServiceOptions</a>
|
|
6608
6646
|
|
|
6647
|
+
Additional options for the watch see {@link WatchEcsServiceOptions}.
|
|
6648
|
+
|
|
6609
6649
|
---
|
|
6610
6650
|
|
|
6611
6651
|
##### ~~`watchLambdaFunction`~~ <a name="watchLambdaFunction" id="@rio-cloud/cdk-v2-constructs.Watchful.watchLambdaFunction"></a>
|
|
@@ -6628,6 +6668,8 @@ A lambda function that should be watched [disable-awslint:ref-via-interface].
|
|
|
6628
6668
|
|
|
6629
6669
|
- *Type:* <a href="#@rio-cloud/cdk-v2-constructs.WatchLambdaFunctionOptions">WatchLambdaFunctionOptions</a>
|
|
6630
6670
|
|
|
6671
|
+
Additional options for the watch see {@link WatchLambdaFunctionOptions}.
|
|
6672
|
+
|
|
6631
6673
|
---
|
|
6632
6674
|
|
|
6633
6675
|
##### ~~`watchScope`~~ <a name="watchScope" id="@rio-cloud/cdk-v2-constructs.Watchful.watchScope"></a>
|
|
@@ -6794,12 +6836,16 @@ Adds the alarmTopic as alarm action to the given alarm.
|
|
|
6794
6836
|
|
|
6795
6837
|
- *Type:* constructs.Construct
|
|
6796
6838
|
|
|
6839
|
+
The construct to add the alarm to.
|
|
6840
|
+
|
|
6797
6841
|
---
|
|
6798
6842
|
|
|
6799
6843
|
###### `id`<sup>Required</sup> <a name="id" id="@rio-cloud/cdk-v2-constructs.watchfulv2.Watchful.createAlarm.parameter.id"></a>
|
|
6800
6844
|
|
|
6801
6845
|
- *Type:* <a href="#@rio-cloud/cdk-v2-constructs.MonitorType">MonitorType</a>
|
|
6802
6846
|
|
|
6847
|
+
The id of the alarm.
|
|
6848
|
+
|
|
6803
6849
|
---
|
|
6804
6850
|
|
|
6805
6851
|
###### `alarm`<sup>Required</sup> <a name="alarm" id="@rio-cloud/cdk-v2-constructs.watchfulv2.Watchful.createAlarm.parameter.alarm"></a>
|
|
@@ -6822,18 +6868,24 @@ Adds an alert for error logs.
|
|
|
6822
6868
|
|
|
6823
6869
|
- *Type:* constructs.Construct
|
|
6824
6870
|
|
|
6871
|
+
The construct to add the alarm to.
|
|
6872
|
+
|
|
6825
6873
|
---
|
|
6826
6874
|
|
|
6827
6875
|
###### `id`<sup>Required</sup> <a name="id" id="@rio-cloud/cdk-v2-constructs.watchfulv2.Watchful.createLogAlarm.parameter.id"></a>
|
|
6828
6876
|
|
|
6829
6877
|
- *Type:* <a href="#@rio-cloud/cdk-v2-constructs.MonitorType">MonitorType</a>
|
|
6830
6878
|
|
|
6879
|
+
The id of the alarm.
|
|
6880
|
+
|
|
6831
6881
|
---
|
|
6832
6882
|
|
|
6833
6883
|
###### `alarm`<sup>Required</sup> <a name="alarm" id="@rio-cloud/cdk-v2-constructs.watchfulv2.Watchful.createLogAlarm.parameter.alarm"></a>
|
|
6834
6884
|
|
|
6835
6885
|
- *Type:* <a href="#@rio-cloud/cdk-v2-constructs.LogAlarmProps">LogAlarmProps</a>
|
|
6836
6886
|
|
|
6887
|
+
The alarm properties see {@link LogAlarmProps}.
|
|
6888
|
+
|
|
6837
6889
|
---
|
|
6838
6890
|
|
|
6839
6891
|
##### `overrideAlarmThreshold` <a name="overrideAlarmThreshold" id="@rio-cloud/cdk-v2-constructs.watchfulv2.Watchful.overrideAlarmThreshold"></a>
|
|
@@ -6870,6 +6922,8 @@ An application load balancer that should be watched [disable-awslint:ref-via-int
|
|
|
6870
6922
|
|
|
6871
6923
|
- *Type:* <a href="#@rio-cloud/cdk-v2-constructs.WatchApplicationLoadBalancerOptions">WatchApplicationLoadBalancerOptions</a>
|
|
6872
6924
|
|
|
6925
|
+
Additional options for the watch see {@link WatchApplicationLoadBalancerOptions}.
|
|
6926
|
+
|
|
6873
6927
|
---
|
|
6874
6928
|
|
|
6875
6929
|
##### `watchApplicationTargetGroup` <a name="watchApplicationTargetGroup" id="@rio-cloud/cdk-v2-constructs.watchfulv2.Watchful.watchApplicationTargetGroup"></a>
|
|
@@ -6892,6 +6946,8 @@ An application target group that should be watched [disable-awslint:ref-via-inte
|
|
|
6892
6946
|
|
|
6893
6947
|
- *Type:* <a href="#@rio-cloud/cdk-v2-constructs.WatchApplicationTargetGroupOptions">WatchApplicationTargetGroupOptions</a>
|
|
6894
6948
|
|
|
6949
|
+
Additional options for the watch see {@link WatchApplicationTargetGroupOptions}.
|
|
6950
|
+
|
|
6895
6951
|
---
|
|
6896
6952
|
|
|
6897
6953
|
##### `watchCloudfrontDistribution` <a name="watchCloudfrontDistribution" id="@rio-cloud/cdk-v2-constructs.watchfulv2.Watchful.watchCloudfrontDistribution"></a>
|
|
@@ -6914,6 +6970,8 @@ A Cloudfront Distribution that should be watched [disable-awslint:ref-via-interf
|
|
|
6914
6970
|
|
|
6915
6971
|
- *Type:* <a href="#@rio-cloud/cdk-v2-constructs.WatchCloudfrontDistributionOptions">WatchCloudfrontDistributionOptions</a>
|
|
6916
6972
|
|
|
6973
|
+
Additional options for the watch see {@link WatchCloudfrontDistributionOptions}.
|
|
6974
|
+
|
|
6917
6975
|
---
|
|
6918
6976
|
|
|
6919
6977
|
##### `watchDatabaseCluster` <a name="watchDatabaseCluster" id="@rio-cloud/cdk-v2-constructs.watchfulv2.Watchful.watchDatabaseCluster"></a>
|
|
@@ -6936,6 +6994,8 @@ An database cluster that should be watched [disable-awslint:ref-via-interface].
|
|
|
6936
6994
|
|
|
6937
6995
|
- *Type:* <a href="#@rio-cloud/cdk-v2-constructs.WatchDatabaseClusterOptions">WatchDatabaseClusterOptions</a>
|
|
6938
6996
|
|
|
6997
|
+
Additional options for the watch see {@link WatchDatabaseClusterOptions}.
|
|
6998
|
+
|
|
6939
6999
|
---
|
|
6940
7000
|
|
|
6941
7001
|
##### `watchDocDb` <a name="watchDocDb" id="@rio-cloud/cdk-v2-constructs.watchfulv2.Watchful.watchDocDb"></a>
|
|
@@ -6958,6 +7018,8 @@ An DocDb cluster that should be watched [disable-awslint:ref-via-interface].
|
|
|
6958
7018
|
|
|
6959
7019
|
- *Type:* <a href="#@rio-cloud/cdk-v2-constructs.WatchDocDbClusterOptions">WatchDocDbClusterOptions</a>
|
|
6960
7020
|
|
|
7021
|
+
Additional options for the watch see {@link WatchDocDbClusterOptions}.
|
|
7022
|
+
|
|
6961
7023
|
---
|
|
6962
7024
|
|
|
6963
7025
|
##### `watchDynamoDbTable` <a name="watchDynamoDbTable" id="@rio-cloud/cdk-v2-constructs.watchfulv2.Watchful.watchDynamoDbTable"></a>
|
|
@@ -6980,6 +7042,8 @@ An database cluster that should be watched [disable-awslint:ref-via-interface].
|
|
|
6980
7042
|
|
|
6981
7043
|
- *Type:* <a href="#@rio-cloud/cdk-v2-constructs.WatchDynamoDbTableOptions">WatchDynamoDbTableOptions</a>
|
|
6982
7044
|
|
|
7045
|
+
Additional options for the watch see {@link WatchDynamoDbTableOptions}.
|
|
7046
|
+
|
|
6983
7047
|
---
|
|
6984
7048
|
|
|
6985
7049
|
##### `watchEcsService` <a name="watchEcsService" id="@rio-cloud/cdk-v2-constructs.watchfulv2.Watchful.watchEcsService"></a>
|
|
@@ -7002,6 +7066,8 @@ An ECS service that should be watched [disable-awslint:ref-via-interface].
|
|
|
7002
7066
|
|
|
7003
7067
|
- *Type:* <a href="#@rio-cloud/cdk-v2-constructs.WatchEcsServiceOptions">WatchEcsServiceOptions</a>
|
|
7004
7068
|
|
|
7069
|
+
Additional options for the watch see {@link WatchEcsServiceOptions}.
|
|
7070
|
+
|
|
7005
7071
|
---
|
|
7006
7072
|
|
|
7007
7073
|
##### `watchLambdaFunction` <a name="watchLambdaFunction" id="@rio-cloud/cdk-v2-constructs.watchfulv2.Watchful.watchLambdaFunction"></a>
|
|
@@ -7024,6 +7090,8 @@ A lambda function that should be watched [disable-awslint:ref-via-interface].
|
|
|
7024
7090
|
|
|
7025
7091
|
- *Type:* <a href="#@rio-cloud/cdk-v2-constructs.WatchLambdaFunctionOptions">WatchLambdaFunctionOptions</a>
|
|
7026
7092
|
|
|
7093
|
+
Additional options for the watch see {@link WatchLambdaFunctionOptions}.
|
|
7094
|
+
|
|
7027
7095
|
---
|
|
7028
7096
|
|
|
7029
7097
|
##### `watchScope` <a name="watchScope" id="@rio-cloud/cdk-v2-constructs.watchfulv2.Watchful.watchScope"></a>
|
|
@@ -8158,7 +8226,7 @@ The image used to start a container.
|
|
|
8158
8226
|
|
|
8159
8227
|
This string is passed directly to the Docker daemon.
|
|
8160
8228
|
Images in the Docker Hub registry are available by default.
|
|
8161
|
-
Other repositories are specified with either repository-url/image:tag or repository-url/image
|
|
8229
|
+
Other repositories are specified with either repository-url/image:tag or repository-url/image\@digest.
|
|
8162
8230
|
|
|
8163
8231
|
---
|
|
8164
8232
|
|
|
@@ -8249,7 +8317,7 @@ The image used to start a container.
|
|
|
8249
8317
|
|
|
8250
8318
|
This string is passed directly to the Docker daemon.
|
|
8251
8319
|
Images in the Docker Hub registry are available by default.
|
|
8252
|
-
Other repositories are specified with either repository-url/image:tag or repository-url/image
|
|
8320
|
+
Other repositories are specified with either repository-url/image:tag or repository-url/image\@digest.
|
|
8253
8321
|
|
|
8254
8322
|
---
|
|
8255
8323
|
|
|
@@ -8338,7 +8406,7 @@ The Dashboard definition as exported from Datadog: ```ts import dashboardDefinit
|
|
|
8338
8406
|
new DatadogDashboard(this, 'SampleDashboard', { dashboardDefinition })
|
|
8339
8407
|
```
|
|
8340
8408
|
|
|
8341
|
-
References to {@link
|
|
8409
|
+
References to {@link ./datadog-monitor.ts.#DatadogMonitor}. will not be resolved at the moment.
|
|
8342
8410
|
|
|
8343
8411
|
---
|
|
8344
8412
|
|
|
@@ -8385,11 +8453,11 @@ Defaults are:
|
|
|
8385
8453
|
* env: Set to RioFargateServiceProps#stage prop
|
|
8386
8454
|
* service: Set to RioFargateServiceProps#serviceName prop
|
|
8387
8455
|
* version: Set to RioFargateServiceProps#version prop
|
|
8388
|
-
* account_id
|
|
8389
|
-
* account_name
|
|
8390
|
-
* region
|
|
8391
|
-
* team
|
|
8392
|
-
* team_identifier
|
|
8456
|
+
* account_id:$\{accountID\}
|
|
8457
|
+
* account_name:$\{accountName\}
|
|
8458
|
+
* region:$\{AWSRegion\}
|
|
8459
|
+
* team:$\{teamName from ssm param /config/team/name\}
|
|
8460
|
+
* team_identifier:$\{teamIdentifier from ssm param /config/team/identifier\}
|
|
8393
8461
|
|
|
8394
8462
|
---
|
|
8395
8463
|
|
|
@@ -8534,11 +8602,11 @@ Defaults are:
|
|
|
8534
8602
|
* env: Set to RioFargateServiceProps#stage prop
|
|
8535
8603
|
* service: Set to RioFargateServiceProps#serviceName prop
|
|
8536
8604
|
* version: Set to RioFargateServiceProps#version prop
|
|
8537
|
-
* account_id
|
|
8538
|
-
* account_name
|
|
8539
|
-
* region
|
|
8540
|
-
* team
|
|
8541
|
-
* team_identifier
|
|
8605
|
+
* account_id:$\{accountID\}
|
|
8606
|
+
* account_name:$\{accountName\}
|
|
8607
|
+
* region:$\{AWSRegion\}
|
|
8608
|
+
* team:$\{teamName from ssm param /config/team/name\}
|
|
8609
|
+
* team_identifier:$\{teamIdentifier from ssm param /config/team/identifier\}
|
|
8542
8610
|
|
|
8543
8611
|
---
|
|
8544
8612
|
|
|
@@ -9865,7 +9933,7 @@ const datadogMonitorProps: DatadogMonitorProps = { ... }
|
|
|
9865
9933
|
| <code><a href="#@rio-cloud/cdk-v2-constructs.DatadogMonitorProps.property.monitor">monitor</a></code> | <code>{[ key: string ]: any}</code> | Monitor definition. |
|
|
9866
9934
|
| <code><a href="#@rio-cloud/cdk-v2-constructs.DatadogMonitorProps.property.serviceName">serviceName</a></code> | <code>string</code> | The name of the service to which the monitor belongs. |
|
|
9867
9935
|
| <code><a href="#@rio-cloud/cdk-v2-constructs.DatadogMonitorProps.property.alertTypes">alertTypes</a></code> | <code>string[]</code> | Type of alert. |
|
|
9868
|
-
| <code><a href="#@rio-cloud/cdk-v2-constructs.DatadogMonitorProps.property.autoCloseOpsGenieAlerts">autoCloseOpsGenieAlerts</a></code> | <code>boolean</code> | If AutoCloseOpsGenieAlerts is set to False, the monitor message will be wrapped in {{#is_alert}} ... {{/is_alert}} so that the corresponding OpsGenie alert will not resolve automatically. If set to True, it will leave the monitor message as it is. Note also that it is not possible to provide any of the wrappings {{#is_alert}}, {{#is_warning}}, {{#is_alert_recovery}}, '{{#is_warning_recovery}}' in the message yourself and use the property AutoCloseOpsGenieAlerts at the same time. |
|
|
9936
|
+
| <code><a href="#@rio-cloud/cdk-v2-constructs.DatadogMonitorProps.property.autoCloseOpsGenieAlerts">autoCloseOpsGenieAlerts</a></code> | <code>boolean</code> | If AutoCloseOpsGenieAlerts is set to False, the monitor message will be wrapped in \{\{#is_alert\}\} ... \{\{/is_alert\}\} so that the corresponding OpsGenie alert will not resolve automatically. If set to True, it will leave the monitor message as it is. Note also that it is not possible to provide any of the wrappings \{\{#is_alert\}\}, \{\{#is_warning\}\}, \{\{#is_alert_recovery\}\}, '\{\{#is_warning_recovery\}\}' in the message yourself and use the property AutoCloseOpsGenieAlerts at the same time. |
|
|
9869
9937
|
|
|
9870
9938
|
---
|
|
9871
9939
|
|
|
@@ -9919,7 +9987,7 @@ public readonly autoCloseOpsGenieAlerts: boolean;
|
|
|
9919
9987
|
|
|
9920
9988
|
- *Type:* boolean
|
|
9921
9989
|
|
|
9922
|
-
If AutoCloseOpsGenieAlerts is set to False, the monitor message will be wrapped in {{#is_alert}} ... {{/is_alert}} so that the corresponding OpsGenie alert will not resolve automatically. If set to True, it will leave the monitor message as it is. Note also that it is not possible to provide any of the wrappings {{#is_alert}}, {{#is_warning}}, {{#is_alert_recovery}}, '{{#is_warning_recovery}}' in the message yourself and use the property AutoCloseOpsGenieAlerts at the same time.
|
|
9990
|
+
If AutoCloseOpsGenieAlerts is set to False, the monitor message will be wrapped in \{\{#is_alert\}\} ... \{\{/is_alert\}\} so that the corresponding OpsGenie alert will not resolve automatically. If set to True, it will leave the monitor message as it is. Note also that it is not possible to provide any of the wrappings \{\{#is_alert\}\}, \{\{#is_warning\}\}, \{\{#is_alert_recovery\}\}, '\{\{#is_warning_recovery\}\}' in the message yourself and use the property AutoCloseOpsGenieAlerts at the same time.
|
|
9923
9991
|
|
|
9924
9992
|
---
|
|
9925
9993
|
|
|
@@ -9940,7 +10008,7 @@ const datadogMonitorProps: datadog.DatadogMonitorProps = { ... }
|
|
|
9940
10008
|
| <code><a href="#@rio-cloud/cdk-v2-constructs.datadog.DatadogMonitorProps.property.monitor">monitor</a></code> | <code>{[ key: string ]: any}</code> | Monitor definition. |
|
|
9941
10009
|
| <code><a href="#@rio-cloud/cdk-v2-constructs.datadog.DatadogMonitorProps.property.serviceName">serviceName</a></code> | <code>string</code> | The name of the service to which the monitor belongs. |
|
|
9942
10010
|
| <code><a href="#@rio-cloud/cdk-v2-constructs.datadog.DatadogMonitorProps.property.alertTypes">alertTypes</a></code> | <code>string[]</code> | Type of alert. |
|
|
9943
|
-
| <code><a href="#@rio-cloud/cdk-v2-constructs.datadog.DatadogMonitorProps.property.autoCloseOpsGenieAlerts">autoCloseOpsGenieAlerts</a></code> | <code>boolean</code> | If AutoCloseOpsGenieAlerts is set to False, the monitor message will be wrapped in {{#is_alert}} ... {{/is_alert}} so that the corresponding OpsGenie alert will not resolve automatically. If set to True, it will leave the monitor message as it is. Note also that it is not possible to provide any of the wrappings {{#is_alert}}, {{#is_warning}}, {{#is_alert_recovery}}, '{{#is_warning_recovery}}' in the message yourself and use the property AutoCloseOpsGenieAlerts at the same time. |
|
|
10011
|
+
| <code><a href="#@rio-cloud/cdk-v2-constructs.datadog.DatadogMonitorProps.property.autoCloseOpsGenieAlerts">autoCloseOpsGenieAlerts</a></code> | <code>boolean</code> | If AutoCloseOpsGenieAlerts is set to False, the monitor message will be wrapped in \{\{#is_alert\}\} ... \{\{/is_alert\}\} so that the corresponding OpsGenie alert will not resolve automatically. If set to True, it will leave the monitor message as it is. Note also that it is not possible to provide any of the wrappings \{\{#is_alert\}\}, \{\{#is_warning\}\}, \{\{#is_alert_recovery\}\}, '\{\{#is_warning_recovery\}\}' in the message yourself and use the property AutoCloseOpsGenieAlerts at the same time. |
|
|
9944
10012
|
|
|
9945
10013
|
---
|
|
9946
10014
|
|
|
@@ -9994,7 +10062,7 @@ public readonly autoCloseOpsGenieAlerts: boolean;
|
|
|
9994
10062
|
|
|
9995
10063
|
- *Type:* boolean
|
|
9996
10064
|
|
|
9997
|
-
If AutoCloseOpsGenieAlerts is set to False, the monitor message will be wrapped in {{#is_alert}} ... {{/is_alert}} so that the corresponding OpsGenie alert will not resolve automatically. If set to True, it will leave the monitor message as it is. Note also that it is not possible to provide any of the wrappings {{#is_alert}}, {{#is_warning}}, {{#is_alert_recovery}}, '{{#is_warning_recovery}}' in the message yourself and use the property AutoCloseOpsGenieAlerts at the same time.
|
|
10065
|
+
If AutoCloseOpsGenieAlerts is set to False, the monitor message will be wrapped in \{\{#is_alert\}\} ... \{\{/is_alert\}\} so that the corresponding OpsGenie alert will not resolve automatically. If set to True, it will leave the monitor message as it is. Note also that it is not possible to provide any of the wrappings \{\{#is_alert\}\}, \{\{#is_warning\}\}, \{\{#is_alert_recovery\}\}, '\{\{#is_warning_recovery\}\}' in the message yourself and use the property AutoCloseOpsGenieAlerts at the same time.
|
|
9998
10066
|
|
|
9999
10067
|
---
|
|
10000
10068
|
|
|
@@ -12361,7 +12429,7 @@ public readonly createCasesFromErrorLogMonitors: boolean;
|
|
|
12361
12429
|
```
|
|
12362
12430
|
|
|
12363
12431
|
- *Type:* boolean
|
|
12364
|
-
- *Default:*
|
|
12432
|
+
- *Default:* false
|
|
12365
12433
|
|
|
12366
12434
|
Enable error log monitors creating cases in Datadog.
|
|
12367
12435
|
|
|
@@ -13112,7 +13180,7 @@ const pipelineStackRioMonitoringDeployStepProps: PipelineStackRioMonitoringDeplo
|
|
|
13112
13180
|
|
|
13113
13181
|
| **Name** | **Type** | **Description** |
|
|
13114
13182
|
| --- | --- | --- |
|
|
13115
|
-
| <code><a href="#@rio-cloud/cdk-v2-constructs.PipelineStackRioMonitoringDeployStepProps.property.monitoringArtifacts">monitoringArtifacts</a></code> | <code>{[ key: string ]: string[]}</code> | Map {directory: filenames} containing .jar or .zip files created in main build step to be uploaded to the monitoring-testsuite-runner bucket, e.g. ``` { 'availability-monitoring/build/libs': ['foo-availability.jar'], 'performance-monitoring/build/libs': ['api-check.zip', 'foo-performance.jar'], } ```. |
|
|
13183
|
+
| <code><a href="#@rio-cloud/cdk-v2-constructs.PipelineStackRioMonitoringDeployStepProps.property.monitoringArtifacts">monitoringArtifacts</a></code> | <code>{[ key: string ]: string[]}</code> | Map \{directory: filenames\} containing .jar or .zip files created in main build step to be uploaded to the monitoring-testsuite-runner bucket, e.g. ``` { 'availability-monitoring/build/libs': ['foo-availability.jar'], 'performance-monitoring/build/libs': ['api-check.zip', 'foo-performance.jar'], } ```. |
|
|
13116
13184
|
|
|
13117
13185
|
---
|
|
13118
13186
|
|
|
@@ -13124,7 +13192,7 @@ public readonly monitoringArtifacts: {[ key: string ]: string[]};
|
|
|
13124
13192
|
|
|
13125
13193
|
- *Type:* {[ key: string ]: string[]}
|
|
13126
13194
|
|
|
13127
|
-
Map {directory: filenames} containing .jar or .zip files created in main build step to be uploaded to the monitoring-testsuite-runner bucket, e.g. ``` { 'availability-monitoring/build/libs': ['foo-availability.jar'], 'performance-monitoring/build/libs': ['api-check.zip', 'foo-performance.jar'], } ```.
|
|
13195
|
+
Map \{directory: filenames\} containing .jar or .zip files created in main build step to be uploaded to the monitoring-testsuite-runner bucket, e.g. ``` { 'availability-monitoring/build/libs': ['foo-availability.jar'], 'performance-monitoring/build/libs': ['api-check.zip', 'foo-performance.jar'], } ```.
|
|
13128
13196
|
|
|
13129
13197
|
---
|
|
13130
13198
|
|
|
@@ -13780,7 +13848,9 @@ public readonly consumerGroupId: string;
|
|
|
13780
13848
|
|
|
13781
13849
|
The identifier for the Kafka consumer group to join.
|
|
13782
13850
|
|
|
13783
|
-
The consumer group ID must be unique among all your Kafka event sources.
|
|
13851
|
+
The consumer group ID must be unique among all your Kafka event sources.
|
|
13852
|
+
After creating a Kafka event source mapping with the consumer group ID specified, you cannot update this value.
|
|
13853
|
+
The value must have a lenght between 1 and 200 and full the pattern '[a-zA-Z0-9-\/*:_+=.\@-]*'.
|
|
13784
13854
|
|
|
13785
13855
|
> [https://docs.aws.amazon.com/lambda/latest/dg/with-msk.html#services-msk-consumer-group-id](https://docs.aws.amazon.com/lambda/latest/dg/with-msk.html#services-msk-consumer-group-id)
|
|
13786
13856
|
|
|
@@ -13918,7 +13988,9 @@ public readonly consumerGroupId: string;
|
|
|
13918
13988
|
|
|
13919
13989
|
The identifier for the Kafka consumer group to join.
|
|
13920
13990
|
|
|
13921
|
-
The consumer group ID must be unique among all your Kafka event sources.
|
|
13991
|
+
The consumer group ID must be unique among all your Kafka event sources.
|
|
13992
|
+
After creating a Kafka event source mapping with the consumer group ID specified, you cannot update this value.
|
|
13993
|
+
The value must have a lenght between 1 and 200 and full the pattern '[a-zA-Z0-9-\/*:_+=.\@-]*'.
|
|
13922
13994
|
|
|
13923
13995
|
> [https://docs.aws.amazon.com/lambda/latest/dg/with-msk.html#services-msk-consumer-group-id](https://docs.aws.amazon.com/lambda/latest/dg/with-msk.html#services-msk-consumer-group-id)
|
|
13924
13996
|
|
|
@@ -14146,7 +14218,7 @@ const slackNotificationProps: datadogv2.SlackNotificationProps = { ... }
|
|
|
14146
14218
|
|
|
14147
14219
|
| **Name** | **Type** | **Description** |
|
|
14148
14220
|
| --- | --- | --- |
|
|
14149
|
-
| <code><a href="#@rio-cloud/cdk-v2-constructs.datadogv2.SlackNotificationProps.property.channel">channel</a></code> | <code>string</code> | the
|
|
14221
|
+
| <code><a href="#@rio-cloud/cdk-v2-constructs.datadogv2.SlackNotificationProps.property.channel">channel</a></code> | <code>string</code> | the Slack channel to route the alert to. |
|
|
14150
14222
|
|
|
14151
14223
|
---
|
|
14152
14224
|
|
|
@@ -14158,7 +14230,7 @@ public readonly channel: string;
|
|
|
14158
14230
|
|
|
14159
14231
|
- *Type:* string
|
|
14160
14232
|
|
|
14161
|
-
the
|
|
14233
|
+
the Slack channel to route the alert to.
|
|
14162
14234
|
|
|
14163
14235
|
---
|
|
14164
14236
|
|
|
@@ -15074,6 +15146,7 @@ const watchEcsServiceOptions: WatchEcsServiceOptions = { ... }
|
|
|
15074
15146
|
| --- | --- | --- |
|
|
15075
15147
|
| <code><a href="#@rio-cloud/cdk-v2-constructs.WatchEcsServiceOptions.property.cpuUtilizationThresholdPercent">cpuUtilizationThresholdPercent</a></code> | <code>number</code> | Threshold for the cpu utilization alarm as percentage. |
|
|
15076
15148
|
| <code><a href="#@rio-cloud/cdk-v2-constructs.WatchEcsServiceOptions.property.memoryUtilizationThresholdPercent">memoryUtilizationThresholdPercent</a></code> | <code>number</code> | Threshold for the memory utilization alarm as percentage. |
|
|
15149
|
+
| <code><a href="#@rio-cloud/cdk-v2-constructs.WatchEcsServiceOptions.property.minimumNumberOfTasks">minimumNumberOfTasks</a></code> | <code>number</code> | Minimum number of tasks that should be running. |
|
|
15077
15150
|
|
|
15078
15151
|
---
|
|
15079
15152
|
|
|
@@ -15103,6 +15176,19 @@ Threshold for the memory utilization alarm as percentage.
|
|
|
15103
15176
|
|
|
15104
15177
|
---
|
|
15105
15178
|
|
|
15179
|
+
##### `minimumNumberOfTasks`<sup>Optional</sup> <a name="minimumNumberOfTasks" id="@rio-cloud/cdk-v2-constructs.WatchEcsServiceOptions.property.minimumNumberOfTasks"></a>
|
|
15180
|
+
|
|
15181
|
+
```typescript
|
|
15182
|
+
public readonly minimumNumberOfTasks: number;
|
|
15183
|
+
```
|
|
15184
|
+
|
|
15185
|
+
- *Type:* number
|
|
15186
|
+
- *Default:* 1
|
|
15187
|
+
|
|
15188
|
+
Minimum number of tasks that should be running.
|
|
15189
|
+
|
|
15190
|
+
---
|
|
15191
|
+
|
|
15106
15192
|
### WatchEcsServiceProps <a name="WatchEcsServiceProps" id="@rio-cloud/cdk-v2-constructs.WatchEcsServiceProps"></a>
|
|
15107
15193
|
|
|
15108
15194
|
Properties for defining a WatchEcsService.
|
|
@@ -15121,6 +15207,7 @@ const watchEcsServiceProps: WatchEcsServiceProps = { ... }
|
|
|
15121
15207
|
| --- | --- | --- |
|
|
15122
15208
|
| <code><a href="#@rio-cloud/cdk-v2-constructs.WatchEcsServiceProps.property.cpuUtilizationThresholdPercent">cpuUtilizationThresholdPercent</a></code> | <code>number</code> | Threshold for the cpu utilization alarm as percentage. |
|
|
15123
15209
|
| <code><a href="#@rio-cloud/cdk-v2-constructs.WatchEcsServiceProps.property.memoryUtilizationThresholdPercent">memoryUtilizationThresholdPercent</a></code> | <code>number</code> | Threshold for the memory utilization alarm as percentage. |
|
|
15210
|
+
| <code><a href="#@rio-cloud/cdk-v2-constructs.WatchEcsServiceProps.property.minimumNumberOfTasks">minimumNumberOfTasks</a></code> | <code>number</code> | Minimum number of tasks that should be running. |
|
|
15124
15211
|
| <code><a href="#@rio-cloud/cdk-v2-constructs.WatchEcsServiceProps.property.service">service</a></code> | <code>aws-cdk-lib.aws_ecs.BaseService</code> | The ECS service that should be watched. |
|
|
15125
15212
|
| <code><a href="#@rio-cloud/cdk-v2-constructs.WatchEcsServiceProps.property.watchful">watchful</a></code> | <code><a href="#@rio-cloud/cdk-v2-constructs.IWatchful">IWatchful</a></code> | The reference to IWatchful class. |
|
|
15126
15213
|
|
|
@@ -15152,6 +15239,19 @@ Threshold for the memory utilization alarm as percentage.
|
|
|
15152
15239
|
|
|
15153
15240
|
---
|
|
15154
15241
|
|
|
15242
|
+
##### `minimumNumberOfTasks`<sup>Optional</sup> <a name="minimumNumberOfTasks" id="@rio-cloud/cdk-v2-constructs.WatchEcsServiceProps.property.minimumNumberOfTasks"></a>
|
|
15243
|
+
|
|
15244
|
+
```typescript
|
|
15245
|
+
public readonly minimumNumberOfTasks: number;
|
|
15246
|
+
```
|
|
15247
|
+
|
|
15248
|
+
- *Type:* number
|
|
15249
|
+
- *Default:* 1
|
|
15250
|
+
|
|
15251
|
+
Minimum number of tasks that should be running.
|
|
15252
|
+
|
|
15253
|
+
---
|
|
15254
|
+
|
|
15155
15255
|
##### `service`<sup>Required</sup> <a name="service" id="@rio-cloud/cdk-v2-constructs.WatchEcsServiceProps.property.service"></a>
|
|
15156
15256
|
|
|
15157
15257
|
```typescript
|
|
@@ -15288,7 +15388,7 @@ public readonly createCasesFromErrorLogMonitors: boolean;
|
|
|
15288
15388
|
```
|
|
15289
15389
|
|
|
15290
15390
|
- *Type:* boolean
|
|
15291
|
-
- *Default:*
|
|
15391
|
+
- *Default:* false
|
|
15292
15392
|
|
|
15293
15393
|
Enable error log monitors creating cases in Datadog.
|
|
15294
15394
|
|
|
@@ -15907,7 +16007,7 @@ Helper method to create a KafkaEventSpecSource by loading spec from a (UTF-8 enc
|
|
|
15907
16007
|
|
|
15908
16008
|
- *Type:* string
|
|
15909
16009
|
|
|
15910
|
-
|
|
16010
|
+
The filename of the event specification file.
|
|
15911
16011
|
|
|
15912
16012
|
Must either be an absolute path or a path relative to CDK's working directory.
|
|
15913
16013
|
|
|
@@ -15927,7 +16027,7 @@ Helper method to create a KafkaEventSpecSource from an inline yaml string.
|
|
|
15927
16027
|
|
|
15928
16028
|
- *Type:* string
|
|
15929
16029
|
|
|
15930
|
-
as yaml formatted string.
|
|
16030
|
+
EventSpec as yaml formatted string.
|
|
15931
16031
|
|
|
15932
16032
|
---
|
|
15933
16033
|
|
|
@@ -15995,7 +16095,7 @@ Helper method to create a KafkaEventSpecSource by loading spec from a (UTF-8 enc
|
|
|
15995
16095
|
|
|
15996
16096
|
- *Type:* string
|
|
15997
16097
|
|
|
15998
|
-
|
|
16098
|
+
The filename of the event specification file.
|
|
15999
16099
|
|
|
16000
16100
|
Must either be an absolute path or a path relative to CDK's working directory.
|
|
16001
16101
|
|
|
@@ -16015,7 +16115,7 @@ Helper method to create a KafkaEventSpecSource from an inline yaml string.
|
|
|
16015
16115
|
|
|
16016
16116
|
- *Type:* string
|
|
16017
16117
|
|
|
16018
|
-
as yaml formatted string.
|
|
16118
|
+
EventSpec as yaml formatted string.
|
|
16019
16119
|
|
|
16020
16120
|
---
|
|
16021
16121
|
|
|
@@ -16045,7 +16145,7 @@ public readonly eventName: string;
|
|
|
16045
16145
|
{@link INotification} implementation, that explicitly suppresses notifications.
|
|
16046
16146
|
|
|
16047
16147
|
Per default every monitor
|
|
16048
|
-
has a
|
|
16148
|
+
has a Slack notification. In order to create a {@link DatadogMonitor} just for a {@link ./datadog-monitor.ts.#DatadogMonitor}
|
|
16049
16149
|
without further notification.
|
|
16050
16150
|
|
|
16051
16151
|
#### Initializers <a name="Initializers" id="@rio-cloud/cdk-v2-constructs.datadogv2.NoNotification.Initializer"></a>
|
|
@@ -16583,7 +16683,7 @@ RioLandingZone.getTeamNameParameter(scope: Construct)
|
|
|
16583
16683
|
|
|
16584
16684
|
An {@link INotification}, that forwards alerts to the RIO paging router to engage the corresponding team.
|
|
16585
16685
|
|
|
16586
|
-
Alerts with Priority
|
|
16686
|
+
Alerts with Priority \> {@link RioPagingNotification.MINIMUM_PRIORITY} will not be taken into account.
|
|
16587
16687
|
|
|
16588
16688
|
#### Initializers <a name="Initializers" id="@rio-cloud/cdk-v2-constructs.datadogv2.RioPagingNotification.Initializer"></a>
|
|
16589
16689
|
|
|
@@ -17363,19 +17463,19 @@ Simply place the AppStack creation into the create-method:
|
|
|
17363
17463
|
|
|
17364
17464
|
```typescript
|
|
17365
17465
|
// Use e.g. within ApplicationProps as JSONObject:
|
|
17366
|
-
{ create: (construct, props)
|
|
17466
|
+
\{ create: (construct, props) =\> new Stack(construct, 'AppStack', props) \}
|
|
17367
17467
|
|
|
17368
17468
|
// or simply as class interface within your stack implementation:
|
|
17369
|
-
class PipelineStage extends Stage implements IAppStackFactory {
|
|
17370
|
-
constructor(scope: Construct, id: string, props: StageProps) {
|
|
17469
|
+
class PipelineStage extends Stage implements IAppStackFactory \{
|
|
17470
|
+
constructor(scope: Construct, id: string, props: StageProps) \{
|
|
17371
17471
|
super(scope, id, props);
|
|
17372
17472
|
// your stage definition
|
|
17373
|
-
}
|
|
17473
|
+
\}
|
|
17374
17474
|
|
|
17375
|
-
create(scope: Construct, props: AppStackProps): void {
|
|
17475
|
+
create(scope: Construct, props: AppStackProps): void \{
|
|
17376
17476
|
// app stack initiation goes in here
|
|
17377
|
-
}
|
|
17378
|
-
}
|
|
17477
|
+
\}
|
|
17478
|
+
\}
|
|
17379
17479
|
```
|
|
17380
17480
|
|
|
17381
17481
|
|
|
@@ -17399,7 +17499,7 @@ Factory method, being invoked with the specific scope during pipeline instantiat
|
|
|
17399
17499
|
|
|
17400
17500
|
- *Type:* constructs.Construct
|
|
17401
17501
|
|
|
17402
|
-
|
|
17502
|
+
The parent construct for the app stack.
|
|
17403
17503
|
|
|
17404
17504
|
---
|
|
17405
17505
|
|
|
@@ -17407,7 +17507,7 @@ the parent construct for the app stack.
|
|
|
17407
17507
|
|
|
17408
17508
|
- *Type:* <a href="#@rio-cloud/cdk-v2-constructs.AppStackProps">AppStackProps</a>
|
|
17409
17509
|
|
|
17410
|
-
|
|
17510
|
+
The app stacks properties.
|
|
17411
17511
|
|
|
17412
17512
|
---
|
|
17413
17513
|
|
|
@@ -17418,7 +17518,7 @@ the app stacks properties.
|
|
|
17418
17518
|
|
|
17419
17519
|
Interface to plug in specific notification types for monitors in Datadog.
|
|
17420
17520
|
|
|
17421
|
-
One instance could be reused over multiple monitors, e.g. when using the {@link
|
|
17521
|
+
One instance could be reused over multiple monitors, e.g. when using the {@link ./../watchfulv2#watchful.ts} construct.
|
|
17422
17522
|
|
|
17423
17523
|
#### Methods <a name="Methods" id="Methods"></a>
|
|
17424
17524
|
|
|
@@ -17487,19 +17587,23 @@ Adds the alarmTopic as alarm action to the given alarm.
|
|
|
17487
17587
|
|
|
17488
17588
|
- *Type:* constructs.Construct
|
|
17489
17589
|
|
|
17590
|
+
The construct to add the alarm to.
|
|
17591
|
+
|
|
17490
17592
|
---
|
|
17491
17593
|
|
|
17492
17594
|
###### `id`<sup>Required</sup> <a name="id" id="@rio-cloud/cdk-v2-constructs.IWatchful.createAlarm.parameter.id"></a>
|
|
17493
17595
|
|
|
17494
17596
|
- *Type:* <a href="#@rio-cloud/cdk-v2-constructs.MonitorType">MonitorType</a>
|
|
17495
17597
|
|
|
17598
|
+
The id of the alarm.
|
|
17599
|
+
|
|
17496
17600
|
---
|
|
17497
17601
|
|
|
17498
17602
|
###### `alarm`<sup>Required</sup> <a name="alarm" id="@rio-cloud/cdk-v2-constructs.IWatchful.createAlarm.parameter.alarm"></a>
|
|
17499
17603
|
|
|
17500
17604
|
- *Type:* <a href="#@rio-cloud/cdk-v2-constructs.MetricAlarmProps">MetricAlarmProps</a>
|
|
17501
17605
|
|
|
17502
|
-
|
|
17606
|
+
Additional options for the watch see {@link MetricAlarmProps}.
|
|
17503
17607
|
|
|
17504
17608
|
---
|
|
17505
17609
|
|
|
@@ -17515,6 +17619,8 @@ Adds and alert for error logs.
|
|
|
17515
17619
|
|
|
17516
17620
|
- *Type:* constructs.Construct
|
|
17517
17621
|
|
|
17622
|
+
The construct to add the alarm to.
|
|
17623
|
+
|
|
17518
17624
|
---
|
|
17519
17625
|
|
|
17520
17626
|
###### `id`<sup>Required</sup> <a name="id" id="@rio-cloud/cdk-v2-constructs.IWatchful.createLogAlarm.parameter.id"></a>
|
|
@@ -17529,6 +17635,8 @@ The name of the service.
|
|
|
17529
17635
|
|
|
17530
17636
|
- *Type:* <a href="#@rio-cloud/cdk-v2-constructs.LogAlarmProps">LogAlarmProps</a>
|
|
17531
17637
|
|
|
17638
|
+
The alarm properties see {@link LogAlarmProps}.
|
|
17639
|
+
|
|
17532
17640
|
---
|
|
17533
17641
|
|
|
17534
17642
|
#### Properties <a name="Properties" id="Properties"></a>
|
|
@@ -18033,6 +18141,7 @@ Options for onMissingData supported by Datadog.
|
|
|
18033
18141
|
| <code><a href="#@rio-cloud/cdk-v2-constructs.MonitorType.DURATION">DURATION</a></code> | Runtime duration metrics for lambda. |
|
|
18034
18142
|
| <code><a href="#@rio-cloud/cdk-v2-constructs.MonitorType.FREEABLE_MEMORY">FREEABLE_MEMORY</a></code> | Free memory for Document DB and RDS. |
|
|
18035
18143
|
| <code><a href="#@rio-cloud/cdk-v2-constructs.MonitorType.CONNECTION_ERROR">CONNECTION_ERROR</a></code> | Connection error metrics for Application load balancer target group. |
|
|
18144
|
+
| <code><a href="#@rio-cloud/cdk-v2-constructs.MonitorType.RUNNING_TASKS">RUNNING_TASKS</a></code> | Running fargate tasks monitor. |
|
|
18036
18145
|
|
|
18037
18146
|
---
|
|
18038
18147
|
|
|
@@ -18148,6 +18257,13 @@ Connection error metrics for Application load balancer target group.
|
|
|
18148
18257
|
---
|
|
18149
18258
|
|
|
18150
18259
|
|
|
18260
|
+
##### `RUNNING_TASKS` <a name="RUNNING_TASKS" id="@rio-cloud/cdk-v2-constructs.MonitorType.RUNNING_TASKS"></a>
|
|
18261
|
+
|
|
18262
|
+
Running fargate tasks monitor.
|
|
18263
|
+
|
|
18264
|
+
---
|
|
18265
|
+
|
|
18266
|
+
|
|
18151
18267
|
### PipelineType <a name="PipelineType" id="@rio-cloud/cdk-v2-constructs.PipelineType"></a>
|
|
18152
18268
|
|
|
18153
18269
|
#### Members <a name="Members" id="Members"></a>
|