construct-hub 0.4.498 → 0.4.499

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 CHANGED
@@ -4064,7 +4064,7 @@
4064
4064
  "kind": "interface",
4065
4065
  "locationInModule": {
4066
4066
  "filename": "src/api.ts",
4067
- "line": 67
4067
+ "line": 89
4068
4068
  },
4069
4069
  "name": "AlarmActions",
4070
4070
  "properties": [
@@ -4079,7 +4079,7 @@
4079
4079
  "immutable": true,
4080
4080
  "locationInModule": {
4081
4081
  "filename": "src/api.ts",
4082
- "line": 75
4082
+ "line": 97
4083
4083
  },
4084
4084
  "name": "highSeverity",
4085
4085
  "optional": true,
@@ -4098,7 +4098,7 @@
4098
4098
  "immutable": true,
4099
4099
  "locationInModule": {
4100
4100
  "filename": "src/api.ts",
4101
- "line": 83
4101
+ "line": 105
4102
4102
  },
4103
4103
  "name": "highSeverityAction",
4104
4104
  "optional": true,
@@ -4117,7 +4117,7 @@
4117
4117
  "immutable": true,
4118
4118
  "locationInModule": {
4119
4119
  "filename": "src/api.ts",
4120
- "line": 92
4120
+ "line": 114
4121
4121
  },
4122
4122
  "name": "mediumSeverity",
4123
4123
  "optional": true,
@@ -4136,7 +4136,7 @@
4136
4136
  "immutable": true,
4137
4137
  "locationInModule": {
4138
4138
  "filename": "src/api.ts",
4139
- "line": 100
4139
+ "line": 122
4140
4140
  },
4141
4141
  "name": "mediumSeverityAction",
4142
4142
  "optional": true,
@@ -4156,7 +4156,7 @@
4156
4156
  "immutable": true,
4157
4157
  "locationInModule": {
4158
4158
  "filename": "src/api.ts",
4159
- "line": 111
4159
+ "line": 133
4160
4160
  },
4161
4161
  "name": "normalSeverity",
4162
4162
  "optional": true,
@@ -4176,7 +4176,7 @@
4176
4176
  "immutable": true,
4177
4177
  "locationInModule": {
4178
4178
  "filename": "src/api.ts",
4179
- "line": 121
4179
+ "line": 143
4180
4180
  },
4181
4181
  "name": "normalSeverityAction",
4182
4182
  "optional": true,
@@ -4187,6 +4187,66 @@
4187
4187
  ],
4188
4188
  "symbolId": "src/api:AlarmActions"
4189
4189
  },
4190
+ "construct-hub.AlarmOverride": {
4191
+ "assembly": "construct-hub",
4192
+ "datatype": true,
4193
+ "docs": {
4194
+ "stability": "experimental",
4195
+ "summary": "An override for a specific alarm."
4196
+ },
4197
+ "fqn": "construct-hub.AlarmOverride",
4198
+ "kind": "interface",
4199
+ "locationInModule": {
4200
+ "filename": "src/api.ts",
4201
+ "line": 67
4202
+ },
4203
+ "name": "AlarmOverride",
4204
+ "properties": [
4205
+ {
4206
+ "abstract": true,
4207
+ "docs": {
4208
+ "default": "- the severity bucket's action",
4209
+ "remarks": "An empty array falls back to the bucket action — it does NOT mute the\nalarm. To silence an alarm intentionally, supply a no-op action.",
4210
+ "stability": "experimental",
4211
+ "summary": "Wire these actions onto the alarm in place of the severity bucket's action."
4212
+ },
4213
+ "immutable": true,
4214
+ "locationInModule": {
4215
+ "filename": "src/api.ts",
4216
+ "line": 83
4217
+ },
4218
+ "name": "actions",
4219
+ "optional": true,
4220
+ "type": {
4221
+ "collection": {
4222
+ "elementtype": {
4223
+ "fqn": "aws-cdk-lib.aws_cloudwatch.IAlarmAction"
4224
+ },
4225
+ "kind": "array"
4226
+ }
4227
+ }
4228
+ },
4229
+ {
4230
+ "abstract": true,
4231
+ "docs": {
4232
+ "default": "- the severity hardcoded by the alarm's author",
4233
+ "stability": "experimental",
4234
+ "summary": "Wire this alarm to a different severity bucket's action."
4235
+ },
4236
+ "immutable": true,
4237
+ "locationInModule": {
4238
+ "filename": "src/api.ts",
4239
+ "line": 73
4240
+ },
4241
+ "name": "severity",
4242
+ "optional": true,
4243
+ "type": {
4244
+ "fqn": "construct-hub.AlarmSeverity"
4245
+ }
4246
+ }
4247
+ ],
4248
+ "symbolId": "src/api:AlarmOverride"
4249
+ },
4190
4250
  "construct-hub.AlarmSeverities": {
4191
4251
  "assembly": "construct-hub",
4192
4252
  "datatype": true,
@@ -4337,7 +4397,7 @@
4337
4397
  "kind": "interface",
4338
4398
  "locationInModule": {
4339
4399
  "filename": "src/construct-hub.ts",
4340
- "line": 261
4400
+ "line": 274
4341
4401
  },
4342
4402
  "name": "CodeArtifactDomainProps",
4343
4403
  "properties": [
@@ -4350,7 +4410,7 @@
4350
4410
  "immutable": true,
4351
4411
  "locationInModule": {
4352
4412
  "filename": "src/construct-hub.ts",
4353
- "line": 265
4413
+ "line": 278
4354
4414
  },
4355
4415
  "name": "name",
4356
4416
  "type": {
@@ -4366,7 +4426,7 @@
4366
4426
  "immutable": true,
4367
4427
  "locationInModule": {
4368
4428
  "filename": "src/construct-hub.ts",
4369
- "line": 271
4429
+ "line": 284
4370
4430
  },
4371
4431
  "name": "upstreams",
4372
4432
  "optional": true,
@@ -4396,7 +4456,7 @@
4396
4456
  },
4397
4457
  "locationInModule": {
4398
4458
  "filename": "src/construct-hub.ts",
4399
- "line": 287
4459
+ "line": 300
4400
4460
  },
4401
4461
  "parameters": [
4402
4462
  {
@@ -4426,7 +4486,7 @@
4426
4486
  "kind": "class",
4427
4487
  "locationInModule": {
4428
4488
  "filename": "src/construct-hub.ts",
4429
- "line": 277
4489
+ "line": 290
4430
4490
  },
4431
4491
  "name": "ConstructHub",
4432
4492
  "properties": [
@@ -4438,7 +4498,7 @@
4438
4498
  "immutable": true,
4439
4499
  "locationInModule": {
4440
4500
  "filename": "src/construct-hub.ts",
4441
- "line": 596
4501
+ "line": 610
4442
4502
  },
4443
4503
  "name": "allAlarms",
4444
4504
  "type": {
@@ -4458,7 +4518,7 @@
4458
4518
  "immutable": true,
4459
4519
  "locationInModule": {
4460
4520
  "filename": "src/construct-hub.ts",
4461
- "line": 604
4521
+ "line": 618
4462
4522
  },
4463
4523
  "name": "grantPrincipal",
4464
4524
  "overrides": "aws-cdk-lib.aws_iam.IGrantable",
@@ -4475,7 +4535,7 @@
4475
4535
  "immutable": true,
4476
4536
  "locationInModule": {
4477
4537
  "filename": "src/construct-hub.ts",
4478
- "line": 566
4538
+ "line": 580
4479
4539
  },
4480
4540
  "name": "highSeverityAlarms",
4481
4541
  "type": {
@@ -4494,7 +4554,7 @@
4494
4554
  "immutable": true,
4495
4555
  "locationInModule": {
4496
4556
  "filename": "src/construct-hub.ts",
4497
- "line": 608
4557
+ "line": 622
4498
4558
  },
4499
4559
  "name": "ingestionQueue",
4500
4560
  "type": {
@@ -4510,7 +4570,7 @@
4510
4570
  "immutable": true,
4511
4571
  "locationInModule": {
4512
4572
  "filename": "src/construct-hub.ts",
4513
- "line": 588
4573
+ "line": 602
4514
4574
  },
4515
4575
  "name": "lowSeverityAlarms",
4516
4576
  "type": {
@@ -4531,7 +4591,7 @@
4531
4591
  "immutable": true,
4532
4592
  "locationInModule": {
4533
4593
  "filename": "src/construct-hub.ts",
4534
- "line": 577
4594
+ "line": 591
4535
4595
  },
4536
4596
  "name": "mediumSeverityAlarms",
4537
4597
  "type": {
@@ -4551,7 +4611,7 @@
4551
4611
  "immutable": true,
4552
4612
  "locationInModule": {
4553
4613
  "filename": "src/construct-hub.ts",
4554
- "line": 282
4614
+ "line": 295
4555
4615
  },
4556
4616
  "name": "regenerateAllDocumentationPerPackage",
4557
4617
  "type": {
@@ -4586,7 +4646,7 @@
4586
4646
  "immutable": true,
4587
4647
  "locationInModule": {
4588
4648
  "filename": "src/construct-hub.ts",
4589
- "line": 234
4649
+ "line": 247
4590
4650
  },
4591
4651
  "name": "additionalDomains",
4592
4652
  "optional": true,
@@ -4616,6 +4676,29 @@
4616
4676
  "fqn": "construct-hub.AlarmActions"
4617
4677
  }
4618
4678
  },
4679
+ {
4680
+ "abstract": true,
4681
+ "docs": {
4682
+ "remarks": "For each entry, set `severity` (`AlarmSeverity.HIGH` / `MEDIUM` / `LOW`)\nto wire the alarm to a different bucket's action, `actions` to supply\ncustom actions that bypass the buckets, or both.\n\nUnknown keys are surfaced as synth-time validation errors.",
4683
+ "stability": "experimental",
4684
+ "summary": "Per-alarm overrides keyed by the alarm's CloudWatch display name relative to the `ConstructHub` construct — i.e. the same string a customer sees in tickets and the CloudWatch console (e.g. 'Sources/NpmJs/Canary/NotRunningOrFailing')."
4685
+ },
4686
+ "immutable": true,
4687
+ "locationInModule": {
4688
+ "filename": "src/construct-hub.ts",
4689
+ "line": 96
4690
+ },
4691
+ "name": "alarmOverrides",
4692
+ "optional": true,
4693
+ "type": {
4694
+ "collection": {
4695
+ "elementtype": {
4696
+ "fqn": "construct-hub.AlarmOverride"
4697
+ },
4698
+ "kind": "map"
4699
+ }
4700
+ }
4701
+ },
4619
4702
  {
4620
4703
  "abstract": true,
4621
4704
  "docs": {
@@ -4643,7 +4726,7 @@
4643
4726
  "immutable": true,
4644
4727
  "locationInModule": {
4645
4728
  "filename": "src/construct-hub.ts",
4646
- "line": 145
4729
+ "line": 158
4647
4730
  },
4648
4731
  "name": "allowedLicenses",
4649
4732
  "optional": true,
@@ -4666,7 +4749,7 @@
4666
4749
  "immutable": true,
4667
4750
  "locationInModule": {
4668
4751
  "filename": "src/construct-hub.ts",
4669
- "line": 249
4752
+ "line": 262
4670
4753
  },
4671
4754
  "name": "appRegistryApplication",
4672
4755
  "optional": true,
@@ -4683,7 +4766,7 @@
4683
4766
  "immutable": true,
4684
4767
  "locationInModule": {
4685
4768
  "filename": "src/construct-hub.ts",
4686
- "line": 124
4769
+ "line": 137
4687
4770
  },
4688
4771
  "name": "backendDashboardName",
4689
4772
  "optional": true,
@@ -4701,7 +4784,7 @@
4701
4784
  "immutable": true,
4702
4785
  "locationInModule": {
4703
4786
  "filename": "src/construct-hub.ts",
4704
- "line": 198
4787
+ "line": 211
4705
4788
  },
4706
4789
  "name": "categories",
4707
4790
  "optional": true,
@@ -4725,7 +4808,7 @@
4725
4808
  "immutable": true,
4726
4809
  "locationInModule": {
4727
4810
  "filename": "src/construct-hub.ts",
4728
- "line": 156
4811
+ "line": 169
4729
4812
  },
4730
4813
  "name": "codeArtifactDomain",
4731
4814
  "optional": true,
@@ -4743,7 +4826,7 @@
4743
4826
  "immutable": true,
4744
4827
  "locationInModule": {
4745
4828
  "filename": "src/construct-hub.ts",
4746
- "line": 131
4829
+ "line": 144
4747
4830
  },
4748
4831
  "name": "denyList",
4749
4832
  "optional": true,
@@ -4785,7 +4868,7 @@
4785
4868
  "immutable": true,
4786
4869
  "locationInModule": {
4787
4870
  "filename": "src/construct-hub.ts",
4788
- "line": 209
4871
+ "line": 222
4789
4872
  },
4790
4873
  "name": "failoverStorage",
4791
4874
  "optional": true,
@@ -4803,7 +4886,7 @@
4803
4886
  "immutable": true,
4804
4887
  "locationInModule": {
4805
4888
  "filename": "src/construct-hub.ts",
4806
- "line": 177
4889
+ "line": 190
4807
4890
  },
4808
4891
  "name": "featuredPackages",
4809
4892
  "optional": true,
@@ -4820,7 +4903,7 @@
4820
4903
  "immutable": true,
4821
4904
  "locationInModule": {
4822
4905
  "filename": "src/construct-hub.ts",
4823
- "line": 182
4906
+ "line": 195
4824
4907
  },
4825
4908
  "name": "featureFlags",
4826
4909
  "optional": true,
@@ -4838,7 +4921,7 @@
4838
4921
  "immutable": true,
4839
4922
  "locationInModule": {
4840
4923
  "filename": "src/construct-hub.ts",
4841
- "line": 255
4924
+ "line": 268
4842
4925
  },
4843
4926
  "name": "feedConfiguration",
4844
4927
  "optional": true,
@@ -4856,7 +4939,7 @@
4856
4939
  "immutable": true,
4857
4940
  "locationInModule": {
4858
4941
  "filename": "src/construct-hub.ts",
4859
- "line": 192
4942
+ "line": 205
4860
4943
  },
4861
4944
  "name": "fetchPackageStats",
4862
4945
  "optional": true,
@@ -4875,7 +4958,7 @@
4875
4958
  "immutable": true,
4876
4959
  "locationInModule": {
4877
4960
  "filename": "src/construct-hub.ts",
4878
- "line": 97
4961
+ "line": 110
4879
4962
  },
4880
4963
  "name": "isolateSensitiveTasks",
4881
4964
  "optional": true,
@@ -4895,7 +4978,7 @@
4895
4978
  "immutable": true,
4896
4979
  "locationInModule": {
4897
4980
  "filename": "src/construct-hub.ts",
4898
- "line": 118
4981
+ "line": 131
4899
4982
  },
4900
4983
  "name": "logRetention",
4901
4984
  "optional": true,
@@ -4912,7 +4995,7 @@
4912
4995
  "immutable": true,
4913
4996
  "locationInModule": {
4914
4997
  "filename": "src/construct-hub.ts",
4915
- "line": 161
4998
+ "line": 174
4916
4999
  },
4917
5000
  "name": "packageLinks",
4918
5001
  "optional": true,
@@ -4935,7 +5018,7 @@
4935
5018
  "immutable": true,
4936
5019
  "locationInModule": {
4937
5020
  "filename": "src/construct-hub.ts",
4938
- "line": 138
5021
+ "line": 151
4939
5022
  },
4940
5023
  "name": "packageSources",
4941
5024
  "optional": true,
@@ -4957,7 +5040,7 @@
4957
5040
  "immutable": true,
4958
5041
  "locationInModule": {
4959
5042
  "filename": "src/construct-hub.ts",
4960
- "line": 171
5043
+ "line": 184
4961
5044
  },
4962
5045
  "name": "packageTagGroups",
4963
5046
  "optional": true,
@@ -4979,7 +5062,7 @@
4979
5062
  "immutable": true,
4980
5063
  "locationInModule": {
4981
5064
  "filename": "src/construct-hub.ts",
4982
- "line": 166
5065
+ "line": 179
4983
5066
  },
4984
5067
  "name": "packageTags",
4985
5068
  "optional": true,
@@ -5002,7 +5085,7 @@
5002
5085
  "immutable": true,
5003
5086
  "locationInModule": {
5004
5087
  "filename": "src/construct-hub.ts",
5005
- "line": 241
5088
+ "line": 254
5006
5089
  },
5007
5090
  "name": "preloadScript",
5008
5091
  "optional": true,
@@ -5020,7 +5103,7 @@
5020
5103
  "immutable": true,
5021
5104
  "locationInModule": {
5022
5105
  "filename": "src/construct-hub.ts",
5023
- "line": 226
5106
+ "line": 239
5024
5107
  },
5025
5108
  "name": "reprocessAge",
5026
5109
  "optional": true,
@@ -5040,7 +5123,7 @@
5040
5123
  "immutable": true,
5041
5124
  "locationInModule": {
5042
5125
  "filename": "src/construct-hub.ts",
5043
- "line": 219
5126
+ "line": 232
5044
5127
  },
5045
5128
  "name": "reprocessFrequency",
5046
5129
  "optional": true,
@@ -5059,7 +5142,7 @@
5059
5142
  "immutable": true,
5060
5143
  "locationInModule": {
5061
5144
  "filename": "src/construct-hub.ts",
5062
- "line": 111
5145
+ "line": 124
5063
5146
  },
5064
5147
  "name": "sensitiveTaskIsolation",
5065
5148
  "optional": true,
@@ -6098,7 +6181,7 @@
6098
6181
  "kind": "enum",
6099
6182
  "locationInModule": {
6100
6183
  "filename": "src/construct-hub.ts",
6101
- "line": 745
6184
+ "line": 759
6102
6185
  },
6103
6186
  "members": [
6104
6187
  {
@@ -21786,6 +21869,6 @@
21786
21869
  "symbolId": "src/package-sources/npmjs:NpmJsProps"
21787
21870
  }
21788
21871
  },
21789
- "version": "0.4.498",
21790
- "fingerprint": "i8rzbggAU/l+5BSJ3wcvOVfwsA2NMwmPf0ON8Un+Qr0="
21872
+ "version": "0.4.499",
21873
+ "fingerprint": "xBa1MIUoGoqyDnF4RYkm9OaTvrBZnIJs2kwz9nEcnDA="
21791
21874
  }