construct-hub 0.4.3 → 0.4.6
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 +119 -57
- package/API.md +50 -4
- package/changelog.md +3 -3
- package/docs/operator-runbook.md +32 -0
- package/lib/backend/catalog-builder/index.js +5 -1
- package/lib/construct-hub.d.ts +19 -0
- package/lib/construct-hub.js +37 -12
- package/lib/monitoring/api.d.ts +3 -3
- package/lib/monitoring/api.js +1 -1
- package/lib/monitoring/index.d.ts +4 -4
- package/lib/monitoring/index.js +5 -5
- package/lib/package-sources/code-artifact.js +1 -1
- package/lib/package-sources/npmjs/canary/constants.d.ts +8 -1
- package/lib/package-sources/npmjs/canary/constants.js +1 -1
- package/lib/package-sources/npmjs/canary/index.d.ts +16 -0
- package/lib/package-sources/npmjs/canary/index.js +35 -4
- package/lib/package-sources/npmjs/canary/npmjs-package-canary.lambda.bundle/index.js +20 -1
- package/lib/package-sources/npmjs/canary/npmjs-package-canary.lambda.bundle/index.js.map +2 -2
- package/lib/package-sources/npmjs/canary/npmjs-package-canary.lambda.d.ts +58 -0
- package/lib/package-sources/npmjs/canary/npmjs-package-canary.lambda.js +24 -3
- package/lib/package-sources/npmjs.js +64 -8
- package/lib/package-tag/index.js +3 -3
- package/lib/package-tag-group/index.js +2 -2
- package/lib/preload-file/index.js +1 -1
- package/lib/s3/storage.js +1 -1
- package/lib/spdx-license.js +1 -1
- package/package.json +1 -1
- package/releasetag.txt +1 -1
- package/version.txt +1 -1
package/.jsii
CHANGED
@@ -3215,7 +3215,7 @@
|
|
3215
3215
|
"kind": "interface",
|
3216
3216
|
"locationInModule": {
|
3217
3217
|
"filename": "src/construct-hub.ts",
|
3218
|
-
"line":
|
3218
|
+
"line": 248
|
3219
3219
|
},
|
3220
3220
|
"name": "CodeArtifactDomainProps",
|
3221
3221
|
"properties": [
|
@@ -3228,7 +3228,7 @@
|
|
3228
3228
|
"immutable": true,
|
3229
3229
|
"locationInModule": {
|
3230
3230
|
"filename": "src/construct-hub.ts",
|
3231
|
-
"line":
|
3231
|
+
"line": 252
|
3232
3232
|
},
|
3233
3233
|
"name": "name",
|
3234
3234
|
"type": {
|
@@ -3244,7 +3244,7 @@
|
|
3244
3244
|
"immutable": true,
|
3245
3245
|
"locationInModule": {
|
3246
3246
|
"filename": "src/construct-hub.ts",
|
3247
|
-
"line":
|
3247
|
+
"line": 258
|
3248
3248
|
},
|
3249
3249
|
"name": "upstreams",
|
3250
3250
|
"optional": true,
|
@@ -3274,7 +3274,7 @@
|
|
3274
3274
|
},
|
3275
3275
|
"locationInModule": {
|
3276
3276
|
"filename": "src/construct-hub.ts",
|
3277
|
-
"line":
|
3277
|
+
"line": 268
|
3278
3278
|
},
|
3279
3279
|
"parameters": [
|
3280
3280
|
{
|
@@ -3304,10 +3304,30 @@
|
|
3304
3304
|
"kind": "class",
|
3305
3305
|
"locationInModule": {
|
3306
3306
|
"filename": "src/construct-hub.ts",
|
3307
|
-
"line":
|
3307
|
+
"line": 264
|
3308
3308
|
},
|
3309
3309
|
"name": "ConstructHub",
|
3310
3310
|
"properties": [
|
3311
|
+
{
|
3312
|
+
"docs": {
|
3313
|
+
"stability": "experimental",
|
3314
|
+
"summary": "Returns a list of all alarms configured by this ConstructHub instance."
|
3315
|
+
},
|
3316
|
+
"immutable": true,
|
3317
|
+
"locationInModule": {
|
3318
|
+
"filename": "src/construct-hub.ts",
|
3319
|
+
"line": 556
|
3320
|
+
},
|
3321
|
+
"name": "allAlarms",
|
3322
|
+
"type": {
|
3323
|
+
"collection": {
|
3324
|
+
"elementtype": {
|
3325
|
+
"fqn": "aws-cdk-lib.aws_cloudwatch.IAlarm"
|
3326
|
+
},
|
3327
|
+
"kind": "array"
|
3328
|
+
}
|
3329
|
+
}
|
3330
|
+
},
|
3311
3331
|
{
|
3312
3332
|
"docs": {
|
3313
3333
|
"stability": "experimental",
|
@@ -3316,7 +3336,7 @@
|
|
3316
3336
|
"immutable": true,
|
3317
3337
|
"locationInModule": {
|
3318
3338
|
"filename": "src/construct-hub.ts",
|
3319
|
-
"line":
|
3339
|
+
"line": 560
|
3320
3340
|
},
|
3321
3341
|
"name": "grantPrincipal",
|
3322
3342
|
"overrides": "aws-cdk-lib.aws_iam.IGrantable",
|
@@ -3324,6 +3344,27 @@
|
|
3324
3344
|
"fqn": "aws-cdk-lib.aws_iam.IPrincipal"
|
3325
3345
|
}
|
3326
3346
|
},
|
3347
|
+
{
|
3348
|
+
"docs": {
|
3349
|
+
"remarks": "These warrant immediate attention as they are indicative of a system health\nissue.",
|
3350
|
+
"stability": "experimental",
|
3351
|
+
"summary": "Returns a list of all high-severity alarms from this ConstructHub instance."
|
3352
|
+
},
|
3353
|
+
"immutable": true,
|
3354
|
+
"locationInModule": {
|
3355
|
+
"filename": "src/construct-hub.ts",
|
3356
|
+
"line": 537
|
3357
|
+
},
|
3358
|
+
"name": "highSeverityAlarms",
|
3359
|
+
"type": {
|
3360
|
+
"collection": {
|
3361
|
+
"elementtype": {
|
3362
|
+
"fqn": "aws-cdk-lib.aws_cloudwatch.IAlarm"
|
3363
|
+
},
|
3364
|
+
"kind": "array"
|
3365
|
+
}
|
3366
|
+
}
|
3367
|
+
},
|
3327
3368
|
{
|
3328
3369
|
"docs": {
|
3329
3370
|
"stability": "experimental"
|
@@ -3331,12 +3372,33 @@
|
|
3331
3372
|
"immutable": true,
|
3332
3373
|
"locationInModule": {
|
3333
3374
|
"filename": "src/construct-hub.ts",
|
3334
|
-
"line":
|
3375
|
+
"line": 564
|
3335
3376
|
},
|
3336
3377
|
"name": "ingestionQueue",
|
3337
3378
|
"type": {
|
3338
3379
|
"fqn": "aws-cdk-lib.aws_sqs.IQueue"
|
3339
3380
|
}
|
3381
|
+
},
|
3382
|
+
{
|
3383
|
+
"docs": {
|
3384
|
+
"remarks": "These do not necessitate immediate attention, as they do not have direct\ncustomer-visible impact, or handling is not time-sensitive. They indicate\nthat something unusual (not necessarily bad) is happening.",
|
3385
|
+
"stability": "experimental",
|
3386
|
+
"summary": "Returns a list of all low-severity alarms from this ConstructHub instance."
|
3387
|
+
},
|
3388
|
+
"immutable": true,
|
3389
|
+
"locationInModule": {
|
3390
|
+
"filename": "src/construct-hub.ts",
|
3391
|
+
"line": 548
|
3392
|
+
},
|
3393
|
+
"name": "lowSeverityAlarms",
|
3394
|
+
"type": {
|
3395
|
+
"collection": {
|
3396
|
+
"elementtype": {
|
3397
|
+
"fqn": "aws-cdk-lib.aws_cloudwatch.IAlarm"
|
3398
|
+
},
|
3399
|
+
"kind": "array"
|
3400
|
+
}
|
3401
|
+
}
|
3340
3402
|
}
|
3341
3403
|
],
|
3342
3404
|
"symbolId": "src/construct-hub:ConstructHub"
|
@@ -3352,7 +3414,7 @@
|
|
3352
3414
|
"kind": "interface",
|
3353
3415
|
"locationInModule": {
|
3354
3416
|
"filename": "src/construct-hub.ts",
|
3355
|
-
"line":
|
3417
|
+
"line": 68
|
3356
3418
|
},
|
3357
3419
|
"name": "ConstructHubProps",
|
3358
3420
|
"properties": [
|
@@ -3366,7 +3428,7 @@
|
|
3366
3428
|
"immutable": true,
|
3367
3429
|
"locationInModule": {
|
3368
3430
|
"filename": "src/construct-hub.ts",
|
3369
|
-
"line":
|
3431
|
+
"line": 221
|
3370
3432
|
},
|
3371
3433
|
"name": "additionalDomains",
|
3372
3434
|
"optional": true,
|
@@ -3388,7 +3450,7 @@
|
|
3388
3450
|
"immutable": true,
|
3389
3451
|
"locationInModule": {
|
3390
3452
|
"filename": "src/construct-hub.ts",
|
3391
|
-
"line":
|
3453
|
+
"line": 77
|
3392
3454
|
},
|
3393
3455
|
"name": "alarmActions",
|
3394
3456
|
"optional": true,
|
@@ -3406,7 +3468,7 @@
|
|
3406
3468
|
"immutable": true,
|
3407
3469
|
"locationInModule": {
|
3408
3470
|
"filename": "src/construct-hub.ts",
|
3409
|
-
"line":
|
3471
|
+
"line": 139
|
3410
3472
|
},
|
3411
3473
|
"name": "allowedLicenses",
|
3412
3474
|
"optional": true,
|
@@ -3429,7 +3491,7 @@
|
|
3429
3491
|
"immutable": true,
|
3430
3492
|
"locationInModule": {
|
3431
3493
|
"filename": "src/construct-hub.ts",
|
3432
|
-
"line":
|
3494
|
+
"line": 236
|
3433
3495
|
},
|
3434
3496
|
"name": "appRegistryApplication",
|
3435
3497
|
"optional": true,
|
@@ -3446,7 +3508,7 @@
|
|
3446
3508
|
"immutable": true,
|
3447
3509
|
"locationInModule": {
|
3448
3510
|
"filename": "src/construct-hub.ts",
|
3449
|
-
"line":
|
3511
|
+
"line": 118
|
3450
3512
|
},
|
3451
3513
|
"name": "backendDashboardName",
|
3452
3514
|
"optional": true,
|
@@ -3464,7 +3526,7 @@
|
|
3464
3526
|
"immutable": true,
|
3465
3527
|
"locationInModule": {
|
3466
3528
|
"filename": "src/construct-hub.ts",
|
3467
|
-
"line":
|
3529
|
+
"line": 192
|
3468
3530
|
},
|
3469
3531
|
"name": "categories",
|
3470
3532
|
"optional": true,
|
@@ -3488,7 +3550,7 @@
|
|
3488
3550
|
"immutable": true,
|
3489
3551
|
"locationInModule": {
|
3490
3552
|
"filename": "src/construct-hub.ts",
|
3491
|
-
"line":
|
3553
|
+
"line": 150
|
3492
3554
|
},
|
3493
3555
|
"name": "codeArtifactDomain",
|
3494
3556
|
"optional": true,
|
@@ -3506,7 +3568,7 @@
|
|
3506
3568
|
"immutable": true,
|
3507
3569
|
"locationInModule": {
|
3508
3570
|
"filename": "src/construct-hub.ts",
|
3509
|
-
"line":
|
3571
|
+
"line": 125
|
3510
3572
|
},
|
3511
3573
|
"name": "denyList",
|
3512
3574
|
"optional": true,
|
@@ -3528,7 +3590,7 @@
|
|
3528
3590
|
"immutable": true,
|
3529
3591
|
"locationInModule": {
|
3530
3592
|
"filename": "src/construct-hub.ts",
|
3531
|
-
"line":
|
3593
|
+
"line": 72
|
3532
3594
|
},
|
3533
3595
|
"name": "domain",
|
3534
3596
|
"optional": true,
|
@@ -3548,7 +3610,7 @@
|
|
3548
3610
|
"immutable": true,
|
3549
3611
|
"locationInModule": {
|
3550
3612
|
"filename": "src/construct-hub.ts",
|
3551
|
-
"line":
|
3613
|
+
"line": 203
|
3552
3614
|
},
|
3553
3615
|
"name": "failoverStorage",
|
3554
3616
|
"optional": true,
|
@@ -3566,7 +3628,7 @@
|
|
3566
3628
|
"immutable": true,
|
3567
3629
|
"locationInModule": {
|
3568
3630
|
"filename": "src/construct-hub.ts",
|
3569
|
-
"line":
|
3631
|
+
"line": 171
|
3570
3632
|
},
|
3571
3633
|
"name": "featuredPackages",
|
3572
3634
|
"optional": true,
|
@@ -3583,7 +3645,7 @@
|
|
3583
3645
|
"immutable": true,
|
3584
3646
|
"locationInModule": {
|
3585
3647
|
"filename": "src/construct-hub.ts",
|
3586
|
-
"line":
|
3648
|
+
"line": 176
|
3587
3649
|
},
|
3588
3650
|
"name": "featureFlags",
|
3589
3651
|
"optional": true,
|
@@ -3601,7 +3663,7 @@
|
|
3601
3663
|
"immutable": true,
|
3602
3664
|
"locationInModule": {
|
3603
3665
|
"filename": "src/construct-hub.ts",
|
3604
|
-
"line":
|
3666
|
+
"line": 242
|
3605
3667
|
},
|
3606
3668
|
"name": "feedConfiguration",
|
3607
3669
|
"optional": true,
|
@@ -3619,7 +3681,7 @@
|
|
3619
3681
|
"immutable": true,
|
3620
3682
|
"locationInModule": {
|
3621
3683
|
"filename": "src/construct-hub.ts",
|
3622
|
-
"line":
|
3684
|
+
"line": 186
|
3623
3685
|
},
|
3624
3686
|
"name": "fetchPackageStats",
|
3625
3687
|
"optional": true,
|
@@ -3638,7 +3700,7 @@
|
|
3638
3700
|
"immutable": true,
|
3639
3701
|
"locationInModule": {
|
3640
3702
|
"filename": "src/construct-hub.ts",
|
3641
|
-
"line":
|
3703
|
+
"line": 91
|
3642
3704
|
},
|
3643
3705
|
"name": "isolateSensitiveTasks",
|
3644
3706
|
"optional": true,
|
@@ -3658,7 +3720,7 @@
|
|
3658
3720
|
"immutable": true,
|
3659
3721
|
"locationInModule": {
|
3660
3722
|
"filename": "src/construct-hub.ts",
|
3661
|
-
"line":
|
3723
|
+
"line": 112
|
3662
3724
|
},
|
3663
3725
|
"name": "logRetention",
|
3664
3726
|
"optional": true,
|
@@ -3675,7 +3737,7 @@
|
|
3675
3737
|
"immutable": true,
|
3676
3738
|
"locationInModule": {
|
3677
3739
|
"filename": "src/construct-hub.ts",
|
3678
|
-
"line":
|
3740
|
+
"line": 155
|
3679
3741
|
},
|
3680
3742
|
"name": "packageLinks",
|
3681
3743
|
"optional": true,
|
@@ -3698,7 +3760,7 @@
|
|
3698
3760
|
"immutable": true,
|
3699
3761
|
"locationInModule": {
|
3700
3762
|
"filename": "src/construct-hub.ts",
|
3701
|
-
"line":
|
3763
|
+
"line": 132
|
3702
3764
|
},
|
3703
3765
|
"name": "packageSources",
|
3704
3766
|
"optional": true,
|
@@ -3720,7 +3782,7 @@
|
|
3720
3782
|
"immutable": true,
|
3721
3783
|
"locationInModule": {
|
3722
3784
|
"filename": "src/construct-hub.ts",
|
3723
|
-
"line":
|
3785
|
+
"line": 165
|
3724
3786
|
},
|
3725
3787
|
"name": "packageTagGroups",
|
3726
3788
|
"optional": true,
|
@@ -3742,7 +3804,7 @@
|
|
3742
3804
|
"immutable": true,
|
3743
3805
|
"locationInModule": {
|
3744
3806
|
"filename": "src/construct-hub.ts",
|
3745
|
-
"line":
|
3807
|
+
"line": 160
|
3746
3808
|
},
|
3747
3809
|
"name": "packageTags",
|
3748
3810
|
"optional": true,
|
@@ -3765,7 +3827,7 @@
|
|
3765
3827
|
"immutable": true,
|
3766
3828
|
"locationInModule": {
|
3767
3829
|
"filename": "src/construct-hub.ts",
|
3768
|
-
"line":
|
3830
|
+
"line": 228
|
3769
3831
|
},
|
3770
3832
|
"name": "preloadScript",
|
3771
3833
|
"optional": true,
|
@@ -3785,7 +3847,7 @@
|
|
3785
3847
|
"immutable": true,
|
3786
3848
|
"locationInModule": {
|
3787
3849
|
"filename": "src/construct-hub.ts",
|
3788
|
-
"line":
|
3850
|
+
"line": 213
|
3789
3851
|
},
|
3790
3852
|
"name": "reprocessFrequency",
|
3791
3853
|
"optional": true,
|
@@ -3804,7 +3866,7 @@
|
|
3804
3866
|
"immutable": true,
|
3805
3867
|
"locationInModule": {
|
3806
3868
|
"filename": "src/construct-hub.ts",
|
3807
|
-
"line":
|
3869
|
+
"line": 105
|
3808
3870
|
},
|
3809
3871
|
"name": "sensitiveTaskIsolation",
|
3810
3872
|
"optional": true,
|
@@ -4247,7 +4309,7 @@
|
|
4247
4309
|
"kind": "interface",
|
4248
4310
|
"locationInModule": {
|
4249
4311
|
"filename": "src/construct-hub.ts",
|
4250
|
-
"line":
|
4312
|
+
"line": 48
|
4251
4313
|
},
|
4252
4314
|
"name": "FeedConfiguration",
|
4253
4315
|
"properties": [
|
@@ -4260,7 +4322,7 @@
|
|
4260
4322
|
"immutable": true,
|
4261
4323
|
"locationInModule": {
|
4262
4324
|
"filename": "src/construct-hub.ts",
|
4263
|
-
"line":
|
4325
|
+
"line": 62
|
4264
4326
|
},
|
4265
4327
|
"name": "feedDescription",
|
4266
4328
|
"optional": true,
|
@@ -4277,7 +4339,7 @@
|
|
4277
4339
|
"immutable": true,
|
4278
4340
|
"locationInModule": {
|
4279
4341
|
"filename": "src/construct-hub.ts",
|
4280
|
-
"line":
|
4342
|
+
"line": 57
|
4281
4343
|
},
|
4282
4344
|
"name": "feedTitle",
|
4283
4345
|
"optional": true,
|
@@ -4295,7 +4357,7 @@
|
|
4295
4357
|
"immutable": true,
|
4296
4358
|
"locationInModule": {
|
4297
4359
|
"filename": "src/construct-hub.ts",
|
4298
|
-
"line":
|
4360
|
+
"line": 52
|
4299
4361
|
},
|
4300
4362
|
"name": "githubTokenSecret",
|
4301
4363
|
"optional": true,
|
@@ -4589,7 +4651,7 @@
|
|
4589
4651
|
},
|
4590
4652
|
"name": "alarm",
|
4591
4653
|
"type": {
|
4592
|
-
"fqn": "aws-cdk-lib.aws_cloudwatch.
|
4654
|
+
"fqn": "aws-cdk-lib.aws_cloudwatch.AlarmBase"
|
4593
4655
|
}
|
4594
4656
|
}
|
4595
4657
|
]
|
@@ -4622,7 +4684,7 @@
|
|
4622
4684
|
},
|
4623
4685
|
"name": "alarm",
|
4624
4686
|
"type": {
|
4625
|
-
"fqn": "aws-cdk-lib.aws_cloudwatch.
|
4687
|
+
"fqn": "aws-cdk-lib.aws_cloudwatch.AlarmBase"
|
4626
4688
|
}
|
4627
4689
|
}
|
4628
4690
|
]
|
@@ -4826,7 +4888,7 @@
|
|
4826
4888
|
"kind": "enum",
|
4827
4889
|
"locationInModule": {
|
4828
4890
|
"filename": "src/construct-hub.ts",
|
4829
|
-
"line":
|
4891
|
+
"line": 700
|
4830
4892
|
},
|
4831
4893
|
"members": [
|
4832
4894
|
{
|
@@ -16215,7 +16277,7 @@
|
|
16215
16277
|
},
|
16216
16278
|
"locationInModule": {
|
16217
16279
|
"filename": "src/package-sources/npmjs.ts",
|
16218
|
-
"line":
|
16280
|
+
"line": 96
|
16219
16281
|
},
|
16220
16282
|
"parameters": [
|
16221
16283
|
{
|
@@ -16233,7 +16295,7 @@
|
|
16233
16295
|
"kind": "class",
|
16234
16296
|
"locationInModule": {
|
16235
16297
|
"filename": "src/package-sources/npmjs.ts",
|
16236
|
-
"line":
|
16298
|
+
"line": 95
|
16237
16299
|
},
|
16238
16300
|
"methods": [
|
16239
16301
|
{
|
@@ -16243,7 +16305,7 @@
|
|
16243
16305
|
},
|
16244
16306
|
"locationInModule": {
|
16245
16307
|
"filename": "src/package-sources/npmjs.ts",
|
16246
|
-
"line":
|
16308
|
+
"line": 98
|
16247
16309
|
},
|
16248
16310
|
"name": "bind",
|
16249
16311
|
"overrides": "construct-hub.IPackageSource",
|
@@ -16274,7 +16336,7 @@
|
|
16274
16336
|
},
|
16275
16337
|
"locationInModule": {
|
16276
16338
|
"filename": "src/package-sources/npmjs.ts",
|
16277
|
-
"line":
|
16339
|
+
"line": 328
|
16278
16340
|
},
|
16279
16341
|
"name": "metricBatchProcessingTime",
|
16280
16342
|
"parameters": [
|
@@ -16299,7 +16361,7 @@
|
|
16299
16361
|
},
|
16300
16362
|
"locationInModule": {
|
16301
16363
|
"filename": "src/package-sources/npmjs.ts",
|
16302
|
-
"line":
|
16364
|
+
"line": 341
|
16303
16365
|
},
|
16304
16366
|
"name": "metricChangeCount",
|
16305
16367
|
"parameters": [
|
@@ -16325,7 +16387,7 @@
|
|
16325
16387
|
},
|
16326
16388
|
"locationInModule": {
|
16327
16389
|
"filename": "src/package-sources/npmjs.ts",
|
16328
|
-
"line":
|
16390
|
+
"line": 355
|
16329
16391
|
},
|
16330
16392
|
"name": "metricLastSeq",
|
16331
16393
|
"parameters": [
|
@@ -16349,7 +16411,7 @@
|
|
16349
16411
|
},
|
16350
16412
|
"locationInModule": {
|
16351
16413
|
"filename": "src/package-sources/npmjs.ts",
|
16352
|
-
"line":
|
16414
|
+
"line": 365
|
16353
16415
|
},
|
16354
16416
|
"name": "metricNpmJsChangeAge",
|
16355
16417
|
"parameters": [
|
@@ -16374,7 +16436,7 @@
|
|
16374
16436
|
},
|
16375
16437
|
"locationInModule": {
|
16376
16438
|
"filename": "src/package-sources/npmjs.ts",
|
16377
|
-
"line":
|
16439
|
+
"line": 378
|
16378
16440
|
},
|
16379
16441
|
"name": "metricPackageVersionAge",
|
16380
16442
|
"parameters": [
|
@@ -16399,7 +16461,7 @@
|
|
16399
16461
|
},
|
16400
16462
|
"locationInModule": {
|
16401
16463
|
"filename": "src/package-sources/npmjs.ts",
|
16402
|
-
"line":
|
16464
|
+
"line": 391
|
16403
16465
|
},
|
16404
16466
|
"name": "metricPackageVersionCount",
|
16405
16467
|
"parameters": [
|
@@ -16424,7 +16486,7 @@
|
|
16424
16486
|
},
|
16425
16487
|
"locationInModule": {
|
16426
16488
|
"filename": "src/package-sources/npmjs.ts",
|
16427
|
-
"line":
|
16489
|
+
"line": 404
|
16428
16490
|
},
|
16429
16491
|
"name": "metricRelevantPackageVersions",
|
16430
16492
|
"parameters": [
|
@@ -16449,7 +16511,7 @@
|
|
16449
16511
|
},
|
16450
16512
|
"locationInModule": {
|
16451
16513
|
"filename": "src/package-sources/npmjs.ts",
|
16452
|
-
"line":
|
16514
|
+
"line": 418
|
16453
16515
|
},
|
16454
16516
|
"name": "metricRemainingTime",
|
16455
16517
|
"parameters": [
|
@@ -16474,7 +16536,7 @@
|
|
16474
16536
|
},
|
16475
16537
|
"locationInModule": {
|
16476
16538
|
"filename": "src/package-sources/npmjs.ts",
|
16477
|
-
"line":
|
16539
|
+
"line": 432
|
16478
16540
|
},
|
16479
16541
|
"name": "metricUnprocessableEntity",
|
16480
16542
|
"parameters": [
|
@@ -16507,7 +16569,7 @@
|
|
16507
16569
|
"kind": "interface",
|
16508
16570
|
"locationInModule": {
|
16509
16571
|
"filename": "src/package-sources/npmjs.ts",
|
16510
|
-
"line":
|
16572
|
+
"line": 58
|
16511
16573
|
},
|
16512
16574
|
"name": "NpmJsProps",
|
16513
16575
|
"namespace": "sources",
|
@@ -16522,7 +16584,7 @@
|
|
16522
16584
|
"immutable": true,
|
16523
16585
|
"locationInModule": {
|
16524
16586
|
"filename": "src/package-sources/npmjs.ts",
|
16525
|
-
"line":
|
16587
|
+
"line": 80
|
16526
16588
|
},
|
16527
16589
|
"name": "canaryPackage",
|
16528
16590
|
"optional": true,
|
@@ -16541,7 +16603,7 @@
|
|
16541
16603
|
"immutable": true,
|
16542
16604
|
"locationInModule": {
|
16543
16605
|
"filename": "src/package-sources/npmjs.ts",
|
16544
|
-
"line":
|
16606
|
+
"line": 89
|
16545
16607
|
},
|
16546
16608
|
"name": "canarySla",
|
16547
16609
|
"optional": true,
|
@@ -16559,7 +16621,7 @@
|
|
16559
16621
|
"immutable": true,
|
16560
16622
|
"locationInModule": {
|
16561
16623
|
"filename": "src/package-sources/npmjs.ts",
|
16562
|
-
"line":
|
16624
|
+
"line": 72
|
16563
16625
|
},
|
16564
16626
|
"name": "enableCanary",
|
16565
16627
|
"optional": true,
|
@@ -16577,7 +16639,7 @@
|
|
16577
16639
|
"immutable": true,
|
16578
16640
|
"locationInModule": {
|
16579
16641
|
"filename": "src/package-sources/npmjs.ts",
|
16580
|
-
"line":
|
16642
|
+
"line": 64
|
16581
16643
|
},
|
16582
16644
|
"name": "stagingBucket",
|
16583
16645
|
"optional": true,
|
@@ -16589,6 +16651,6 @@
|
|
16589
16651
|
"symbolId": "src/package-sources/npmjs:NpmJsProps"
|
16590
16652
|
}
|
16591
16653
|
},
|
16592
|
-
"version": "0.4.
|
16593
|
-
"fingerprint": "
|
16654
|
+
"version": "0.4.6",
|
16655
|
+
"fingerprint": "SQlDa8sKOmg48L3FvgMiodfZ2hsxN24ZUk13u9TWIFw="
|
16594
16656
|
}
|
package/API.md
CHANGED
@@ -103,8 +103,11 @@ Any object.
|
|
103
103
|
| **Name** | **Type** | **Description** |
|
104
104
|
| --- | --- | --- |
|
105
105
|
| <code><a href="#construct-hub.ConstructHub.property.node">node</a></code> | <code>constructs.Node</code> | The tree node. |
|
106
|
+
| <code><a href="#construct-hub.ConstructHub.property.allAlarms">allAlarms</a></code> | <code>aws-cdk-lib.aws_cloudwatch.IAlarm[]</code> | Returns a list of all alarms configured by this ConstructHub instance. |
|
106
107
|
| <code><a href="#construct-hub.ConstructHub.property.grantPrincipal">grantPrincipal</a></code> | <code>aws-cdk-lib.aws_iam.IPrincipal</code> | The principal to grant permissions to. |
|
108
|
+
| <code><a href="#construct-hub.ConstructHub.property.highSeverityAlarms">highSeverityAlarms</a></code> | <code>aws-cdk-lib.aws_cloudwatch.IAlarm[]</code> | Returns a list of all high-severity alarms from this ConstructHub instance. |
|
107
109
|
| <code><a href="#construct-hub.ConstructHub.property.ingestionQueue">ingestionQueue</a></code> | <code>aws-cdk-lib.aws_sqs.IQueue</code> | *No description.* |
|
110
|
+
| <code><a href="#construct-hub.ConstructHub.property.lowSeverityAlarms">lowSeverityAlarms</a></code> | <code>aws-cdk-lib.aws_cloudwatch.IAlarm[]</code> | Returns a list of all low-severity alarms from this ConstructHub instance. |
|
108
111
|
|
109
112
|
---
|
110
113
|
|
@@ -120,6 +123,18 @@ The tree node.
|
|
120
123
|
|
121
124
|
---
|
122
125
|
|
126
|
+
##### `allAlarms`<sup>Required</sup> <a name="allAlarms" id="construct-hub.ConstructHub.property.allAlarms"></a>
|
127
|
+
|
128
|
+
```typescript
|
129
|
+
public readonly allAlarms: IAlarm[];
|
130
|
+
```
|
131
|
+
|
132
|
+
- *Type:* aws-cdk-lib.aws_cloudwatch.IAlarm[]
|
133
|
+
|
134
|
+
Returns a list of all alarms configured by this ConstructHub instance.
|
135
|
+
|
136
|
+
---
|
137
|
+
|
123
138
|
##### `grantPrincipal`<sup>Required</sup> <a name="grantPrincipal" id="construct-hub.ConstructHub.property.grantPrincipal"></a>
|
124
139
|
|
125
140
|
```typescript
|
@@ -132,6 +147,21 @@ The principal to grant permissions to.
|
|
132
147
|
|
133
148
|
---
|
134
149
|
|
150
|
+
##### `highSeverityAlarms`<sup>Required</sup> <a name="highSeverityAlarms" id="construct-hub.ConstructHub.property.highSeverityAlarms"></a>
|
151
|
+
|
152
|
+
```typescript
|
153
|
+
public readonly highSeverityAlarms: IAlarm[];
|
154
|
+
```
|
155
|
+
|
156
|
+
- *Type:* aws-cdk-lib.aws_cloudwatch.IAlarm[]
|
157
|
+
|
158
|
+
Returns a list of all high-severity alarms from this ConstructHub instance.
|
159
|
+
|
160
|
+
These warrant immediate attention as they are indicative of a system health
|
161
|
+
issue.
|
162
|
+
|
163
|
+
---
|
164
|
+
|
135
165
|
##### `ingestionQueue`<sup>Required</sup> <a name="ingestionQueue" id="construct-hub.ConstructHub.property.ingestionQueue"></a>
|
136
166
|
|
137
167
|
```typescript
|
@@ -142,6 +172,22 @@ public readonly ingestionQueue: IQueue;
|
|
142
172
|
|
143
173
|
---
|
144
174
|
|
175
|
+
##### `lowSeverityAlarms`<sup>Required</sup> <a name="lowSeverityAlarms" id="construct-hub.ConstructHub.property.lowSeverityAlarms"></a>
|
176
|
+
|
177
|
+
```typescript
|
178
|
+
public readonly lowSeverityAlarms: IAlarm[];
|
179
|
+
```
|
180
|
+
|
181
|
+
- *Type:* aws-cdk-lib.aws_cloudwatch.IAlarm[]
|
182
|
+
|
183
|
+
Returns a list of all low-severity alarms from this ConstructHub instance.
|
184
|
+
|
185
|
+
These do not necessitate immediate attention, as they do not have direct
|
186
|
+
customer-visible impact, or handling is not time-sensitive. They indicate
|
187
|
+
that something unusual (not necessarily bad) is happening.
|
188
|
+
|
189
|
+
---
|
190
|
+
|
145
191
|
|
146
192
|
### S3StorageFactory <a name="S3StorageFactory" id="construct-hub.S3StorageFactory"></a>
|
147
193
|
|
@@ -10711,7 +10757,7 @@ ConstructHub monitoring features exposed to extension points.
|
|
10711
10757
|
##### `addHighSeverityAlarm` <a name="addHighSeverityAlarm" id="construct-hub.IMonitoring.addHighSeverityAlarm"></a>
|
10712
10758
|
|
10713
10759
|
```typescript
|
10714
|
-
public addHighSeverityAlarm(title: string, alarm:
|
10760
|
+
public addHighSeverityAlarm(title: string, alarm: AlarmBase): void
|
10715
10761
|
```
|
10716
10762
|
|
10717
10763
|
Adds a high-severity alarm.
|
@@ -10729,7 +10775,7 @@ a user-friendly title for the alarm (will be rendered on the high-severity Cloud
|
|
10729
10775
|
|
10730
10776
|
###### `alarm`<sup>Required</sup> <a name="alarm" id="construct-hub.IMonitoring.addHighSeverityAlarm.parameter.alarm"></a>
|
10731
10777
|
|
10732
|
-
- *Type:* aws-cdk-lib.aws_cloudwatch.
|
10778
|
+
- *Type:* aws-cdk-lib.aws_cloudwatch.AlarmBase
|
10733
10779
|
|
10734
10780
|
the alarm to be added to the high-severity dashboard.
|
10735
10781
|
|
@@ -10738,7 +10784,7 @@ the alarm to be added to the high-severity dashboard.
|
|
10738
10784
|
##### `addLowSeverityAlarm` <a name="addLowSeverityAlarm" id="construct-hub.IMonitoring.addLowSeverityAlarm"></a>
|
10739
10785
|
|
10740
10786
|
```typescript
|
10741
|
-
public addLowSeverityAlarm(title: string, alarm:
|
10787
|
+
public addLowSeverityAlarm(title: string, alarm: AlarmBase): void
|
10742
10788
|
```
|
10743
10789
|
|
10744
10790
|
Adds a low-severity alarm.
|
@@ -10756,7 +10802,7 @@ a user-friendly title for the alarm (not currently used).
|
|
10756
10802
|
|
10757
10803
|
###### `alarm`<sup>Required</sup> <a name="alarm" id="construct-hub.IMonitoring.addLowSeverityAlarm.parameter.alarm"></a>
|
10758
10804
|
|
10759
|
-
- *Type:* aws-cdk-lib.aws_cloudwatch.
|
10805
|
+
- *Type:* aws-cdk-lib.aws_cloudwatch.AlarmBase
|
10760
10806
|
|
10761
10807
|
the alarm to be added.
|
10762
10808
|
|
package/changelog.md
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
|
2
|
-
### [0.4.
|
2
|
+
### [0.4.6](https://github.com/cdklabs/construct-hub/compare/v0.4.5...v0.4.6) (2022-05-16)
|
3
3
|
|
4
4
|
|
5
|
-
###
|
5
|
+
### Features
|
6
6
|
|
7
|
-
*
|
7
|
+
* expose alarm sets publicly ([#897](https://github.com/cdklabs/construct-hub/issues/897)) ([dabb6cd](https://github.com/cdklabs/construct-hub/commit/dabb6cd2a664458817f289d69e7ffb74b0ba67ff))
|