From 6d313dd69b20c984b6d31ee00676c542a27a60b2 Mon Sep 17 00:00:00 2001 From: Christopher Rybicki Date: Fri, 28 Jan 2022 00:57:55 -0800 Subject: [PATCH] chore: decrease inventory canary alarm severity (#733) On the public Construct Hub we've received alarms about the inventory canary timing out due to the large number of packages it is trying to analyze. This inventory canary isn't critical to the Construct Hub's customer-facing behavior since none of the metrics are directly tied to other alarms, so I've changed the alarm to low severity. I also increased the timeout / schedule rate of the canary to resolve the actual timeout issue we are having, and created the issue #732 for tracking a long-term fix. --- .../__snapshots__/construct-hub.test.ts.snap | 280 +++++------------- .../__snapshots__/snapshot.test.ts.snap | 70 ++--- src/backend/inventory/index.ts | 67 ++--- 3 files changed, 132 insertions(+), 285 deletions(-) diff --git a/src/__tests__/__snapshots__/construct-hub.test.ts.snap b/src/__tests__/__snapshots__/construct-hub.test.ts.snap index 5b1e2fcd2..21cc6dc1b 100644 --- a/src/__tests__/__snapshots__/construct-hub.test.ts.snap +++ b/src/__tests__/__snapshots__/construct-hub.test.ts.snap @@ -644,11 +644,11 @@ def submit_response(event: dict, context, response_status: str, error_message: s Object { "Ref": "AWS::Region", }, - "\\",\\"metrics\\":[[\\"ConstructHub/Inventory\\",\\"SubmoduleCount\\",{\\"label\\":\\"Submodules\\",\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"PackageVersionCount\\",{\\"label\\":\\"Package Versions\\",\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"PackageMajorVersionCount\\",{\\"label\\":\\"Package Majors\\",\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"PackageCount\\",{\\"label\\":\\"Packages\\",\\"stat\\":\\"Maximum\\"}]],\\"yAxis\\":{\\"left\\":{\\"min\\":0}}}},{\\"type\\":\\"metric\\",\\"width\\":12,\\"height\\":6,\\"x\\":12,\\"y\\":2,\\"properties\\":{\\"view\\":\\"timeSeries\\",\\"title\\":\\"Catalog Issues\\",\\"region\\":\\"", + "\\",\\"metrics\\":[[\\"ConstructHub/Inventory\\",\\"SubmoduleCount\\",{\\"label\\":\\"Submodules\\",\\"period\\":900,\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"PackageVersionCount\\",{\\"label\\":\\"Package Versions\\",\\"period\\":900,\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"PackageMajorVersionCount\\",{\\"label\\":\\"Package Majors\\",\\"period\\":900,\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"PackageCount\\",{\\"label\\":\\"Packages\\",\\"period\\":900,\\"stat\\":\\"Maximum\\"}]],\\"yAxis\\":{\\"left\\":{\\"min\\":0}}}},{\\"type\\":\\"metric\\",\\"width\\":12,\\"height\\":6,\\"x\\":12,\\"y\\":2,\\"properties\\":{\\"view\\":\\"timeSeries\\",\\"title\\":\\"Catalog Issues\\",\\"region\\":\\"", Object { "Ref": "AWS::Region", }, - "\\",\\"metrics\\":[[\\"ConstructHub/Inventory\\",\\"UnknownObjectCount\\",{\\"label\\":\\"Unknown\\",\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"MissingAssemblyCount\\",{\\"label\\":\\"Missing Assembly\\",\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"MissingPackageMetadataCount\\",{\\"label\\":\\"Missing Metadata\\",\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"MissingPackageTarballCount\\",{\\"label\\":\\"Missing Tarball\\",\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"UninstallablePackageCount\\",{\\"label\\":\\"Uninstallable Package\\",\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/CatalogBuilder\\",\\"MissingConstructFrameworkCount\\",{\\"label\\":\\"No Construct Framework\\",\\"period\\":900,\\"stat\\":\\"Maximum\\",\\"yAxis\\":\\"right\\"}],[\\"ConstructHub/CatalogBuilder\\",\\"MissingConstructFrameworkVersionCount\\",{\\"label\\":\\"No Construct Framework Version\\",\\"period\\":900,\\"stat\\":\\"Maximum\\",\\"yAxis\\":\\"right\\"}]],\\"yAxis\\":{\\"left\\":{\\"min\\":0},\\"right\\":{\\"min\\":0}}}},{\\"type\\":\\"text\\",\\"width\\":24,\\"height\\":2,\\"x\\":0,\\"y\\":8,\\"properties\\":{\\"markdown\\":\\"# Documentation Generation\\\\n\\\\n[button:primary:Transliterator Logs](/cloudwatch/home#logsV2:log-groups/log-group/", + "\\",\\"metrics\\":[[\\"ConstructHub/Inventory\\",\\"UnknownObjectCount\\",{\\"label\\":\\"Unknown\\",\\"period\\":900,\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"MissingAssemblyCount\\",{\\"label\\":\\"Missing Assembly\\",\\"period\\":900,\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"MissingPackageMetadataCount\\",{\\"label\\":\\"Missing Metadata\\",\\"period\\":900,\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"MissingPackageTarballCount\\",{\\"label\\":\\"Missing Tarball\\",\\"period\\":900,\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"UninstallablePackageCount\\",{\\"label\\":\\"Uninstallable Package\\",\\"period\\":900,\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/CatalogBuilder\\",\\"MissingConstructFrameworkCount\\",{\\"label\\":\\"No Construct Framework\\",\\"period\\":900,\\"stat\\":\\"Maximum\\",\\"yAxis\\":\\"right\\"}],[\\"ConstructHub/CatalogBuilder\\",\\"MissingConstructFrameworkVersionCount\\",{\\"label\\":\\"No Construct Framework Version\\",\\"period\\":900,\\"stat\\":\\"Maximum\\",\\"yAxis\\":\\"right\\"}]],\\"yAxis\\":{\\"left\\":{\\"min\\":0},\\"right\\":{\\"min\\":0}}}},{\\"type\\":\\"text\\",\\"width\\":24,\\"height\\":2,\\"x\\":0,\\"y\\":8,\\"properties\\":{\\"markdown\\":\\"# Documentation Generation\\\\n\\\\n[button:primary:Transliterator Logs](/cloudwatch/home#logsV2:log-groups/log-group/", Object { "Fn::Join": Array [ "%252", @@ -706,35 +706,35 @@ def submit_response(event: dict, context, response_status: str, error_message: s Object { "Ref": "AWS::Region", }, - "\\",\\"metrics\\":[[\\"ConstructHub/Inventory\\",\\"SupportedPackageVersionCount\\",\\"Language\\",\\"typescript\\",{\\"color\\":\\"#2ca02c\\",\\"label\\":\\"Available\\",\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"CorruptAssemblyPackageVersionCount\\",\\"Language\\",\\"typescript\\",{\\"color\\":\\"#3542D7\\",\\"label\\":\\"Corrupt Assembly\\",\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"UnsupportedPackageVersionCount\\",\\"Language\\",\\"typescript\\",{\\"color\\":\\"#9467bd\\",\\"label\\":\\"Unsupported\\",\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"MissingPackageVersionCount\\",\\"Language\\",\\"typescript\\",{\\"color\\":\\"#d62728\\",\\"label\\":\\"Missing\\",\\"stat\\":\\"Maximum\\"}]],\\"yAxis\\":{\\"left\\":{\\"showUnits\\":false}}}},{\\"type\\":\\"metric\\",\\"width\\":12,\\"height\\":6,\\"x\\":12,\\"y\\":17,\\"properties\\":{\\"view\\":\\"pie\\",\\"title\\":\\"Package Version Submodules\\",\\"region\\":\\"", + "\\",\\"metrics\\":[[\\"ConstructHub/Inventory\\",\\"SupportedPackageVersionCount\\",\\"Language\\",\\"typescript\\",{\\"color\\":\\"#2ca02c\\",\\"label\\":\\"Available\\",\\"period\\":900,\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"CorruptAssemblyPackageVersionCount\\",\\"Language\\",\\"typescript\\",{\\"color\\":\\"#3542D7\\",\\"label\\":\\"Corrupt Assembly\\",\\"period\\":900,\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"UnsupportedPackageVersionCount\\",\\"Language\\",\\"typescript\\",{\\"color\\":\\"#9467bd\\",\\"label\\":\\"Unsupported\\",\\"period\\":900,\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"MissingPackageVersionCount\\",\\"Language\\",\\"typescript\\",{\\"color\\":\\"#d62728\\",\\"label\\":\\"Missing\\",\\"period\\":900,\\"stat\\":\\"Maximum\\"}]],\\"yAxis\\":{\\"left\\":{\\"showUnits\\":false}}}},{\\"type\\":\\"metric\\",\\"width\\":12,\\"height\\":6,\\"x\\":12,\\"y\\":17,\\"properties\\":{\\"view\\":\\"pie\\",\\"title\\":\\"Package Version Submodules\\",\\"region\\":\\"", Object { "Ref": "AWS::Region", }, - "\\",\\"metrics\\":[[\\"ConstructHub/Inventory\\",\\"SupportedSubmoduleCount\\",\\"Language\\",\\"typescript\\",{\\"color\\":\\"#2ca02c\\",\\"label\\":\\"Available\\",\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"CorruptAssemblySubmoduleCount\\",\\"Language\\",\\"typescript\\",{\\"color\\":\\"#3542D7\\",\\"label\\":\\"Corrupt Assembly\\",\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"UnsupportedSubmoduleCount\\",\\"Language\\",\\"typescript\\",{\\"color\\":\\"#9467bd\\",\\"label\\":\\"Unsupported\\",\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"MissingSubmoduleCount\\",\\"Language\\",\\"typescript\\",{\\"color\\":\\"#d62728\\",\\"label\\":\\"Missing\\",\\"stat\\":\\"Maximum\\"}]],\\"yAxis\\":{\\"left\\":{\\"showUnits\\":false}}}},{\\"type\\":\\"text\\",\\"width\\":24,\\"height\\":1,\\"x\\":0,\\"y\\":23,\\"properties\\":{\\"markdown\\":\\"## Language: python\\"}},{\\"type\\":\\"metric\\",\\"width\\":12,\\"height\\":6,\\"x\\":0,\\"y\\":24,\\"properties\\":{\\"view\\":\\"pie\\",\\"title\\":\\"Package Versions\\",\\"region\\":\\"", + "\\",\\"metrics\\":[[\\"ConstructHub/Inventory\\",\\"SupportedSubmoduleCount\\",\\"Language\\",\\"typescript\\",{\\"color\\":\\"#2ca02c\\",\\"label\\":\\"Available\\",\\"period\\":900,\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"CorruptAssemblySubmoduleCount\\",\\"Language\\",\\"typescript\\",{\\"color\\":\\"#3542D7\\",\\"label\\":\\"Corrupt Assembly\\",\\"period\\":900,\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"UnsupportedSubmoduleCount\\",\\"Language\\",\\"typescript\\",{\\"color\\":\\"#9467bd\\",\\"label\\":\\"Unsupported\\",\\"period\\":900,\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"MissingSubmoduleCount\\",\\"Language\\",\\"typescript\\",{\\"color\\":\\"#d62728\\",\\"label\\":\\"Missing\\",\\"period\\":900,\\"stat\\":\\"Maximum\\"}]],\\"yAxis\\":{\\"left\\":{\\"showUnits\\":false}}}},{\\"type\\":\\"text\\",\\"width\\":24,\\"height\\":1,\\"x\\":0,\\"y\\":23,\\"properties\\":{\\"markdown\\":\\"## Language: python\\"}},{\\"type\\":\\"metric\\",\\"width\\":12,\\"height\\":6,\\"x\\":0,\\"y\\":24,\\"properties\\":{\\"view\\":\\"pie\\",\\"title\\":\\"Package Versions\\",\\"region\\":\\"", Object { "Ref": "AWS::Region", }, - "\\",\\"metrics\\":[[\\"ConstructHub/Inventory\\",\\"SupportedPackageVersionCount\\",\\"Language\\",\\"python\\",{\\"color\\":\\"#2ca02c\\",\\"label\\":\\"Available\\",\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"CorruptAssemblyPackageVersionCount\\",\\"Language\\",\\"python\\",{\\"color\\":\\"#3542D7\\",\\"label\\":\\"Corrupt Assembly\\",\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"UnsupportedPackageVersionCount\\",\\"Language\\",\\"python\\",{\\"color\\":\\"#9467bd\\",\\"label\\":\\"Unsupported\\",\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"MissingPackageVersionCount\\",\\"Language\\",\\"python\\",{\\"color\\":\\"#d62728\\",\\"label\\":\\"Missing\\",\\"stat\\":\\"Maximum\\"}]],\\"yAxis\\":{\\"left\\":{\\"showUnits\\":false}}}},{\\"type\\":\\"metric\\",\\"width\\":12,\\"height\\":6,\\"x\\":12,\\"y\\":24,\\"properties\\":{\\"view\\":\\"pie\\",\\"title\\":\\"Package Version Submodules\\",\\"region\\":\\"", + "\\",\\"metrics\\":[[\\"ConstructHub/Inventory\\",\\"SupportedPackageVersionCount\\",\\"Language\\",\\"python\\",{\\"color\\":\\"#2ca02c\\",\\"label\\":\\"Available\\",\\"period\\":900,\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"CorruptAssemblyPackageVersionCount\\",\\"Language\\",\\"python\\",{\\"color\\":\\"#3542D7\\",\\"label\\":\\"Corrupt Assembly\\",\\"period\\":900,\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"UnsupportedPackageVersionCount\\",\\"Language\\",\\"python\\",{\\"color\\":\\"#9467bd\\",\\"label\\":\\"Unsupported\\",\\"period\\":900,\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"MissingPackageVersionCount\\",\\"Language\\",\\"python\\",{\\"color\\":\\"#d62728\\",\\"label\\":\\"Missing\\",\\"period\\":900,\\"stat\\":\\"Maximum\\"}]],\\"yAxis\\":{\\"left\\":{\\"showUnits\\":false}}}},{\\"type\\":\\"metric\\",\\"width\\":12,\\"height\\":6,\\"x\\":12,\\"y\\":24,\\"properties\\":{\\"view\\":\\"pie\\",\\"title\\":\\"Package Version Submodules\\",\\"region\\":\\"", Object { "Ref": "AWS::Region", }, - "\\",\\"metrics\\":[[\\"ConstructHub/Inventory\\",\\"SupportedSubmoduleCount\\",\\"Language\\",\\"python\\",{\\"color\\":\\"#2ca02c\\",\\"label\\":\\"Available\\",\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"CorruptAssemblySubmoduleCount\\",\\"Language\\",\\"python\\",{\\"color\\":\\"#3542D7\\",\\"label\\":\\"Corrupt Assembly\\",\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"UnsupportedSubmoduleCount\\",\\"Language\\",\\"python\\",{\\"color\\":\\"#9467bd\\",\\"label\\":\\"Unsupported\\",\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"MissingSubmoduleCount\\",\\"Language\\",\\"python\\",{\\"color\\":\\"#d62728\\",\\"label\\":\\"Missing\\",\\"stat\\":\\"Maximum\\"}]],\\"yAxis\\":{\\"left\\":{\\"showUnits\\":false}}}},{\\"type\\":\\"text\\",\\"width\\":24,\\"height\\":1,\\"x\\":0,\\"y\\":30,\\"properties\\":{\\"markdown\\":\\"## Language: java\\"}},{\\"type\\":\\"metric\\",\\"width\\":12,\\"height\\":6,\\"x\\":0,\\"y\\":31,\\"properties\\":{\\"view\\":\\"pie\\",\\"title\\":\\"Package Versions\\",\\"region\\":\\"", + "\\",\\"metrics\\":[[\\"ConstructHub/Inventory\\",\\"SupportedSubmoduleCount\\",\\"Language\\",\\"python\\",{\\"color\\":\\"#2ca02c\\",\\"label\\":\\"Available\\",\\"period\\":900,\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"CorruptAssemblySubmoduleCount\\",\\"Language\\",\\"python\\",{\\"color\\":\\"#3542D7\\",\\"label\\":\\"Corrupt Assembly\\",\\"period\\":900,\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"UnsupportedSubmoduleCount\\",\\"Language\\",\\"python\\",{\\"color\\":\\"#9467bd\\",\\"label\\":\\"Unsupported\\",\\"period\\":900,\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"MissingSubmoduleCount\\",\\"Language\\",\\"python\\",{\\"color\\":\\"#d62728\\",\\"label\\":\\"Missing\\",\\"period\\":900,\\"stat\\":\\"Maximum\\"}]],\\"yAxis\\":{\\"left\\":{\\"showUnits\\":false}}}},{\\"type\\":\\"text\\",\\"width\\":24,\\"height\\":1,\\"x\\":0,\\"y\\":30,\\"properties\\":{\\"markdown\\":\\"## Language: java\\"}},{\\"type\\":\\"metric\\",\\"width\\":12,\\"height\\":6,\\"x\\":0,\\"y\\":31,\\"properties\\":{\\"view\\":\\"pie\\",\\"title\\":\\"Package Versions\\",\\"region\\":\\"", Object { "Ref": "AWS::Region", }, - "\\",\\"metrics\\":[[\\"ConstructHub/Inventory\\",\\"SupportedPackageVersionCount\\",\\"Language\\",\\"java\\",{\\"color\\":\\"#2ca02c\\",\\"label\\":\\"Available\\",\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"CorruptAssemblyPackageVersionCount\\",\\"Language\\",\\"java\\",{\\"color\\":\\"#3542D7\\",\\"label\\":\\"Corrupt Assembly\\",\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"UnsupportedPackageVersionCount\\",\\"Language\\",\\"java\\",{\\"color\\":\\"#9467bd\\",\\"label\\":\\"Unsupported\\",\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"MissingPackageVersionCount\\",\\"Language\\",\\"java\\",{\\"color\\":\\"#d62728\\",\\"label\\":\\"Missing\\",\\"stat\\":\\"Maximum\\"}]],\\"yAxis\\":{\\"left\\":{\\"showUnits\\":false}}}},{\\"type\\":\\"metric\\",\\"width\\":12,\\"height\\":6,\\"x\\":12,\\"y\\":31,\\"properties\\":{\\"view\\":\\"pie\\",\\"title\\":\\"Package Version Submodules\\",\\"region\\":\\"", + "\\",\\"metrics\\":[[\\"ConstructHub/Inventory\\",\\"SupportedPackageVersionCount\\",\\"Language\\",\\"java\\",{\\"color\\":\\"#2ca02c\\",\\"label\\":\\"Available\\",\\"period\\":900,\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"CorruptAssemblyPackageVersionCount\\",\\"Language\\",\\"java\\",{\\"color\\":\\"#3542D7\\",\\"label\\":\\"Corrupt Assembly\\",\\"period\\":900,\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"UnsupportedPackageVersionCount\\",\\"Language\\",\\"java\\",{\\"color\\":\\"#9467bd\\",\\"label\\":\\"Unsupported\\",\\"period\\":900,\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"MissingPackageVersionCount\\",\\"Language\\",\\"java\\",{\\"color\\":\\"#d62728\\",\\"label\\":\\"Missing\\",\\"period\\":900,\\"stat\\":\\"Maximum\\"}]],\\"yAxis\\":{\\"left\\":{\\"showUnits\\":false}}}},{\\"type\\":\\"metric\\",\\"width\\":12,\\"height\\":6,\\"x\\":12,\\"y\\":31,\\"properties\\":{\\"view\\":\\"pie\\",\\"title\\":\\"Package Version Submodules\\",\\"region\\":\\"", Object { "Ref": "AWS::Region", }, - "\\",\\"metrics\\":[[\\"ConstructHub/Inventory\\",\\"SupportedSubmoduleCount\\",\\"Language\\",\\"java\\",{\\"color\\":\\"#2ca02c\\",\\"label\\":\\"Available\\",\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"CorruptAssemblySubmoduleCount\\",\\"Language\\",\\"java\\",{\\"color\\":\\"#3542D7\\",\\"label\\":\\"Corrupt Assembly\\",\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"UnsupportedSubmoduleCount\\",\\"Language\\",\\"java\\",{\\"color\\":\\"#9467bd\\",\\"label\\":\\"Unsupported\\",\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"MissingSubmoduleCount\\",\\"Language\\",\\"java\\",{\\"color\\":\\"#d62728\\",\\"label\\":\\"Missing\\",\\"stat\\":\\"Maximum\\"}]],\\"yAxis\\":{\\"left\\":{\\"showUnits\\":false}}}},{\\"type\\":\\"text\\",\\"width\\":24,\\"height\\":1,\\"x\\":0,\\"y\\":37,\\"properties\\":{\\"markdown\\":\\"## Language: csharp\\"}},{\\"type\\":\\"metric\\",\\"width\\":12,\\"height\\":6,\\"x\\":0,\\"y\\":38,\\"properties\\":{\\"view\\":\\"pie\\",\\"title\\":\\"Package Versions\\",\\"region\\":\\"", + "\\",\\"metrics\\":[[\\"ConstructHub/Inventory\\",\\"SupportedSubmoduleCount\\",\\"Language\\",\\"java\\",{\\"color\\":\\"#2ca02c\\",\\"label\\":\\"Available\\",\\"period\\":900,\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"CorruptAssemblySubmoduleCount\\",\\"Language\\",\\"java\\",{\\"color\\":\\"#3542D7\\",\\"label\\":\\"Corrupt Assembly\\",\\"period\\":900,\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"UnsupportedSubmoduleCount\\",\\"Language\\",\\"java\\",{\\"color\\":\\"#9467bd\\",\\"label\\":\\"Unsupported\\",\\"period\\":900,\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"MissingSubmoduleCount\\",\\"Language\\",\\"java\\",{\\"color\\":\\"#d62728\\",\\"label\\":\\"Missing\\",\\"period\\":900,\\"stat\\":\\"Maximum\\"}]],\\"yAxis\\":{\\"left\\":{\\"showUnits\\":false}}}},{\\"type\\":\\"text\\",\\"width\\":24,\\"height\\":1,\\"x\\":0,\\"y\\":37,\\"properties\\":{\\"markdown\\":\\"## Language: csharp\\"}},{\\"type\\":\\"metric\\",\\"width\\":12,\\"height\\":6,\\"x\\":0,\\"y\\":38,\\"properties\\":{\\"view\\":\\"pie\\",\\"title\\":\\"Package Versions\\",\\"region\\":\\"", Object { "Ref": "AWS::Region", }, - "\\",\\"metrics\\":[[\\"ConstructHub/Inventory\\",\\"SupportedPackageVersionCount\\",\\"Language\\",\\"csharp\\",{\\"color\\":\\"#2ca02c\\",\\"label\\":\\"Available\\",\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"CorruptAssemblyPackageVersionCount\\",\\"Language\\",\\"csharp\\",{\\"color\\":\\"#3542D7\\",\\"label\\":\\"Corrupt Assembly\\",\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"UnsupportedPackageVersionCount\\",\\"Language\\",\\"csharp\\",{\\"color\\":\\"#9467bd\\",\\"label\\":\\"Unsupported\\",\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"MissingPackageVersionCount\\",\\"Language\\",\\"csharp\\",{\\"color\\":\\"#d62728\\",\\"label\\":\\"Missing\\",\\"stat\\":\\"Maximum\\"}]],\\"yAxis\\":{\\"left\\":{\\"showUnits\\":false}}}},{\\"type\\":\\"metric\\",\\"width\\":12,\\"height\\":6,\\"x\\":12,\\"y\\":38,\\"properties\\":{\\"view\\":\\"pie\\",\\"title\\":\\"Package Version Submodules\\",\\"region\\":\\"", + "\\",\\"metrics\\":[[\\"ConstructHub/Inventory\\",\\"SupportedPackageVersionCount\\",\\"Language\\",\\"csharp\\",{\\"color\\":\\"#2ca02c\\",\\"label\\":\\"Available\\",\\"period\\":900,\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"CorruptAssemblyPackageVersionCount\\",\\"Language\\",\\"csharp\\",{\\"color\\":\\"#3542D7\\",\\"label\\":\\"Corrupt Assembly\\",\\"period\\":900,\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"UnsupportedPackageVersionCount\\",\\"Language\\",\\"csharp\\",{\\"color\\":\\"#9467bd\\",\\"label\\":\\"Unsupported\\",\\"period\\":900,\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"MissingPackageVersionCount\\",\\"Language\\",\\"csharp\\",{\\"color\\":\\"#d62728\\",\\"label\\":\\"Missing\\",\\"period\\":900,\\"stat\\":\\"Maximum\\"}]],\\"yAxis\\":{\\"left\\":{\\"showUnits\\":false}}}},{\\"type\\":\\"metric\\",\\"width\\":12,\\"height\\":6,\\"x\\":12,\\"y\\":38,\\"properties\\":{\\"view\\":\\"pie\\",\\"title\\":\\"Package Version Submodules\\",\\"region\\":\\"", Object { "Ref": "AWS::Region", }, - "\\",\\"metrics\\":[[\\"ConstructHub/Inventory\\",\\"SupportedSubmoduleCount\\",\\"Language\\",\\"csharp\\",{\\"color\\":\\"#2ca02c\\",\\"label\\":\\"Available\\",\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"CorruptAssemblySubmoduleCount\\",\\"Language\\",\\"csharp\\",{\\"color\\":\\"#3542D7\\",\\"label\\":\\"Corrupt Assembly\\",\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"UnsupportedSubmoduleCount\\",\\"Language\\",\\"csharp\\",{\\"color\\":\\"#9467bd\\",\\"label\\":\\"Unsupported\\",\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"MissingSubmoduleCount\\",\\"Language\\",\\"csharp\\",{\\"color\\":\\"#d62728\\",\\"label\\":\\"Missing\\",\\"stat\\":\\"Maximum\\"}]],\\"yAxis\\":{\\"left\\":{\\"showUnits\\":false}}}},{\\"type\\":\\"text\\",\\"width\\":24,\\"height\\":2,\\"x\\":0,\\"y\\":44,\\"properties\\":{\\"markdown\\":\\"# Test/ConstructHub/Sources/NpmJs\\\\n\\\\n[button:primary:NpmJs Follower](/lambda/home#/functions/", + "\\",\\"metrics\\":[[\\"ConstructHub/Inventory\\",\\"SupportedSubmoduleCount\\",\\"Language\\",\\"csharp\\",{\\"color\\":\\"#2ca02c\\",\\"label\\":\\"Available\\",\\"period\\":900,\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"CorruptAssemblySubmoduleCount\\",\\"Language\\",\\"csharp\\",{\\"color\\":\\"#3542D7\\",\\"label\\":\\"Corrupt Assembly\\",\\"period\\":900,\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"UnsupportedSubmoduleCount\\",\\"Language\\",\\"csharp\\",{\\"color\\":\\"#9467bd\\",\\"label\\":\\"Unsupported\\",\\"period\\":900,\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"MissingSubmoduleCount\\",\\"Language\\",\\"csharp\\",{\\"color\\":\\"#d62728\\",\\"label\\":\\"Missing\\",\\"period\\":900,\\"stat\\":\\"Maximum\\"}]],\\"yAxis\\":{\\"left\\":{\\"showUnits\\":false}}}},{\\"type\\":\\"text\\",\\"width\\":24,\\"height\\":2,\\"x\\":0,\\"y\\":44,\\"properties\\":{\\"markdown\\":\\"# Test/ConstructHub/Sources/NpmJs\\\\n\\\\n[button:primary:NpmJs Follower](/lambda/home#/functions/", Object { "Ref": "ConstructHubSourcesNpmJs15A77D2D", }, @@ -3404,15 +3404,12 @@ Direct link to the function: /lambda/home#/functions/", ], }, "Runtime": "nodejs14.x", - "Timeout": 300, + "Timeout": 900, }, "Type": "AWS::Lambda::Function", }, "ConstructHubInventoryCanaryFailures5BDA8051": Object { "Properties": Object { - "AlarmActions": Array [ - "arn:aws:sns:us-east-1:123456789012:mystack-mytopic-NZJ5JSMVGFIE", - ], "AlarmDescription": Object { "Fn::Join": Array [ "", @@ -3441,7 +3438,7 @@ Direct link to function: /lambda/home#/functions/", "EvaluationPeriods": 2, "MetricName": "Errors", "Namespace": "AWS/Lambda", - "Period": 300, + "Period": 900, "Statistic": "Sum", "Threshold": 1, }, @@ -3449,9 +3446,6 @@ Direct link to function: /lambda/home#/functions/", }, "ConstructHubInventoryCanaryNotRunningAF44D71C": Object { "Properties": Object { - "AlarmActions": Array [ - "arn:aws:sns:us-east-1:123456789012:mystack-mytopic-NZJ5JSMVGFIE", - ], "AlarmDescription": Object { "Fn::Join": Array [ "", @@ -3480,7 +3474,7 @@ Direct link to function: /lambda/home#/functions/", "EvaluationPeriods": 1, "MetricName": "Invocations", "Namespace": "AWS/Lambda", - "Period": 300, + "Period": 900, "Statistic": "Sum", "Threshold": 1, }, @@ -3491,7 +3485,7 @@ Direct link to function: /lambda/home#/functions/", "ConstructHubInventoryCanaryServiceRoleDefaultPolicy144783F1", ], "Properties": Object { - "ScheduleExpression": "rate(5 minutes)", + "ScheduleExpression": "rate(15 minutes)", "State": "ENABLED", "Targets": Array [ Object { @@ -4042,28 +4036,6 @@ Direct link to function: /lambda/home#/functions/", "Arn", ], }, - "\\"]},\\"yAxis\\":{}}},{\\"type\\":\\"metric\\",\\"width\\":24,\\"height\\":6,\\"x\\":0,\\"y\\":48,\\"properties\\":{\\"view\\":\\"timeSeries\\",\\"title\\":\\"Inventory Canary is not Running\\",\\"region\\":\\"", - Object { - "Ref": "AWS::Region", - }, - "\\",\\"annotations\\":{\\"alarms\\":[\\"", - Object { - "Fn::GetAtt": Array [ - "ConstructHubInventoryCanaryNotRunningAF44D71C", - "Arn", - ], - }, - "\\"]},\\"yAxis\\":{}}},{\\"type\\":\\"metric\\",\\"width\\":24,\\"height\\":6,\\"x\\":0,\\"y\\":54,\\"properties\\":{\\"view\\":\\"timeSeries\\",\\"title\\":\\"Inventory Canary is failing\\",\\"region\\":\\"", - Object { - "Ref": "AWS::Region", - }, - "\\",\\"annotations\\":{\\"alarms\\":[\\"", - Object { - "Fn::GetAtt": Array [ - "ConstructHubInventoryCanaryFailures5BDA8051", - "Arn", - ], - }, "\\"]},\\"yAxis\\":{}}}]}", ], ], @@ -11928,11 +11900,11 @@ def submit_response(event: dict, context, response_status: str, error_message: s Object { "Ref": "AWS::Region", }, - "\\",\\"metrics\\":[[\\"ConstructHub/Inventory\\",\\"SubmoduleCount\\",{\\"label\\":\\"Submodules\\",\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"PackageVersionCount\\",{\\"label\\":\\"Package Versions\\",\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"PackageMajorVersionCount\\",{\\"label\\":\\"Package Majors\\",\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"PackageCount\\",{\\"label\\":\\"Packages\\",\\"stat\\":\\"Maximum\\"}]],\\"yAxis\\":{\\"left\\":{\\"min\\":0}}}},{\\"type\\":\\"metric\\",\\"width\\":12,\\"height\\":6,\\"x\\":12,\\"y\\":2,\\"properties\\":{\\"view\\":\\"timeSeries\\",\\"title\\":\\"Catalog Issues\\",\\"region\\":\\"", + "\\",\\"metrics\\":[[\\"ConstructHub/Inventory\\",\\"SubmoduleCount\\",{\\"label\\":\\"Submodules\\",\\"period\\":900,\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"PackageVersionCount\\",{\\"label\\":\\"Package Versions\\",\\"period\\":900,\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"PackageMajorVersionCount\\",{\\"label\\":\\"Package Majors\\",\\"period\\":900,\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"PackageCount\\",{\\"label\\":\\"Packages\\",\\"period\\":900,\\"stat\\":\\"Maximum\\"}]],\\"yAxis\\":{\\"left\\":{\\"min\\":0}}}},{\\"type\\":\\"metric\\",\\"width\\":12,\\"height\\":6,\\"x\\":12,\\"y\\":2,\\"properties\\":{\\"view\\":\\"timeSeries\\",\\"title\\":\\"Catalog Issues\\",\\"region\\":\\"", Object { "Ref": "AWS::Region", }, - "\\",\\"metrics\\":[[\\"ConstructHub/Inventory\\",\\"UnknownObjectCount\\",{\\"label\\":\\"Unknown\\",\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"MissingAssemblyCount\\",{\\"label\\":\\"Missing Assembly\\",\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"MissingPackageMetadataCount\\",{\\"label\\":\\"Missing Metadata\\",\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"MissingPackageTarballCount\\",{\\"label\\":\\"Missing Tarball\\",\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"UninstallablePackageCount\\",{\\"label\\":\\"Uninstallable Package\\",\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/CatalogBuilder\\",\\"MissingConstructFrameworkCount\\",{\\"label\\":\\"No Construct Framework\\",\\"period\\":900,\\"stat\\":\\"Maximum\\",\\"yAxis\\":\\"right\\"}],[\\"ConstructHub/CatalogBuilder\\",\\"MissingConstructFrameworkVersionCount\\",{\\"label\\":\\"No Construct Framework Version\\",\\"period\\":900,\\"stat\\":\\"Maximum\\",\\"yAxis\\":\\"right\\"}]],\\"yAxis\\":{\\"left\\":{\\"min\\":0},\\"right\\":{\\"min\\":0}}}},{\\"type\\":\\"text\\",\\"width\\":24,\\"height\\":2,\\"x\\":0,\\"y\\":8,\\"properties\\":{\\"markdown\\":\\"# Documentation Generation\\\\n\\\\n[button:primary:Transliterator Logs](/cloudwatch/home#logsV2:log-groups/log-group/", + "\\",\\"metrics\\":[[\\"ConstructHub/Inventory\\",\\"UnknownObjectCount\\",{\\"label\\":\\"Unknown\\",\\"period\\":900,\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"MissingAssemblyCount\\",{\\"label\\":\\"Missing Assembly\\",\\"period\\":900,\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"MissingPackageMetadataCount\\",{\\"label\\":\\"Missing Metadata\\",\\"period\\":900,\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"MissingPackageTarballCount\\",{\\"label\\":\\"Missing Tarball\\",\\"period\\":900,\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"UninstallablePackageCount\\",{\\"label\\":\\"Uninstallable Package\\",\\"period\\":900,\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/CatalogBuilder\\",\\"MissingConstructFrameworkCount\\",{\\"label\\":\\"No Construct Framework\\",\\"period\\":900,\\"stat\\":\\"Maximum\\",\\"yAxis\\":\\"right\\"}],[\\"ConstructHub/CatalogBuilder\\",\\"MissingConstructFrameworkVersionCount\\",{\\"label\\":\\"No Construct Framework Version\\",\\"period\\":900,\\"stat\\":\\"Maximum\\",\\"yAxis\\":\\"right\\"}]],\\"yAxis\\":{\\"left\\":{\\"min\\":0},\\"right\\":{\\"min\\":0}}}},{\\"type\\":\\"text\\",\\"width\\":24,\\"height\\":2,\\"x\\":0,\\"y\\":8,\\"properties\\":{\\"markdown\\":\\"# Documentation Generation\\\\n\\\\n[button:primary:Transliterator Logs](/cloudwatch/home#logsV2:log-groups/log-group/", Object { "Fn::Join": Array [ "%252", @@ -11990,35 +11962,35 @@ def submit_response(event: dict, context, response_status: str, error_message: s Object { "Ref": "AWS::Region", }, - "\\",\\"metrics\\":[[\\"ConstructHub/Inventory\\",\\"SupportedPackageVersionCount\\",\\"Language\\",\\"typescript\\",{\\"color\\":\\"#2ca02c\\",\\"label\\":\\"Available\\",\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"CorruptAssemblyPackageVersionCount\\",\\"Language\\",\\"typescript\\",{\\"color\\":\\"#3542D7\\",\\"label\\":\\"Corrupt Assembly\\",\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"UnsupportedPackageVersionCount\\",\\"Language\\",\\"typescript\\",{\\"color\\":\\"#9467bd\\",\\"label\\":\\"Unsupported\\",\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"MissingPackageVersionCount\\",\\"Language\\",\\"typescript\\",{\\"color\\":\\"#d62728\\",\\"label\\":\\"Missing\\",\\"stat\\":\\"Maximum\\"}]],\\"yAxis\\":{\\"left\\":{\\"showUnits\\":false}}}},{\\"type\\":\\"metric\\",\\"width\\":12,\\"height\\":6,\\"x\\":12,\\"y\\":17,\\"properties\\":{\\"view\\":\\"pie\\",\\"title\\":\\"Package Version Submodules\\",\\"region\\":\\"", + "\\",\\"metrics\\":[[\\"ConstructHub/Inventory\\",\\"SupportedPackageVersionCount\\",\\"Language\\",\\"typescript\\",{\\"color\\":\\"#2ca02c\\",\\"label\\":\\"Available\\",\\"period\\":900,\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"CorruptAssemblyPackageVersionCount\\",\\"Language\\",\\"typescript\\",{\\"color\\":\\"#3542D7\\",\\"label\\":\\"Corrupt Assembly\\",\\"period\\":900,\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"UnsupportedPackageVersionCount\\",\\"Language\\",\\"typescript\\",{\\"color\\":\\"#9467bd\\",\\"label\\":\\"Unsupported\\",\\"period\\":900,\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"MissingPackageVersionCount\\",\\"Language\\",\\"typescript\\",{\\"color\\":\\"#d62728\\",\\"label\\":\\"Missing\\",\\"period\\":900,\\"stat\\":\\"Maximum\\"}]],\\"yAxis\\":{\\"left\\":{\\"showUnits\\":false}}}},{\\"type\\":\\"metric\\",\\"width\\":12,\\"height\\":6,\\"x\\":12,\\"y\\":17,\\"properties\\":{\\"view\\":\\"pie\\",\\"title\\":\\"Package Version Submodules\\",\\"region\\":\\"", Object { "Ref": "AWS::Region", }, - "\\",\\"metrics\\":[[\\"ConstructHub/Inventory\\",\\"SupportedSubmoduleCount\\",\\"Language\\",\\"typescript\\",{\\"color\\":\\"#2ca02c\\",\\"label\\":\\"Available\\",\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"CorruptAssemblySubmoduleCount\\",\\"Language\\",\\"typescript\\",{\\"color\\":\\"#3542D7\\",\\"label\\":\\"Corrupt Assembly\\",\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"UnsupportedSubmoduleCount\\",\\"Language\\",\\"typescript\\",{\\"color\\":\\"#9467bd\\",\\"label\\":\\"Unsupported\\",\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"MissingSubmoduleCount\\",\\"Language\\",\\"typescript\\",{\\"color\\":\\"#d62728\\",\\"label\\":\\"Missing\\",\\"stat\\":\\"Maximum\\"}]],\\"yAxis\\":{\\"left\\":{\\"showUnits\\":false}}}},{\\"type\\":\\"text\\",\\"width\\":24,\\"height\\":1,\\"x\\":0,\\"y\\":23,\\"properties\\":{\\"markdown\\":\\"## Language: python\\"}},{\\"type\\":\\"metric\\",\\"width\\":12,\\"height\\":6,\\"x\\":0,\\"y\\":24,\\"properties\\":{\\"view\\":\\"pie\\",\\"title\\":\\"Package Versions\\",\\"region\\":\\"", + "\\",\\"metrics\\":[[\\"ConstructHub/Inventory\\",\\"SupportedSubmoduleCount\\",\\"Language\\",\\"typescript\\",{\\"color\\":\\"#2ca02c\\",\\"label\\":\\"Available\\",\\"period\\":900,\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"CorruptAssemblySubmoduleCount\\",\\"Language\\",\\"typescript\\",{\\"color\\":\\"#3542D7\\",\\"label\\":\\"Corrupt Assembly\\",\\"period\\":900,\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"UnsupportedSubmoduleCount\\",\\"Language\\",\\"typescript\\",{\\"color\\":\\"#9467bd\\",\\"label\\":\\"Unsupported\\",\\"period\\":900,\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"MissingSubmoduleCount\\",\\"Language\\",\\"typescript\\",{\\"color\\":\\"#d62728\\",\\"label\\":\\"Missing\\",\\"period\\":900,\\"stat\\":\\"Maximum\\"}]],\\"yAxis\\":{\\"left\\":{\\"showUnits\\":false}}}},{\\"type\\":\\"text\\",\\"width\\":24,\\"height\\":1,\\"x\\":0,\\"y\\":23,\\"properties\\":{\\"markdown\\":\\"## Language: python\\"}},{\\"type\\":\\"metric\\",\\"width\\":12,\\"height\\":6,\\"x\\":0,\\"y\\":24,\\"properties\\":{\\"view\\":\\"pie\\",\\"title\\":\\"Package Versions\\",\\"region\\":\\"", Object { "Ref": "AWS::Region", }, - "\\",\\"metrics\\":[[\\"ConstructHub/Inventory\\",\\"SupportedPackageVersionCount\\",\\"Language\\",\\"python\\",{\\"color\\":\\"#2ca02c\\",\\"label\\":\\"Available\\",\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"CorruptAssemblyPackageVersionCount\\",\\"Language\\",\\"python\\",{\\"color\\":\\"#3542D7\\",\\"label\\":\\"Corrupt Assembly\\",\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"UnsupportedPackageVersionCount\\",\\"Language\\",\\"python\\",{\\"color\\":\\"#9467bd\\",\\"label\\":\\"Unsupported\\",\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"MissingPackageVersionCount\\",\\"Language\\",\\"python\\",{\\"color\\":\\"#d62728\\",\\"label\\":\\"Missing\\",\\"stat\\":\\"Maximum\\"}]],\\"yAxis\\":{\\"left\\":{\\"showUnits\\":false}}}},{\\"type\\":\\"metric\\",\\"width\\":12,\\"height\\":6,\\"x\\":12,\\"y\\":24,\\"properties\\":{\\"view\\":\\"pie\\",\\"title\\":\\"Package Version Submodules\\",\\"region\\":\\"", + "\\",\\"metrics\\":[[\\"ConstructHub/Inventory\\",\\"SupportedPackageVersionCount\\",\\"Language\\",\\"python\\",{\\"color\\":\\"#2ca02c\\",\\"label\\":\\"Available\\",\\"period\\":900,\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"CorruptAssemblyPackageVersionCount\\",\\"Language\\",\\"python\\",{\\"color\\":\\"#3542D7\\",\\"label\\":\\"Corrupt Assembly\\",\\"period\\":900,\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"UnsupportedPackageVersionCount\\",\\"Language\\",\\"python\\",{\\"color\\":\\"#9467bd\\",\\"label\\":\\"Unsupported\\",\\"period\\":900,\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"MissingPackageVersionCount\\",\\"Language\\",\\"python\\",{\\"color\\":\\"#d62728\\",\\"label\\":\\"Missing\\",\\"period\\":900,\\"stat\\":\\"Maximum\\"}]],\\"yAxis\\":{\\"left\\":{\\"showUnits\\":false}}}},{\\"type\\":\\"metric\\",\\"width\\":12,\\"height\\":6,\\"x\\":12,\\"y\\":24,\\"properties\\":{\\"view\\":\\"pie\\",\\"title\\":\\"Package Version Submodules\\",\\"region\\":\\"", Object { "Ref": "AWS::Region", }, - "\\",\\"metrics\\":[[\\"ConstructHub/Inventory\\",\\"SupportedSubmoduleCount\\",\\"Language\\",\\"python\\",{\\"color\\":\\"#2ca02c\\",\\"label\\":\\"Available\\",\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"CorruptAssemblySubmoduleCount\\",\\"Language\\",\\"python\\",{\\"color\\":\\"#3542D7\\",\\"label\\":\\"Corrupt Assembly\\",\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"UnsupportedSubmoduleCount\\",\\"Language\\",\\"python\\",{\\"color\\":\\"#9467bd\\",\\"label\\":\\"Unsupported\\",\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"MissingSubmoduleCount\\",\\"Language\\",\\"python\\",{\\"color\\":\\"#d62728\\",\\"label\\":\\"Missing\\",\\"stat\\":\\"Maximum\\"}]],\\"yAxis\\":{\\"left\\":{\\"showUnits\\":false}}}},{\\"type\\":\\"text\\",\\"width\\":24,\\"height\\":1,\\"x\\":0,\\"y\\":30,\\"properties\\":{\\"markdown\\":\\"## Language: java\\"}},{\\"type\\":\\"metric\\",\\"width\\":12,\\"height\\":6,\\"x\\":0,\\"y\\":31,\\"properties\\":{\\"view\\":\\"pie\\",\\"title\\":\\"Package Versions\\",\\"region\\":\\"", + "\\",\\"metrics\\":[[\\"ConstructHub/Inventory\\",\\"SupportedSubmoduleCount\\",\\"Language\\",\\"python\\",{\\"color\\":\\"#2ca02c\\",\\"label\\":\\"Available\\",\\"period\\":900,\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"CorruptAssemblySubmoduleCount\\",\\"Language\\",\\"python\\",{\\"color\\":\\"#3542D7\\",\\"label\\":\\"Corrupt Assembly\\",\\"period\\":900,\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"UnsupportedSubmoduleCount\\",\\"Language\\",\\"python\\",{\\"color\\":\\"#9467bd\\",\\"label\\":\\"Unsupported\\",\\"period\\":900,\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"MissingSubmoduleCount\\",\\"Language\\",\\"python\\",{\\"color\\":\\"#d62728\\",\\"label\\":\\"Missing\\",\\"period\\":900,\\"stat\\":\\"Maximum\\"}]],\\"yAxis\\":{\\"left\\":{\\"showUnits\\":false}}}},{\\"type\\":\\"text\\",\\"width\\":24,\\"height\\":1,\\"x\\":0,\\"y\\":30,\\"properties\\":{\\"markdown\\":\\"## Language: java\\"}},{\\"type\\":\\"metric\\",\\"width\\":12,\\"height\\":6,\\"x\\":0,\\"y\\":31,\\"properties\\":{\\"view\\":\\"pie\\",\\"title\\":\\"Package Versions\\",\\"region\\":\\"", Object { "Ref": "AWS::Region", }, - "\\",\\"metrics\\":[[\\"ConstructHub/Inventory\\",\\"SupportedPackageVersionCount\\",\\"Language\\",\\"java\\",{\\"color\\":\\"#2ca02c\\",\\"label\\":\\"Available\\",\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"CorruptAssemblyPackageVersionCount\\",\\"Language\\",\\"java\\",{\\"color\\":\\"#3542D7\\",\\"label\\":\\"Corrupt Assembly\\",\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"UnsupportedPackageVersionCount\\",\\"Language\\",\\"java\\",{\\"color\\":\\"#9467bd\\",\\"label\\":\\"Unsupported\\",\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"MissingPackageVersionCount\\",\\"Language\\",\\"java\\",{\\"color\\":\\"#d62728\\",\\"label\\":\\"Missing\\",\\"stat\\":\\"Maximum\\"}]],\\"yAxis\\":{\\"left\\":{\\"showUnits\\":false}}}},{\\"type\\":\\"metric\\",\\"width\\":12,\\"height\\":6,\\"x\\":12,\\"y\\":31,\\"properties\\":{\\"view\\":\\"pie\\",\\"title\\":\\"Package Version Submodules\\",\\"region\\":\\"", + "\\",\\"metrics\\":[[\\"ConstructHub/Inventory\\",\\"SupportedPackageVersionCount\\",\\"Language\\",\\"java\\",{\\"color\\":\\"#2ca02c\\",\\"label\\":\\"Available\\",\\"period\\":900,\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"CorruptAssemblyPackageVersionCount\\",\\"Language\\",\\"java\\",{\\"color\\":\\"#3542D7\\",\\"label\\":\\"Corrupt Assembly\\",\\"period\\":900,\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"UnsupportedPackageVersionCount\\",\\"Language\\",\\"java\\",{\\"color\\":\\"#9467bd\\",\\"label\\":\\"Unsupported\\",\\"period\\":900,\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"MissingPackageVersionCount\\",\\"Language\\",\\"java\\",{\\"color\\":\\"#d62728\\",\\"label\\":\\"Missing\\",\\"period\\":900,\\"stat\\":\\"Maximum\\"}]],\\"yAxis\\":{\\"left\\":{\\"showUnits\\":false}}}},{\\"type\\":\\"metric\\",\\"width\\":12,\\"height\\":6,\\"x\\":12,\\"y\\":31,\\"properties\\":{\\"view\\":\\"pie\\",\\"title\\":\\"Package Version Submodules\\",\\"region\\":\\"", Object { "Ref": "AWS::Region", }, - "\\",\\"metrics\\":[[\\"ConstructHub/Inventory\\",\\"SupportedSubmoduleCount\\",\\"Language\\",\\"java\\",{\\"color\\":\\"#2ca02c\\",\\"label\\":\\"Available\\",\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"CorruptAssemblySubmoduleCount\\",\\"Language\\",\\"java\\",{\\"color\\":\\"#3542D7\\",\\"label\\":\\"Corrupt Assembly\\",\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"UnsupportedSubmoduleCount\\",\\"Language\\",\\"java\\",{\\"color\\":\\"#9467bd\\",\\"label\\":\\"Unsupported\\",\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"MissingSubmoduleCount\\",\\"Language\\",\\"java\\",{\\"color\\":\\"#d62728\\",\\"label\\":\\"Missing\\",\\"stat\\":\\"Maximum\\"}]],\\"yAxis\\":{\\"left\\":{\\"showUnits\\":false}}}},{\\"type\\":\\"text\\",\\"width\\":24,\\"height\\":1,\\"x\\":0,\\"y\\":37,\\"properties\\":{\\"markdown\\":\\"## Language: csharp\\"}},{\\"type\\":\\"metric\\",\\"width\\":12,\\"height\\":6,\\"x\\":0,\\"y\\":38,\\"properties\\":{\\"view\\":\\"pie\\",\\"title\\":\\"Package Versions\\",\\"region\\":\\"", + "\\",\\"metrics\\":[[\\"ConstructHub/Inventory\\",\\"SupportedSubmoduleCount\\",\\"Language\\",\\"java\\",{\\"color\\":\\"#2ca02c\\",\\"label\\":\\"Available\\",\\"period\\":900,\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"CorruptAssemblySubmoduleCount\\",\\"Language\\",\\"java\\",{\\"color\\":\\"#3542D7\\",\\"label\\":\\"Corrupt Assembly\\",\\"period\\":900,\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"UnsupportedSubmoduleCount\\",\\"Language\\",\\"java\\",{\\"color\\":\\"#9467bd\\",\\"label\\":\\"Unsupported\\",\\"period\\":900,\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"MissingSubmoduleCount\\",\\"Language\\",\\"java\\",{\\"color\\":\\"#d62728\\",\\"label\\":\\"Missing\\",\\"period\\":900,\\"stat\\":\\"Maximum\\"}]],\\"yAxis\\":{\\"left\\":{\\"showUnits\\":false}}}},{\\"type\\":\\"text\\",\\"width\\":24,\\"height\\":1,\\"x\\":0,\\"y\\":37,\\"properties\\":{\\"markdown\\":\\"## Language: csharp\\"}},{\\"type\\":\\"metric\\",\\"width\\":12,\\"height\\":6,\\"x\\":0,\\"y\\":38,\\"properties\\":{\\"view\\":\\"pie\\",\\"title\\":\\"Package Versions\\",\\"region\\":\\"", Object { "Ref": "AWS::Region", }, - "\\",\\"metrics\\":[[\\"ConstructHub/Inventory\\",\\"SupportedPackageVersionCount\\",\\"Language\\",\\"csharp\\",{\\"color\\":\\"#2ca02c\\",\\"label\\":\\"Available\\",\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"CorruptAssemblyPackageVersionCount\\",\\"Language\\",\\"csharp\\",{\\"color\\":\\"#3542D7\\",\\"label\\":\\"Corrupt Assembly\\",\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"UnsupportedPackageVersionCount\\",\\"Language\\",\\"csharp\\",{\\"color\\":\\"#9467bd\\",\\"label\\":\\"Unsupported\\",\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"MissingPackageVersionCount\\",\\"Language\\",\\"csharp\\",{\\"color\\":\\"#d62728\\",\\"label\\":\\"Missing\\",\\"stat\\":\\"Maximum\\"}]],\\"yAxis\\":{\\"left\\":{\\"showUnits\\":false}}}},{\\"type\\":\\"metric\\",\\"width\\":12,\\"height\\":6,\\"x\\":12,\\"y\\":38,\\"properties\\":{\\"view\\":\\"pie\\",\\"title\\":\\"Package Version Submodules\\",\\"region\\":\\"", + "\\",\\"metrics\\":[[\\"ConstructHub/Inventory\\",\\"SupportedPackageVersionCount\\",\\"Language\\",\\"csharp\\",{\\"color\\":\\"#2ca02c\\",\\"label\\":\\"Available\\",\\"period\\":900,\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"CorruptAssemblyPackageVersionCount\\",\\"Language\\",\\"csharp\\",{\\"color\\":\\"#3542D7\\",\\"label\\":\\"Corrupt Assembly\\",\\"period\\":900,\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"UnsupportedPackageVersionCount\\",\\"Language\\",\\"csharp\\",{\\"color\\":\\"#9467bd\\",\\"label\\":\\"Unsupported\\",\\"period\\":900,\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"MissingPackageVersionCount\\",\\"Language\\",\\"csharp\\",{\\"color\\":\\"#d62728\\",\\"label\\":\\"Missing\\",\\"period\\":900,\\"stat\\":\\"Maximum\\"}]],\\"yAxis\\":{\\"left\\":{\\"showUnits\\":false}}}},{\\"type\\":\\"metric\\",\\"width\\":12,\\"height\\":6,\\"x\\":12,\\"y\\":38,\\"properties\\":{\\"view\\":\\"pie\\",\\"title\\":\\"Package Version Submodules\\",\\"region\\":\\"", Object { "Ref": "AWS::Region", }, - "\\",\\"metrics\\":[[\\"ConstructHub/Inventory\\",\\"SupportedSubmoduleCount\\",\\"Language\\",\\"csharp\\",{\\"color\\":\\"#2ca02c\\",\\"label\\":\\"Available\\",\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"CorruptAssemblySubmoduleCount\\",\\"Language\\",\\"csharp\\",{\\"color\\":\\"#3542D7\\",\\"label\\":\\"Corrupt Assembly\\",\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"UnsupportedSubmoduleCount\\",\\"Language\\",\\"csharp\\",{\\"color\\":\\"#9467bd\\",\\"label\\":\\"Unsupported\\",\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"MissingSubmoduleCount\\",\\"Language\\",\\"csharp\\",{\\"color\\":\\"#d62728\\",\\"label\\":\\"Missing\\",\\"stat\\":\\"Maximum\\"}]],\\"yAxis\\":{\\"left\\":{\\"showUnits\\":false}}}},{\\"type\\":\\"text\\",\\"width\\":24,\\"height\\":2,\\"x\\":0,\\"y\\":44,\\"properties\\":{\\"markdown\\":\\"# Test/ConstructHub/Sources/NpmJs\\\\n\\\\n[button:primary:NpmJs Follower](/lambda/home#/functions/", + "\\",\\"metrics\\":[[\\"ConstructHub/Inventory\\",\\"SupportedSubmoduleCount\\",\\"Language\\",\\"csharp\\",{\\"color\\":\\"#2ca02c\\",\\"label\\":\\"Available\\",\\"period\\":900,\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"CorruptAssemblySubmoduleCount\\",\\"Language\\",\\"csharp\\",{\\"color\\":\\"#3542D7\\",\\"label\\":\\"Corrupt Assembly\\",\\"period\\":900,\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"UnsupportedSubmoduleCount\\",\\"Language\\",\\"csharp\\",{\\"color\\":\\"#9467bd\\",\\"label\\":\\"Unsupported\\",\\"period\\":900,\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"MissingSubmoduleCount\\",\\"Language\\",\\"csharp\\",{\\"color\\":\\"#d62728\\",\\"label\\":\\"Missing\\",\\"period\\":900,\\"stat\\":\\"Maximum\\"}]],\\"yAxis\\":{\\"left\\":{\\"showUnits\\":false}}}},{\\"type\\":\\"text\\",\\"width\\":24,\\"height\\":2,\\"x\\":0,\\"y\\":44,\\"properties\\":{\\"markdown\\":\\"# Test/ConstructHub/Sources/NpmJs\\\\n\\\\n[button:primary:NpmJs Follower](/lambda/home#/functions/", Object { "Ref": "ConstructHubSourcesNpmJs15A77D2D", }, @@ -14989,15 +14961,12 @@ Direct link to the function: /lambda/home#/functions/", ], }, "Runtime": "nodejs14.x", - "Timeout": 300, + "Timeout": 900, }, "Type": "AWS::Lambda::Function", }, "ConstructHubInventoryCanaryFailures5BDA8051": Object { "Properties": Object { - "AlarmActions": Array [ - "arn:aws:sns:us-east-1:123456789012:mystack-mytopic-NZJ5JSMVGFIE", - ], "AlarmDescription": Object { "Fn::Join": Array [ "", @@ -15026,7 +14995,7 @@ Direct link to function: /lambda/home#/functions/", "EvaluationPeriods": 2, "MetricName": "Errors", "Namespace": "AWS/Lambda", - "Period": 300, + "Period": 900, "Statistic": "Sum", "Threshold": 1, }, @@ -15034,9 +15003,6 @@ Direct link to function: /lambda/home#/functions/", }, "ConstructHubInventoryCanaryNotRunningAF44D71C": Object { "Properties": Object { - "AlarmActions": Array [ - "arn:aws:sns:us-east-1:123456789012:mystack-mytopic-NZJ5JSMVGFIE", - ], "AlarmDescription": Object { "Fn::Join": Array [ "", @@ -15065,7 +15031,7 @@ Direct link to function: /lambda/home#/functions/", "EvaluationPeriods": 1, "MetricName": "Invocations", "Namespace": "AWS/Lambda", - "Period": 300, + "Period": 900, "Statistic": "Sum", "Threshold": 1, }, @@ -15076,7 +15042,7 @@ Direct link to function: /lambda/home#/functions/", "ConstructHubInventoryCanaryServiceRoleDefaultPolicy144783F1", ], "Properties": Object { - "ScheduleExpression": "rate(5 minutes)", + "ScheduleExpression": "rate(15 minutes)", "State": "ENABLED", "Targets": Array [ Object { @@ -15627,28 +15593,6 @@ Direct link to function: /lambda/home#/functions/", "Arn", ], }, - "\\"]},\\"yAxis\\":{}}},{\\"type\\":\\"metric\\",\\"width\\":24,\\"height\\":6,\\"x\\":0,\\"y\\":48,\\"properties\\":{\\"view\\":\\"timeSeries\\",\\"title\\":\\"Inventory Canary is not Running\\",\\"region\\":\\"", - Object { - "Ref": "AWS::Region", - }, - "\\",\\"annotations\\":{\\"alarms\\":[\\"", - Object { - "Fn::GetAtt": Array [ - "ConstructHubInventoryCanaryNotRunningAF44D71C", - "Arn", - ], - }, - "\\"]},\\"yAxis\\":{}}},{\\"type\\":\\"metric\\",\\"width\\":24,\\"height\\":6,\\"x\\":0,\\"y\\":54,\\"properties\\":{\\"view\\":\\"timeSeries\\",\\"title\\":\\"Inventory Canary is failing\\",\\"region\\":\\"", - Object { - "Ref": "AWS::Region", - }, - "\\",\\"annotations\\":{\\"alarms\\":[\\"", - Object { - "Fn::GetAtt": Array [ - "ConstructHubInventoryCanaryFailures5BDA8051", - "Arn", - ], - }, "\\"]},\\"yAxis\\":{}}}]}", ], ], @@ -23488,11 +23432,11 @@ def submit_response(event: dict, context, response_status: str, error_message: s Object { "Ref": "AWS::Region", }, - "\\",\\"metrics\\":[[\\"ConstructHub/Inventory\\",\\"SubmoduleCount\\",{\\"label\\":\\"Submodules\\",\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"PackageVersionCount\\",{\\"label\\":\\"Package Versions\\",\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"PackageMajorVersionCount\\",{\\"label\\":\\"Package Majors\\",\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"PackageCount\\",{\\"label\\":\\"Packages\\",\\"stat\\":\\"Maximum\\"}]],\\"yAxis\\":{\\"left\\":{\\"min\\":0}}}},{\\"type\\":\\"metric\\",\\"width\\":12,\\"height\\":6,\\"x\\":12,\\"y\\":2,\\"properties\\":{\\"view\\":\\"timeSeries\\",\\"title\\":\\"Catalog Issues\\",\\"region\\":\\"", + "\\",\\"metrics\\":[[\\"ConstructHub/Inventory\\",\\"SubmoduleCount\\",{\\"label\\":\\"Submodules\\",\\"period\\":900,\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"PackageVersionCount\\",{\\"label\\":\\"Package Versions\\",\\"period\\":900,\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"PackageMajorVersionCount\\",{\\"label\\":\\"Package Majors\\",\\"period\\":900,\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"PackageCount\\",{\\"label\\":\\"Packages\\",\\"period\\":900,\\"stat\\":\\"Maximum\\"}]],\\"yAxis\\":{\\"left\\":{\\"min\\":0}}}},{\\"type\\":\\"metric\\",\\"width\\":12,\\"height\\":6,\\"x\\":12,\\"y\\":2,\\"properties\\":{\\"view\\":\\"timeSeries\\",\\"title\\":\\"Catalog Issues\\",\\"region\\":\\"", Object { "Ref": "AWS::Region", }, - "\\",\\"metrics\\":[[\\"ConstructHub/Inventory\\",\\"UnknownObjectCount\\",{\\"label\\":\\"Unknown\\",\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"MissingAssemblyCount\\",{\\"label\\":\\"Missing Assembly\\",\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"MissingPackageMetadataCount\\",{\\"label\\":\\"Missing Metadata\\",\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"MissingPackageTarballCount\\",{\\"label\\":\\"Missing Tarball\\",\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"UninstallablePackageCount\\",{\\"label\\":\\"Uninstallable Package\\",\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/CatalogBuilder\\",\\"MissingConstructFrameworkCount\\",{\\"label\\":\\"No Construct Framework\\",\\"period\\":900,\\"stat\\":\\"Maximum\\",\\"yAxis\\":\\"right\\"}],[\\"ConstructHub/CatalogBuilder\\",\\"MissingConstructFrameworkVersionCount\\",{\\"label\\":\\"No Construct Framework Version\\",\\"period\\":900,\\"stat\\":\\"Maximum\\",\\"yAxis\\":\\"right\\"}]],\\"yAxis\\":{\\"left\\":{\\"min\\":0},\\"right\\":{\\"min\\":0}}}},{\\"type\\":\\"text\\",\\"width\\":24,\\"height\\":2,\\"x\\":0,\\"y\\":8,\\"properties\\":{\\"markdown\\":\\"# Documentation Generation\\\\n\\\\n[button:primary:Transliterator Logs](/cloudwatch/home#logsV2:log-groups/log-group/", + "\\",\\"metrics\\":[[\\"ConstructHub/Inventory\\",\\"UnknownObjectCount\\",{\\"label\\":\\"Unknown\\",\\"period\\":900,\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"MissingAssemblyCount\\",{\\"label\\":\\"Missing Assembly\\",\\"period\\":900,\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"MissingPackageMetadataCount\\",{\\"label\\":\\"Missing Metadata\\",\\"period\\":900,\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"MissingPackageTarballCount\\",{\\"label\\":\\"Missing Tarball\\",\\"period\\":900,\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"UninstallablePackageCount\\",{\\"label\\":\\"Uninstallable Package\\",\\"period\\":900,\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/CatalogBuilder\\",\\"MissingConstructFrameworkCount\\",{\\"label\\":\\"No Construct Framework\\",\\"period\\":900,\\"stat\\":\\"Maximum\\",\\"yAxis\\":\\"right\\"}],[\\"ConstructHub/CatalogBuilder\\",\\"MissingConstructFrameworkVersionCount\\",{\\"label\\":\\"No Construct Framework Version\\",\\"period\\":900,\\"stat\\":\\"Maximum\\",\\"yAxis\\":\\"right\\"}]],\\"yAxis\\":{\\"left\\":{\\"min\\":0},\\"right\\":{\\"min\\":0}}}},{\\"type\\":\\"text\\",\\"width\\":24,\\"height\\":2,\\"x\\":0,\\"y\\":8,\\"properties\\":{\\"markdown\\":\\"# Documentation Generation\\\\n\\\\n[button:primary:Transliterator Logs](/cloudwatch/home#logsV2:log-groups/log-group/", Object { "Fn::Join": Array [ "%252", @@ -23550,35 +23494,35 @@ def submit_response(event: dict, context, response_status: str, error_message: s Object { "Ref": "AWS::Region", }, - "\\",\\"metrics\\":[[\\"ConstructHub/Inventory\\",\\"SupportedPackageVersionCount\\",\\"Language\\",\\"typescript\\",{\\"color\\":\\"#2ca02c\\",\\"label\\":\\"Available\\",\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"CorruptAssemblyPackageVersionCount\\",\\"Language\\",\\"typescript\\",{\\"color\\":\\"#3542D7\\",\\"label\\":\\"Corrupt Assembly\\",\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"UnsupportedPackageVersionCount\\",\\"Language\\",\\"typescript\\",{\\"color\\":\\"#9467bd\\",\\"label\\":\\"Unsupported\\",\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"MissingPackageVersionCount\\",\\"Language\\",\\"typescript\\",{\\"color\\":\\"#d62728\\",\\"label\\":\\"Missing\\",\\"stat\\":\\"Maximum\\"}]],\\"yAxis\\":{\\"left\\":{\\"showUnits\\":false}}}},{\\"type\\":\\"metric\\",\\"width\\":12,\\"height\\":6,\\"x\\":12,\\"y\\":17,\\"properties\\":{\\"view\\":\\"pie\\",\\"title\\":\\"Package Version Submodules\\",\\"region\\":\\"", + "\\",\\"metrics\\":[[\\"ConstructHub/Inventory\\",\\"SupportedPackageVersionCount\\",\\"Language\\",\\"typescript\\",{\\"color\\":\\"#2ca02c\\",\\"label\\":\\"Available\\",\\"period\\":900,\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"CorruptAssemblyPackageVersionCount\\",\\"Language\\",\\"typescript\\",{\\"color\\":\\"#3542D7\\",\\"label\\":\\"Corrupt Assembly\\",\\"period\\":900,\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"UnsupportedPackageVersionCount\\",\\"Language\\",\\"typescript\\",{\\"color\\":\\"#9467bd\\",\\"label\\":\\"Unsupported\\",\\"period\\":900,\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"MissingPackageVersionCount\\",\\"Language\\",\\"typescript\\",{\\"color\\":\\"#d62728\\",\\"label\\":\\"Missing\\",\\"period\\":900,\\"stat\\":\\"Maximum\\"}]],\\"yAxis\\":{\\"left\\":{\\"showUnits\\":false}}}},{\\"type\\":\\"metric\\",\\"width\\":12,\\"height\\":6,\\"x\\":12,\\"y\\":17,\\"properties\\":{\\"view\\":\\"pie\\",\\"title\\":\\"Package Version Submodules\\",\\"region\\":\\"", Object { "Ref": "AWS::Region", }, - "\\",\\"metrics\\":[[\\"ConstructHub/Inventory\\",\\"SupportedSubmoduleCount\\",\\"Language\\",\\"typescript\\",{\\"color\\":\\"#2ca02c\\",\\"label\\":\\"Available\\",\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"CorruptAssemblySubmoduleCount\\",\\"Language\\",\\"typescript\\",{\\"color\\":\\"#3542D7\\",\\"label\\":\\"Corrupt Assembly\\",\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"UnsupportedSubmoduleCount\\",\\"Language\\",\\"typescript\\",{\\"color\\":\\"#9467bd\\",\\"label\\":\\"Unsupported\\",\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"MissingSubmoduleCount\\",\\"Language\\",\\"typescript\\",{\\"color\\":\\"#d62728\\",\\"label\\":\\"Missing\\",\\"stat\\":\\"Maximum\\"}]],\\"yAxis\\":{\\"left\\":{\\"showUnits\\":false}}}},{\\"type\\":\\"text\\",\\"width\\":24,\\"height\\":1,\\"x\\":0,\\"y\\":23,\\"properties\\":{\\"markdown\\":\\"## Language: python\\"}},{\\"type\\":\\"metric\\",\\"width\\":12,\\"height\\":6,\\"x\\":0,\\"y\\":24,\\"properties\\":{\\"view\\":\\"pie\\",\\"title\\":\\"Package Versions\\",\\"region\\":\\"", + "\\",\\"metrics\\":[[\\"ConstructHub/Inventory\\",\\"SupportedSubmoduleCount\\",\\"Language\\",\\"typescript\\",{\\"color\\":\\"#2ca02c\\",\\"label\\":\\"Available\\",\\"period\\":900,\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"CorruptAssemblySubmoduleCount\\",\\"Language\\",\\"typescript\\",{\\"color\\":\\"#3542D7\\",\\"label\\":\\"Corrupt Assembly\\",\\"period\\":900,\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"UnsupportedSubmoduleCount\\",\\"Language\\",\\"typescript\\",{\\"color\\":\\"#9467bd\\",\\"label\\":\\"Unsupported\\",\\"period\\":900,\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"MissingSubmoduleCount\\",\\"Language\\",\\"typescript\\",{\\"color\\":\\"#d62728\\",\\"label\\":\\"Missing\\",\\"period\\":900,\\"stat\\":\\"Maximum\\"}]],\\"yAxis\\":{\\"left\\":{\\"showUnits\\":false}}}},{\\"type\\":\\"text\\",\\"width\\":24,\\"height\\":1,\\"x\\":0,\\"y\\":23,\\"properties\\":{\\"markdown\\":\\"## Language: python\\"}},{\\"type\\":\\"metric\\",\\"width\\":12,\\"height\\":6,\\"x\\":0,\\"y\\":24,\\"properties\\":{\\"view\\":\\"pie\\",\\"title\\":\\"Package Versions\\",\\"region\\":\\"", Object { "Ref": "AWS::Region", }, - "\\",\\"metrics\\":[[\\"ConstructHub/Inventory\\",\\"SupportedPackageVersionCount\\",\\"Language\\",\\"python\\",{\\"color\\":\\"#2ca02c\\",\\"label\\":\\"Available\\",\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"CorruptAssemblyPackageVersionCount\\",\\"Language\\",\\"python\\",{\\"color\\":\\"#3542D7\\",\\"label\\":\\"Corrupt Assembly\\",\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"UnsupportedPackageVersionCount\\",\\"Language\\",\\"python\\",{\\"color\\":\\"#9467bd\\",\\"label\\":\\"Unsupported\\",\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"MissingPackageVersionCount\\",\\"Language\\",\\"python\\",{\\"color\\":\\"#d62728\\",\\"label\\":\\"Missing\\",\\"stat\\":\\"Maximum\\"}]],\\"yAxis\\":{\\"left\\":{\\"showUnits\\":false}}}},{\\"type\\":\\"metric\\",\\"width\\":12,\\"height\\":6,\\"x\\":12,\\"y\\":24,\\"properties\\":{\\"view\\":\\"pie\\",\\"title\\":\\"Package Version Submodules\\",\\"region\\":\\"", + "\\",\\"metrics\\":[[\\"ConstructHub/Inventory\\",\\"SupportedPackageVersionCount\\",\\"Language\\",\\"python\\",{\\"color\\":\\"#2ca02c\\",\\"label\\":\\"Available\\",\\"period\\":900,\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"CorruptAssemblyPackageVersionCount\\",\\"Language\\",\\"python\\",{\\"color\\":\\"#3542D7\\",\\"label\\":\\"Corrupt Assembly\\",\\"period\\":900,\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"UnsupportedPackageVersionCount\\",\\"Language\\",\\"python\\",{\\"color\\":\\"#9467bd\\",\\"label\\":\\"Unsupported\\",\\"period\\":900,\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"MissingPackageVersionCount\\",\\"Language\\",\\"python\\",{\\"color\\":\\"#d62728\\",\\"label\\":\\"Missing\\",\\"period\\":900,\\"stat\\":\\"Maximum\\"}]],\\"yAxis\\":{\\"left\\":{\\"showUnits\\":false}}}},{\\"type\\":\\"metric\\",\\"width\\":12,\\"height\\":6,\\"x\\":12,\\"y\\":24,\\"properties\\":{\\"view\\":\\"pie\\",\\"title\\":\\"Package Version Submodules\\",\\"region\\":\\"", Object { "Ref": "AWS::Region", }, - "\\",\\"metrics\\":[[\\"ConstructHub/Inventory\\",\\"SupportedSubmoduleCount\\",\\"Language\\",\\"python\\",{\\"color\\":\\"#2ca02c\\",\\"label\\":\\"Available\\",\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"CorruptAssemblySubmoduleCount\\",\\"Language\\",\\"python\\",{\\"color\\":\\"#3542D7\\",\\"label\\":\\"Corrupt Assembly\\",\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"UnsupportedSubmoduleCount\\",\\"Language\\",\\"python\\",{\\"color\\":\\"#9467bd\\",\\"label\\":\\"Unsupported\\",\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"MissingSubmoduleCount\\",\\"Language\\",\\"python\\",{\\"color\\":\\"#d62728\\",\\"label\\":\\"Missing\\",\\"stat\\":\\"Maximum\\"}]],\\"yAxis\\":{\\"left\\":{\\"showUnits\\":false}}}},{\\"type\\":\\"text\\",\\"width\\":24,\\"height\\":1,\\"x\\":0,\\"y\\":30,\\"properties\\":{\\"markdown\\":\\"## Language: java\\"}},{\\"type\\":\\"metric\\",\\"width\\":12,\\"height\\":6,\\"x\\":0,\\"y\\":31,\\"properties\\":{\\"view\\":\\"pie\\",\\"title\\":\\"Package Versions\\",\\"region\\":\\"", + "\\",\\"metrics\\":[[\\"ConstructHub/Inventory\\",\\"SupportedSubmoduleCount\\",\\"Language\\",\\"python\\",{\\"color\\":\\"#2ca02c\\",\\"label\\":\\"Available\\",\\"period\\":900,\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"CorruptAssemblySubmoduleCount\\",\\"Language\\",\\"python\\",{\\"color\\":\\"#3542D7\\",\\"label\\":\\"Corrupt Assembly\\",\\"period\\":900,\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"UnsupportedSubmoduleCount\\",\\"Language\\",\\"python\\",{\\"color\\":\\"#9467bd\\",\\"label\\":\\"Unsupported\\",\\"period\\":900,\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"MissingSubmoduleCount\\",\\"Language\\",\\"python\\",{\\"color\\":\\"#d62728\\",\\"label\\":\\"Missing\\",\\"period\\":900,\\"stat\\":\\"Maximum\\"}]],\\"yAxis\\":{\\"left\\":{\\"showUnits\\":false}}}},{\\"type\\":\\"text\\",\\"width\\":24,\\"height\\":1,\\"x\\":0,\\"y\\":30,\\"properties\\":{\\"markdown\\":\\"## Language: java\\"}},{\\"type\\":\\"metric\\",\\"width\\":12,\\"height\\":6,\\"x\\":0,\\"y\\":31,\\"properties\\":{\\"view\\":\\"pie\\",\\"title\\":\\"Package Versions\\",\\"region\\":\\"", Object { "Ref": "AWS::Region", }, - "\\",\\"metrics\\":[[\\"ConstructHub/Inventory\\",\\"SupportedPackageVersionCount\\",\\"Language\\",\\"java\\",{\\"color\\":\\"#2ca02c\\",\\"label\\":\\"Available\\",\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"CorruptAssemblyPackageVersionCount\\",\\"Language\\",\\"java\\",{\\"color\\":\\"#3542D7\\",\\"label\\":\\"Corrupt Assembly\\",\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"UnsupportedPackageVersionCount\\",\\"Language\\",\\"java\\",{\\"color\\":\\"#9467bd\\",\\"label\\":\\"Unsupported\\",\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"MissingPackageVersionCount\\",\\"Language\\",\\"java\\",{\\"color\\":\\"#d62728\\",\\"label\\":\\"Missing\\",\\"stat\\":\\"Maximum\\"}]],\\"yAxis\\":{\\"left\\":{\\"showUnits\\":false}}}},{\\"type\\":\\"metric\\",\\"width\\":12,\\"height\\":6,\\"x\\":12,\\"y\\":31,\\"properties\\":{\\"view\\":\\"pie\\",\\"title\\":\\"Package Version Submodules\\",\\"region\\":\\"", + "\\",\\"metrics\\":[[\\"ConstructHub/Inventory\\",\\"SupportedPackageVersionCount\\",\\"Language\\",\\"java\\",{\\"color\\":\\"#2ca02c\\",\\"label\\":\\"Available\\",\\"period\\":900,\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"CorruptAssemblyPackageVersionCount\\",\\"Language\\",\\"java\\",{\\"color\\":\\"#3542D7\\",\\"label\\":\\"Corrupt Assembly\\",\\"period\\":900,\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"UnsupportedPackageVersionCount\\",\\"Language\\",\\"java\\",{\\"color\\":\\"#9467bd\\",\\"label\\":\\"Unsupported\\",\\"period\\":900,\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"MissingPackageVersionCount\\",\\"Language\\",\\"java\\",{\\"color\\":\\"#d62728\\",\\"label\\":\\"Missing\\",\\"period\\":900,\\"stat\\":\\"Maximum\\"}]],\\"yAxis\\":{\\"left\\":{\\"showUnits\\":false}}}},{\\"type\\":\\"metric\\",\\"width\\":12,\\"height\\":6,\\"x\\":12,\\"y\\":31,\\"properties\\":{\\"view\\":\\"pie\\",\\"title\\":\\"Package Version Submodules\\",\\"region\\":\\"", Object { "Ref": "AWS::Region", }, - "\\",\\"metrics\\":[[\\"ConstructHub/Inventory\\",\\"SupportedSubmoduleCount\\",\\"Language\\",\\"java\\",{\\"color\\":\\"#2ca02c\\",\\"label\\":\\"Available\\",\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"CorruptAssemblySubmoduleCount\\",\\"Language\\",\\"java\\",{\\"color\\":\\"#3542D7\\",\\"label\\":\\"Corrupt Assembly\\",\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"UnsupportedSubmoduleCount\\",\\"Language\\",\\"java\\",{\\"color\\":\\"#9467bd\\",\\"label\\":\\"Unsupported\\",\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"MissingSubmoduleCount\\",\\"Language\\",\\"java\\",{\\"color\\":\\"#d62728\\",\\"label\\":\\"Missing\\",\\"stat\\":\\"Maximum\\"}]],\\"yAxis\\":{\\"left\\":{\\"showUnits\\":false}}}},{\\"type\\":\\"text\\",\\"width\\":24,\\"height\\":1,\\"x\\":0,\\"y\\":37,\\"properties\\":{\\"markdown\\":\\"## Language: csharp\\"}},{\\"type\\":\\"metric\\",\\"width\\":12,\\"height\\":6,\\"x\\":0,\\"y\\":38,\\"properties\\":{\\"view\\":\\"pie\\",\\"title\\":\\"Package Versions\\",\\"region\\":\\"", + "\\",\\"metrics\\":[[\\"ConstructHub/Inventory\\",\\"SupportedSubmoduleCount\\",\\"Language\\",\\"java\\",{\\"color\\":\\"#2ca02c\\",\\"label\\":\\"Available\\",\\"period\\":900,\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"CorruptAssemblySubmoduleCount\\",\\"Language\\",\\"java\\",{\\"color\\":\\"#3542D7\\",\\"label\\":\\"Corrupt Assembly\\",\\"period\\":900,\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"UnsupportedSubmoduleCount\\",\\"Language\\",\\"java\\",{\\"color\\":\\"#9467bd\\",\\"label\\":\\"Unsupported\\",\\"period\\":900,\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"MissingSubmoduleCount\\",\\"Language\\",\\"java\\",{\\"color\\":\\"#d62728\\",\\"label\\":\\"Missing\\",\\"period\\":900,\\"stat\\":\\"Maximum\\"}]],\\"yAxis\\":{\\"left\\":{\\"showUnits\\":false}}}},{\\"type\\":\\"text\\",\\"width\\":24,\\"height\\":1,\\"x\\":0,\\"y\\":37,\\"properties\\":{\\"markdown\\":\\"## Language: csharp\\"}},{\\"type\\":\\"metric\\",\\"width\\":12,\\"height\\":6,\\"x\\":0,\\"y\\":38,\\"properties\\":{\\"view\\":\\"pie\\",\\"title\\":\\"Package Versions\\",\\"region\\":\\"", Object { "Ref": "AWS::Region", }, - "\\",\\"metrics\\":[[\\"ConstructHub/Inventory\\",\\"SupportedPackageVersionCount\\",\\"Language\\",\\"csharp\\",{\\"color\\":\\"#2ca02c\\",\\"label\\":\\"Available\\",\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"CorruptAssemblyPackageVersionCount\\",\\"Language\\",\\"csharp\\",{\\"color\\":\\"#3542D7\\",\\"label\\":\\"Corrupt Assembly\\",\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"UnsupportedPackageVersionCount\\",\\"Language\\",\\"csharp\\",{\\"color\\":\\"#9467bd\\",\\"label\\":\\"Unsupported\\",\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"MissingPackageVersionCount\\",\\"Language\\",\\"csharp\\",{\\"color\\":\\"#d62728\\",\\"label\\":\\"Missing\\",\\"stat\\":\\"Maximum\\"}]],\\"yAxis\\":{\\"left\\":{\\"showUnits\\":false}}}},{\\"type\\":\\"metric\\",\\"width\\":12,\\"height\\":6,\\"x\\":12,\\"y\\":38,\\"properties\\":{\\"view\\":\\"pie\\",\\"title\\":\\"Package Version Submodules\\",\\"region\\":\\"", + "\\",\\"metrics\\":[[\\"ConstructHub/Inventory\\",\\"SupportedPackageVersionCount\\",\\"Language\\",\\"csharp\\",{\\"color\\":\\"#2ca02c\\",\\"label\\":\\"Available\\",\\"period\\":900,\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"CorruptAssemblyPackageVersionCount\\",\\"Language\\",\\"csharp\\",{\\"color\\":\\"#3542D7\\",\\"label\\":\\"Corrupt Assembly\\",\\"period\\":900,\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"UnsupportedPackageVersionCount\\",\\"Language\\",\\"csharp\\",{\\"color\\":\\"#9467bd\\",\\"label\\":\\"Unsupported\\",\\"period\\":900,\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"MissingPackageVersionCount\\",\\"Language\\",\\"csharp\\",{\\"color\\":\\"#d62728\\",\\"label\\":\\"Missing\\",\\"period\\":900,\\"stat\\":\\"Maximum\\"}]],\\"yAxis\\":{\\"left\\":{\\"showUnits\\":false}}}},{\\"type\\":\\"metric\\",\\"width\\":12,\\"height\\":6,\\"x\\":12,\\"y\\":38,\\"properties\\":{\\"view\\":\\"pie\\",\\"title\\":\\"Package Version Submodules\\",\\"region\\":\\"", Object { "Ref": "AWS::Region", }, - "\\",\\"metrics\\":[[\\"ConstructHub/Inventory\\",\\"SupportedSubmoduleCount\\",\\"Language\\",\\"csharp\\",{\\"color\\":\\"#2ca02c\\",\\"label\\":\\"Available\\",\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"CorruptAssemblySubmoduleCount\\",\\"Language\\",\\"csharp\\",{\\"color\\":\\"#3542D7\\",\\"label\\":\\"Corrupt Assembly\\",\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"UnsupportedSubmoduleCount\\",\\"Language\\",\\"csharp\\",{\\"color\\":\\"#9467bd\\",\\"label\\":\\"Unsupported\\",\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"MissingSubmoduleCount\\",\\"Language\\",\\"csharp\\",{\\"color\\":\\"#d62728\\",\\"label\\":\\"Missing\\",\\"stat\\":\\"Maximum\\"}]],\\"yAxis\\":{\\"left\\":{\\"showUnits\\":false}}}},{\\"type\\":\\"text\\",\\"width\\":24,\\"height\\":2,\\"x\\":0,\\"y\\":44,\\"properties\\":{\\"markdown\\":\\"# Test/ConstructHub/Sources/NpmJs\\\\n\\\\n[button:primary:NpmJs Follower](/lambda/home#/functions/", + "\\",\\"metrics\\":[[\\"ConstructHub/Inventory\\",\\"SupportedSubmoduleCount\\",\\"Language\\",\\"csharp\\",{\\"color\\":\\"#2ca02c\\",\\"label\\":\\"Available\\",\\"period\\":900,\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"CorruptAssemblySubmoduleCount\\",\\"Language\\",\\"csharp\\",{\\"color\\":\\"#3542D7\\",\\"label\\":\\"Corrupt Assembly\\",\\"period\\":900,\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"UnsupportedSubmoduleCount\\",\\"Language\\",\\"csharp\\",{\\"color\\":\\"#9467bd\\",\\"label\\":\\"Unsupported\\",\\"period\\":900,\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"MissingSubmoduleCount\\",\\"Language\\",\\"csharp\\",{\\"color\\":\\"#d62728\\",\\"label\\":\\"Missing\\",\\"period\\":900,\\"stat\\":\\"Maximum\\"}]],\\"yAxis\\":{\\"left\\":{\\"showUnits\\":false}}}},{\\"type\\":\\"text\\",\\"width\\":24,\\"height\\":2,\\"x\\":0,\\"y\\":44,\\"properties\\":{\\"markdown\\":\\"# Test/ConstructHub/Sources/NpmJs\\\\n\\\\n[button:primary:NpmJs Follower](/lambda/home#/functions/", Object { "Ref": "ConstructHubSourcesNpmJs15A77D2D", }, @@ -26248,15 +26192,12 @@ Direct link to the function: /lambda/home#/functions/", ], }, "Runtime": "nodejs14.x", - "Timeout": 300, + "Timeout": 900, }, "Type": "AWS::Lambda::Function", }, "ConstructHubInventoryCanaryFailures5BDA8051": Object { "Properties": Object { - "AlarmActions": Array [ - "arn:aws:sns:us-east-1:123456789012:mystack-mytopic-NZJ5JSMVGFIE", - ], "AlarmDescription": Object { "Fn::Join": Array [ "", @@ -26285,7 +26226,7 @@ Direct link to function: /lambda/home#/functions/", "EvaluationPeriods": 2, "MetricName": "Errors", "Namespace": "AWS/Lambda", - "Period": 300, + "Period": 900, "Statistic": "Sum", "Threshold": 1, }, @@ -26293,9 +26234,6 @@ Direct link to function: /lambda/home#/functions/", }, "ConstructHubInventoryCanaryNotRunningAF44D71C": Object { "Properties": Object { - "AlarmActions": Array [ - "arn:aws:sns:us-east-1:123456789012:mystack-mytopic-NZJ5JSMVGFIE", - ], "AlarmDescription": Object { "Fn::Join": Array [ "", @@ -26324,7 +26262,7 @@ Direct link to function: /lambda/home#/functions/", "EvaluationPeriods": 1, "MetricName": "Invocations", "Namespace": "AWS/Lambda", - "Period": 300, + "Period": 900, "Statistic": "Sum", "Threshold": 1, }, @@ -26335,7 +26273,7 @@ Direct link to function: /lambda/home#/functions/", "ConstructHubInventoryCanaryServiceRoleDefaultPolicy144783F1", ], "Properties": Object { - "ScheduleExpression": "rate(5 minutes)", + "ScheduleExpression": "rate(15 minutes)", "State": "ENABLED", "Targets": Array [ Object { @@ -26886,28 +26824,6 @@ Direct link to function: /lambda/home#/functions/", "Arn", ], }, - "\\"]},\\"yAxis\\":{}}},{\\"type\\":\\"metric\\",\\"width\\":24,\\"height\\":6,\\"x\\":0,\\"y\\":48,\\"properties\\":{\\"view\\":\\"timeSeries\\",\\"title\\":\\"Inventory Canary is not Running\\",\\"region\\":\\"", - Object { - "Ref": "AWS::Region", - }, - "\\",\\"annotations\\":{\\"alarms\\":[\\"", - Object { - "Fn::GetAtt": Array [ - "ConstructHubInventoryCanaryNotRunningAF44D71C", - "Arn", - ], - }, - "\\"]},\\"yAxis\\":{}}},{\\"type\\":\\"metric\\",\\"width\\":24,\\"height\\":6,\\"x\\":0,\\"y\\":54,\\"properties\\":{\\"view\\":\\"timeSeries\\",\\"title\\":\\"Inventory Canary is failing\\",\\"region\\":\\"", - Object { - "Ref": "AWS::Region", - }, - "\\",\\"annotations\\":{\\"alarms\\":[\\"", - Object { - "Fn::GetAtt": Array [ - "ConstructHubInventoryCanaryFailures5BDA8051", - "Arn", - ], - }, "\\"]},\\"yAxis\\":{}}}]}", ], ], @@ -34857,11 +34773,11 @@ def submit_response(event: dict, context, response_status: str, error_message: s Object { "Ref": "AWS::Region", }, - "\\",\\"metrics\\":[[\\"ConstructHub/Inventory\\",\\"SubmoduleCount\\",{\\"label\\":\\"Submodules\\",\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"PackageVersionCount\\",{\\"label\\":\\"Package Versions\\",\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"PackageMajorVersionCount\\",{\\"label\\":\\"Package Majors\\",\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"PackageCount\\",{\\"label\\":\\"Packages\\",\\"stat\\":\\"Maximum\\"}]],\\"yAxis\\":{\\"left\\":{\\"min\\":0}}}},{\\"type\\":\\"metric\\",\\"width\\":12,\\"height\\":6,\\"x\\":12,\\"y\\":2,\\"properties\\":{\\"view\\":\\"timeSeries\\",\\"title\\":\\"Catalog Issues\\",\\"region\\":\\"", + "\\",\\"metrics\\":[[\\"ConstructHub/Inventory\\",\\"SubmoduleCount\\",{\\"label\\":\\"Submodules\\",\\"period\\":900,\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"PackageVersionCount\\",{\\"label\\":\\"Package Versions\\",\\"period\\":900,\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"PackageMajorVersionCount\\",{\\"label\\":\\"Package Majors\\",\\"period\\":900,\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"PackageCount\\",{\\"label\\":\\"Packages\\",\\"period\\":900,\\"stat\\":\\"Maximum\\"}]],\\"yAxis\\":{\\"left\\":{\\"min\\":0}}}},{\\"type\\":\\"metric\\",\\"width\\":12,\\"height\\":6,\\"x\\":12,\\"y\\":2,\\"properties\\":{\\"view\\":\\"timeSeries\\",\\"title\\":\\"Catalog Issues\\",\\"region\\":\\"", Object { "Ref": "AWS::Region", }, - "\\",\\"metrics\\":[[\\"ConstructHub/Inventory\\",\\"UnknownObjectCount\\",{\\"label\\":\\"Unknown\\",\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"MissingAssemblyCount\\",{\\"label\\":\\"Missing Assembly\\",\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"MissingPackageMetadataCount\\",{\\"label\\":\\"Missing Metadata\\",\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"MissingPackageTarballCount\\",{\\"label\\":\\"Missing Tarball\\",\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"UninstallablePackageCount\\",{\\"label\\":\\"Uninstallable Package\\",\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/CatalogBuilder\\",\\"MissingConstructFrameworkCount\\",{\\"label\\":\\"No Construct Framework\\",\\"period\\":900,\\"stat\\":\\"Maximum\\",\\"yAxis\\":\\"right\\"}],[\\"ConstructHub/CatalogBuilder\\",\\"MissingConstructFrameworkVersionCount\\",{\\"label\\":\\"No Construct Framework Version\\",\\"period\\":900,\\"stat\\":\\"Maximum\\",\\"yAxis\\":\\"right\\"}]],\\"yAxis\\":{\\"left\\":{\\"min\\":0},\\"right\\":{\\"min\\":0}}}},{\\"type\\":\\"text\\",\\"width\\":24,\\"height\\":2,\\"x\\":0,\\"y\\":8,\\"properties\\":{\\"markdown\\":\\"# Documentation Generation\\\\n\\\\n[button:primary:Transliterator Logs](/cloudwatch/home#logsV2:log-groups/log-group/", + "\\",\\"metrics\\":[[\\"ConstructHub/Inventory\\",\\"UnknownObjectCount\\",{\\"label\\":\\"Unknown\\",\\"period\\":900,\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"MissingAssemblyCount\\",{\\"label\\":\\"Missing Assembly\\",\\"period\\":900,\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"MissingPackageMetadataCount\\",{\\"label\\":\\"Missing Metadata\\",\\"period\\":900,\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"MissingPackageTarballCount\\",{\\"label\\":\\"Missing Tarball\\",\\"period\\":900,\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"UninstallablePackageCount\\",{\\"label\\":\\"Uninstallable Package\\",\\"period\\":900,\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/CatalogBuilder\\",\\"MissingConstructFrameworkCount\\",{\\"label\\":\\"No Construct Framework\\",\\"period\\":900,\\"stat\\":\\"Maximum\\",\\"yAxis\\":\\"right\\"}],[\\"ConstructHub/CatalogBuilder\\",\\"MissingConstructFrameworkVersionCount\\",{\\"label\\":\\"No Construct Framework Version\\",\\"period\\":900,\\"stat\\":\\"Maximum\\",\\"yAxis\\":\\"right\\"}]],\\"yAxis\\":{\\"left\\":{\\"min\\":0},\\"right\\":{\\"min\\":0}}}},{\\"type\\":\\"text\\",\\"width\\":24,\\"height\\":2,\\"x\\":0,\\"y\\":8,\\"properties\\":{\\"markdown\\":\\"# Documentation Generation\\\\n\\\\n[button:primary:Transliterator Logs](/cloudwatch/home#logsV2:log-groups/log-group/", Object { "Fn::Join": Array [ "%252", @@ -34919,35 +34835,35 @@ def submit_response(event: dict, context, response_status: str, error_message: s Object { "Ref": "AWS::Region", }, - "\\",\\"metrics\\":[[\\"ConstructHub/Inventory\\",\\"SupportedPackageVersionCount\\",\\"Language\\",\\"typescript\\",{\\"color\\":\\"#2ca02c\\",\\"label\\":\\"Available\\",\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"CorruptAssemblyPackageVersionCount\\",\\"Language\\",\\"typescript\\",{\\"color\\":\\"#3542D7\\",\\"label\\":\\"Corrupt Assembly\\",\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"UnsupportedPackageVersionCount\\",\\"Language\\",\\"typescript\\",{\\"color\\":\\"#9467bd\\",\\"label\\":\\"Unsupported\\",\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"MissingPackageVersionCount\\",\\"Language\\",\\"typescript\\",{\\"color\\":\\"#d62728\\",\\"label\\":\\"Missing\\",\\"stat\\":\\"Maximum\\"}]],\\"yAxis\\":{\\"left\\":{\\"showUnits\\":false}}}},{\\"type\\":\\"metric\\",\\"width\\":12,\\"height\\":6,\\"x\\":12,\\"y\\":17,\\"properties\\":{\\"view\\":\\"pie\\",\\"title\\":\\"Package Version Submodules\\",\\"region\\":\\"", + "\\",\\"metrics\\":[[\\"ConstructHub/Inventory\\",\\"SupportedPackageVersionCount\\",\\"Language\\",\\"typescript\\",{\\"color\\":\\"#2ca02c\\",\\"label\\":\\"Available\\",\\"period\\":900,\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"CorruptAssemblyPackageVersionCount\\",\\"Language\\",\\"typescript\\",{\\"color\\":\\"#3542D7\\",\\"label\\":\\"Corrupt Assembly\\",\\"period\\":900,\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"UnsupportedPackageVersionCount\\",\\"Language\\",\\"typescript\\",{\\"color\\":\\"#9467bd\\",\\"label\\":\\"Unsupported\\",\\"period\\":900,\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"MissingPackageVersionCount\\",\\"Language\\",\\"typescript\\",{\\"color\\":\\"#d62728\\",\\"label\\":\\"Missing\\",\\"period\\":900,\\"stat\\":\\"Maximum\\"}]],\\"yAxis\\":{\\"left\\":{\\"showUnits\\":false}}}},{\\"type\\":\\"metric\\",\\"width\\":12,\\"height\\":6,\\"x\\":12,\\"y\\":17,\\"properties\\":{\\"view\\":\\"pie\\",\\"title\\":\\"Package Version Submodules\\",\\"region\\":\\"", Object { "Ref": "AWS::Region", }, - "\\",\\"metrics\\":[[\\"ConstructHub/Inventory\\",\\"SupportedSubmoduleCount\\",\\"Language\\",\\"typescript\\",{\\"color\\":\\"#2ca02c\\",\\"label\\":\\"Available\\",\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"CorruptAssemblySubmoduleCount\\",\\"Language\\",\\"typescript\\",{\\"color\\":\\"#3542D7\\",\\"label\\":\\"Corrupt Assembly\\",\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"UnsupportedSubmoduleCount\\",\\"Language\\",\\"typescript\\",{\\"color\\":\\"#9467bd\\",\\"label\\":\\"Unsupported\\",\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"MissingSubmoduleCount\\",\\"Language\\",\\"typescript\\",{\\"color\\":\\"#d62728\\",\\"label\\":\\"Missing\\",\\"stat\\":\\"Maximum\\"}]],\\"yAxis\\":{\\"left\\":{\\"showUnits\\":false}}}},{\\"type\\":\\"text\\",\\"width\\":24,\\"height\\":1,\\"x\\":0,\\"y\\":23,\\"properties\\":{\\"markdown\\":\\"## Language: python\\"}},{\\"type\\":\\"metric\\",\\"width\\":12,\\"height\\":6,\\"x\\":0,\\"y\\":24,\\"properties\\":{\\"view\\":\\"pie\\",\\"title\\":\\"Package Versions\\",\\"region\\":\\"", + "\\",\\"metrics\\":[[\\"ConstructHub/Inventory\\",\\"SupportedSubmoduleCount\\",\\"Language\\",\\"typescript\\",{\\"color\\":\\"#2ca02c\\",\\"label\\":\\"Available\\",\\"period\\":900,\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"CorruptAssemblySubmoduleCount\\",\\"Language\\",\\"typescript\\",{\\"color\\":\\"#3542D7\\",\\"label\\":\\"Corrupt Assembly\\",\\"period\\":900,\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"UnsupportedSubmoduleCount\\",\\"Language\\",\\"typescript\\",{\\"color\\":\\"#9467bd\\",\\"label\\":\\"Unsupported\\",\\"period\\":900,\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"MissingSubmoduleCount\\",\\"Language\\",\\"typescript\\",{\\"color\\":\\"#d62728\\",\\"label\\":\\"Missing\\",\\"period\\":900,\\"stat\\":\\"Maximum\\"}]],\\"yAxis\\":{\\"left\\":{\\"showUnits\\":false}}}},{\\"type\\":\\"text\\",\\"width\\":24,\\"height\\":1,\\"x\\":0,\\"y\\":23,\\"properties\\":{\\"markdown\\":\\"## Language: python\\"}},{\\"type\\":\\"metric\\",\\"width\\":12,\\"height\\":6,\\"x\\":0,\\"y\\":24,\\"properties\\":{\\"view\\":\\"pie\\",\\"title\\":\\"Package Versions\\",\\"region\\":\\"", Object { "Ref": "AWS::Region", }, - "\\",\\"metrics\\":[[\\"ConstructHub/Inventory\\",\\"SupportedPackageVersionCount\\",\\"Language\\",\\"python\\",{\\"color\\":\\"#2ca02c\\",\\"label\\":\\"Available\\",\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"CorruptAssemblyPackageVersionCount\\",\\"Language\\",\\"python\\",{\\"color\\":\\"#3542D7\\",\\"label\\":\\"Corrupt Assembly\\",\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"UnsupportedPackageVersionCount\\",\\"Language\\",\\"python\\",{\\"color\\":\\"#9467bd\\",\\"label\\":\\"Unsupported\\",\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"MissingPackageVersionCount\\",\\"Language\\",\\"python\\",{\\"color\\":\\"#d62728\\",\\"label\\":\\"Missing\\",\\"stat\\":\\"Maximum\\"}]],\\"yAxis\\":{\\"left\\":{\\"showUnits\\":false}}}},{\\"type\\":\\"metric\\",\\"width\\":12,\\"height\\":6,\\"x\\":12,\\"y\\":24,\\"properties\\":{\\"view\\":\\"pie\\",\\"title\\":\\"Package Version Submodules\\",\\"region\\":\\"", + "\\",\\"metrics\\":[[\\"ConstructHub/Inventory\\",\\"SupportedPackageVersionCount\\",\\"Language\\",\\"python\\",{\\"color\\":\\"#2ca02c\\",\\"label\\":\\"Available\\",\\"period\\":900,\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"CorruptAssemblyPackageVersionCount\\",\\"Language\\",\\"python\\",{\\"color\\":\\"#3542D7\\",\\"label\\":\\"Corrupt Assembly\\",\\"period\\":900,\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"UnsupportedPackageVersionCount\\",\\"Language\\",\\"python\\",{\\"color\\":\\"#9467bd\\",\\"label\\":\\"Unsupported\\",\\"period\\":900,\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"MissingPackageVersionCount\\",\\"Language\\",\\"python\\",{\\"color\\":\\"#d62728\\",\\"label\\":\\"Missing\\",\\"period\\":900,\\"stat\\":\\"Maximum\\"}]],\\"yAxis\\":{\\"left\\":{\\"showUnits\\":false}}}},{\\"type\\":\\"metric\\",\\"width\\":12,\\"height\\":6,\\"x\\":12,\\"y\\":24,\\"properties\\":{\\"view\\":\\"pie\\",\\"title\\":\\"Package Version Submodules\\",\\"region\\":\\"", Object { "Ref": "AWS::Region", }, - "\\",\\"metrics\\":[[\\"ConstructHub/Inventory\\",\\"SupportedSubmoduleCount\\",\\"Language\\",\\"python\\",{\\"color\\":\\"#2ca02c\\",\\"label\\":\\"Available\\",\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"CorruptAssemblySubmoduleCount\\",\\"Language\\",\\"python\\",{\\"color\\":\\"#3542D7\\",\\"label\\":\\"Corrupt Assembly\\",\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"UnsupportedSubmoduleCount\\",\\"Language\\",\\"python\\",{\\"color\\":\\"#9467bd\\",\\"label\\":\\"Unsupported\\",\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"MissingSubmoduleCount\\",\\"Language\\",\\"python\\",{\\"color\\":\\"#d62728\\",\\"label\\":\\"Missing\\",\\"stat\\":\\"Maximum\\"}]],\\"yAxis\\":{\\"left\\":{\\"showUnits\\":false}}}},{\\"type\\":\\"text\\",\\"width\\":24,\\"height\\":1,\\"x\\":0,\\"y\\":30,\\"properties\\":{\\"markdown\\":\\"## Language: java\\"}},{\\"type\\":\\"metric\\",\\"width\\":12,\\"height\\":6,\\"x\\":0,\\"y\\":31,\\"properties\\":{\\"view\\":\\"pie\\",\\"title\\":\\"Package Versions\\",\\"region\\":\\"", + "\\",\\"metrics\\":[[\\"ConstructHub/Inventory\\",\\"SupportedSubmoduleCount\\",\\"Language\\",\\"python\\",{\\"color\\":\\"#2ca02c\\",\\"label\\":\\"Available\\",\\"period\\":900,\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"CorruptAssemblySubmoduleCount\\",\\"Language\\",\\"python\\",{\\"color\\":\\"#3542D7\\",\\"label\\":\\"Corrupt Assembly\\",\\"period\\":900,\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"UnsupportedSubmoduleCount\\",\\"Language\\",\\"python\\",{\\"color\\":\\"#9467bd\\",\\"label\\":\\"Unsupported\\",\\"period\\":900,\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"MissingSubmoduleCount\\",\\"Language\\",\\"python\\",{\\"color\\":\\"#d62728\\",\\"label\\":\\"Missing\\",\\"period\\":900,\\"stat\\":\\"Maximum\\"}]],\\"yAxis\\":{\\"left\\":{\\"showUnits\\":false}}}},{\\"type\\":\\"text\\",\\"width\\":24,\\"height\\":1,\\"x\\":0,\\"y\\":30,\\"properties\\":{\\"markdown\\":\\"## Language: java\\"}},{\\"type\\":\\"metric\\",\\"width\\":12,\\"height\\":6,\\"x\\":0,\\"y\\":31,\\"properties\\":{\\"view\\":\\"pie\\",\\"title\\":\\"Package Versions\\",\\"region\\":\\"", Object { "Ref": "AWS::Region", }, - "\\",\\"metrics\\":[[\\"ConstructHub/Inventory\\",\\"SupportedPackageVersionCount\\",\\"Language\\",\\"java\\",{\\"color\\":\\"#2ca02c\\",\\"label\\":\\"Available\\",\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"CorruptAssemblyPackageVersionCount\\",\\"Language\\",\\"java\\",{\\"color\\":\\"#3542D7\\",\\"label\\":\\"Corrupt Assembly\\",\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"UnsupportedPackageVersionCount\\",\\"Language\\",\\"java\\",{\\"color\\":\\"#9467bd\\",\\"label\\":\\"Unsupported\\",\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"MissingPackageVersionCount\\",\\"Language\\",\\"java\\",{\\"color\\":\\"#d62728\\",\\"label\\":\\"Missing\\",\\"stat\\":\\"Maximum\\"}]],\\"yAxis\\":{\\"left\\":{\\"showUnits\\":false}}}},{\\"type\\":\\"metric\\",\\"width\\":12,\\"height\\":6,\\"x\\":12,\\"y\\":31,\\"properties\\":{\\"view\\":\\"pie\\",\\"title\\":\\"Package Version Submodules\\",\\"region\\":\\"", + "\\",\\"metrics\\":[[\\"ConstructHub/Inventory\\",\\"SupportedPackageVersionCount\\",\\"Language\\",\\"java\\",{\\"color\\":\\"#2ca02c\\",\\"label\\":\\"Available\\",\\"period\\":900,\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"CorruptAssemblyPackageVersionCount\\",\\"Language\\",\\"java\\",{\\"color\\":\\"#3542D7\\",\\"label\\":\\"Corrupt Assembly\\",\\"period\\":900,\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"UnsupportedPackageVersionCount\\",\\"Language\\",\\"java\\",{\\"color\\":\\"#9467bd\\",\\"label\\":\\"Unsupported\\",\\"period\\":900,\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"MissingPackageVersionCount\\",\\"Language\\",\\"java\\",{\\"color\\":\\"#d62728\\",\\"label\\":\\"Missing\\",\\"period\\":900,\\"stat\\":\\"Maximum\\"}]],\\"yAxis\\":{\\"left\\":{\\"showUnits\\":false}}}},{\\"type\\":\\"metric\\",\\"width\\":12,\\"height\\":6,\\"x\\":12,\\"y\\":31,\\"properties\\":{\\"view\\":\\"pie\\",\\"title\\":\\"Package Version Submodules\\",\\"region\\":\\"", Object { "Ref": "AWS::Region", }, - "\\",\\"metrics\\":[[\\"ConstructHub/Inventory\\",\\"SupportedSubmoduleCount\\",\\"Language\\",\\"java\\",{\\"color\\":\\"#2ca02c\\",\\"label\\":\\"Available\\",\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"CorruptAssemblySubmoduleCount\\",\\"Language\\",\\"java\\",{\\"color\\":\\"#3542D7\\",\\"label\\":\\"Corrupt Assembly\\",\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"UnsupportedSubmoduleCount\\",\\"Language\\",\\"java\\",{\\"color\\":\\"#9467bd\\",\\"label\\":\\"Unsupported\\",\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"MissingSubmoduleCount\\",\\"Language\\",\\"java\\",{\\"color\\":\\"#d62728\\",\\"label\\":\\"Missing\\",\\"stat\\":\\"Maximum\\"}]],\\"yAxis\\":{\\"left\\":{\\"showUnits\\":false}}}},{\\"type\\":\\"text\\",\\"width\\":24,\\"height\\":1,\\"x\\":0,\\"y\\":37,\\"properties\\":{\\"markdown\\":\\"## Language: csharp\\"}},{\\"type\\":\\"metric\\",\\"width\\":12,\\"height\\":6,\\"x\\":0,\\"y\\":38,\\"properties\\":{\\"view\\":\\"pie\\",\\"title\\":\\"Package Versions\\",\\"region\\":\\"", + "\\",\\"metrics\\":[[\\"ConstructHub/Inventory\\",\\"SupportedSubmoduleCount\\",\\"Language\\",\\"java\\",{\\"color\\":\\"#2ca02c\\",\\"label\\":\\"Available\\",\\"period\\":900,\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"CorruptAssemblySubmoduleCount\\",\\"Language\\",\\"java\\",{\\"color\\":\\"#3542D7\\",\\"label\\":\\"Corrupt Assembly\\",\\"period\\":900,\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"UnsupportedSubmoduleCount\\",\\"Language\\",\\"java\\",{\\"color\\":\\"#9467bd\\",\\"label\\":\\"Unsupported\\",\\"period\\":900,\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"MissingSubmoduleCount\\",\\"Language\\",\\"java\\",{\\"color\\":\\"#d62728\\",\\"label\\":\\"Missing\\",\\"period\\":900,\\"stat\\":\\"Maximum\\"}]],\\"yAxis\\":{\\"left\\":{\\"showUnits\\":false}}}},{\\"type\\":\\"text\\",\\"width\\":24,\\"height\\":1,\\"x\\":0,\\"y\\":37,\\"properties\\":{\\"markdown\\":\\"## Language: csharp\\"}},{\\"type\\":\\"metric\\",\\"width\\":12,\\"height\\":6,\\"x\\":0,\\"y\\":38,\\"properties\\":{\\"view\\":\\"pie\\",\\"title\\":\\"Package Versions\\",\\"region\\":\\"", Object { "Ref": "AWS::Region", }, - "\\",\\"metrics\\":[[\\"ConstructHub/Inventory\\",\\"SupportedPackageVersionCount\\",\\"Language\\",\\"csharp\\",{\\"color\\":\\"#2ca02c\\",\\"label\\":\\"Available\\",\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"CorruptAssemblyPackageVersionCount\\",\\"Language\\",\\"csharp\\",{\\"color\\":\\"#3542D7\\",\\"label\\":\\"Corrupt Assembly\\",\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"UnsupportedPackageVersionCount\\",\\"Language\\",\\"csharp\\",{\\"color\\":\\"#9467bd\\",\\"label\\":\\"Unsupported\\",\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"MissingPackageVersionCount\\",\\"Language\\",\\"csharp\\",{\\"color\\":\\"#d62728\\",\\"label\\":\\"Missing\\",\\"stat\\":\\"Maximum\\"}]],\\"yAxis\\":{\\"left\\":{\\"showUnits\\":false}}}},{\\"type\\":\\"metric\\",\\"width\\":12,\\"height\\":6,\\"x\\":12,\\"y\\":38,\\"properties\\":{\\"view\\":\\"pie\\",\\"title\\":\\"Package Version Submodules\\",\\"region\\":\\"", + "\\",\\"metrics\\":[[\\"ConstructHub/Inventory\\",\\"SupportedPackageVersionCount\\",\\"Language\\",\\"csharp\\",{\\"color\\":\\"#2ca02c\\",\\"label\\":\\"Available\\",\\"period\\":900,\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"CorruptAssemblyPackageVersionCount\\",\\"Language\\",\\"csharp\\",{\\"color\\":\\"#3542D7\\",\\"label\\":\\"Corrupt Assembly\\",\\"period\\":900,\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"UnsupportedPackageVersionCount\\",\\"Language\\",\\"csharp\\",{\\"color\\":\\"#9467bd\\",\\"label\\":\\"Unsupported\\",\\"period\\":900,\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"MissingPackageVersionCount\\",\\"Language\\",\\"csharp\\",{\\"color\\":\\"#d62728\\",\\"label\\":\\"Missing\\",\\"period\\":900,\\"stat\\":\\"Maximum\\"}]],\\"yAxis\\":{\\"left\\":{\\"showUnits\\":false}}}},{\\"type\\":\\"metric\\",\\"width\\":12,\\"height\\":6,\\"x\\":12,\\"y\\":38,\\"properties\\":{\\"view\\":\\"pie\\",\\"title\\":\\"Package Version Submodules\\",\\"region\\":\\"", Object { "Ref": "AWS::Region", }, - "\\",\\"metrics\\":[[\\"ConstructHub/Inventory\\",\\"SupportedSubmoduleCount\\",\\"Language\\",\\"csharp\\",{\\"color\\":\\"#2ca02c\\",\\"label\\":\\"Available\\",\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"CorruptAssemblySubmoduleCount\\",\\"Language\\",\\"csharp\\",{\\"color\\":\\"#3542D7\\",\\"label\\":\\"Corrupt Assembly\\",\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"UnsupportedSubmoduleCount\\",\\"Language\\",\\"csharp\\",{\\"color\\":\\"#9467bd\\",\\"label\\":\\"Unsupported\\",\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"MissingSubmoduleCount\\",\\"Language\\",\\"csharp\\",{\\"color\\":\\"#d62728\\",\\"label\\":\\"Missing\\",\\"stat\\":\\"Maximum\\"}]],\\"yAxis\\":{\\"left\\":{\\"showUnits\\":false}}}},{\\"type\\":\\"text\\",\\"width\\":24,\\"height\\":2,\\"x\\":0,\\"y\\":44,\\"properties\\":{\\"markdown\\":\\"# Test/ConstructHub/Sources/NpmJs\\\\n\\\\n[button:primary:NpmJs Follower](/lambda/home#/functions/", + "\\",\\"metrics\\":[[\\"ConstructHub/Inventory\\",\\"SupportedSubmoduleCount\\",\\"Language\\",\\"csharp\\",{\\"color\\":\\"#2ca02c\\",\\"label\\":\\"Available\\",\\"period\\":900,\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"CorruptAssemblySubmoduleCount\\",\\"Language\\",\\"csharp\\",{\\"color\\":\\"#3542D7\\",\\"label\\":\\"Corrupt Assembly\\",\\"period\\":900,\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"UnsupportedSubmoduleCount\\",\\"Language\\",\\"csharp\\",{\\"color\\":\\"#9467bd\\",\\"label\\":\\"Unsupported\\",\\"period\\":900,\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"MissingSubmoduleCount\\",\\"Language\\",\\"csharp\\",{\\"color\\":\\"#d62728\\",\\"label\\":\\"Missing\\",\\"period\\":900,\\"stat\\":\\"Maximum\\"}]],\\"yAxis\\":{\\"left\\":{\\"showUnits\\":false}}}},{\\"type\\":\\"text\\",\\"width\\":24,\\"height\\":2,\\"x\\":0,\\"y\\":44,\\"properties\\":{\\"markdown\\":\\"# Test/ConstructHub/Sources/NpmJs\\\\n\\\\n[button:primary:NpmJs Follower](/lambda/home#/functions/", Object { "Ref": "ConstructHubSourcesNpmJs15A77D2D", }, @@ -37617,15 +37533,12 @@ Direct link to the function: /lambda/home#/functions/", ], }, "Runtime": "nodejs14.x", - "Timeout": 300, + "Timeout": 900, }, "Type": "AWS::Lambda::Function", }, "ConstructHubInventoryCanaryFailures5BDA8051": Object { "Properties": Object { - "AlarmActions": Array [ - "arn:aws:sns:us-east-1:123456789012:mystack-mytopic-NZJ5JSMVGFIE", - ], "AlarmDescription": Object { "Fn::Join": Array [ "", @@ -37654,7 +37567,7 @@ Direct link to function: /lambda/home#/functions/", "EvaluationPeriods": 2, "MetricName": "Errors", "Namespace": "AWS/Lambda", - "Period": 300, + "Period": 900, "Statistic": "Sum", "Threshold": 1, }, @@ -37662,9 +37575,6 @@ Direct link to function: /lambda/home#/functions/", }, "ConstructHubInventoryCanaryNotRunningAF44D71C": Object { "Properties": Object { - "AlarmActions": Array [ - "arn:aws:sns:us-east-1:123456789012:mystack-mytopic-NZJ5JSMVGFIE", - ], "AlarmDescription": Object { "Fn::Join": Array [ "", @@ -37693,7 +37603,7 @@ Direct link to function: /lambda/home#/functions/", "EvaluationPeriods": 1, "MetricName": "Invocations", "Namespace": "AWS/Lambda", - "Period": 300, + "Period": 900, "Statistic": "Sum", "Threshold": 1, }, @@ -37704,7 +37614,7 @@ Direct link to function: /lambda/home#/functions/", "ConstructHubInventoryCanaryServiceRoleDefaultPolicy144783F1", ], "Properties": Object { - "ScheduleExpression": "rate(5 minutes)", + "ScheduleExpression": "rate(15 minutes)", "State": "ENABLED", "Targets": Array [ Object { @@ -38277,28 +38187,6 @@ Direct link to function: /lambda/home#/functions/", "Arn", ], }, - "\\"]},\\"yAxis\\":{}}},{\\"type\\":\\"metric\\",\\"width\\":24,\\"height\\":6,\\"x\\":0,\\"y\\":60,\\"properties\\":{\\"view\\":\\"timeSeries\\",\\"title\\":\\"Inventory Canary is not Running\\",\\"region\\":\\"", - Object { - "Ref": "AWS::Region", - }, - "\\",\\"annotations\\":{\\"alarms\\":[\\"", - Object { - "Fn::GetAtt": Array [ - "ConstructHubInventoryCanaryNotRunningAF44D71C", - "Arn", - ], - }, - "\\"]},\\"yAxis\\":{}}},{\\"type\\":\\"metric\\",\\"width\\":24,\\"height\\":6,\\"x\\":0,\\"y\\":66,\\"properties\\":{\\"view\\":\\"timeSeries\\",\\"title\\":\\"Inventory Canary is failing\\",\\"region\\":\\"", - Object { - "Ref": "AWS::Region", - }, - "\\",\\"annotations\\":{\\"alarms\\":[\\"", - Object { - "Fn::GetAtt": Array [ - "ConstructHubInventoryCanaryFailures5BDA8051", - "Arn", - ], - }, "\\"]},\\"yAxis\\":{}}}]}", ], ], @@ -46452,11 +46340,11 @@ def submit_response(event: dict, context, response_status: str, error_message: s Object { "Ref": "AWS::Region", }, - "\\",\\"metrics\\":[[\\"ConstructHub/Inventory\\",\\"SubmoduleCount\\",{\\"label\\":\\"Submodules\\",\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"PackageVersionCount\\",{\\"label\\":\\"Package Versions\\",\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"PackageMajorVersionCount\\",{\\"label\\":\\"Package Majors\\",\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"PackageCount\\",{\\"label\\":\\"Packages\\",\\"stat\\":\\"Maximum\\"}]],\\"yAxis\\":{\\"left\\":{\\"min\\":0}}}},{\\"type\\":\\"metric\\",\\"width\\":12,\\"height\\":6,\\"x\\":12,\\"y\\":2,\\"properties\\":{\\"view\\":\\"timeSeries\\",\\"title\\":\\"Catalog Issues\\",\\"region\\":\\"", + "\\",\\"metrics\\":[[\\"ConstructHub/Inventory\\",\\"SubmoduleCount\\",{\\"label\\":\\"Submodules\\",\\"period\\":900,\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"PackageVersionCount\\",{\\"label\\":\\"Package Versions\\",\\"period\\":900,\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"PackageMajorVersionCount\\",{\\"label\\":\\"Package Majors\\",\\"period\\":900,\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"PackageCount\\",{\\"label\\":\\"Packages\\",\\"period\\":900,\\"stat\\":\\"Maximum\\"}]],\\"yAxis\\":{\\"left\\":{\\"min\\":0}}}},{\\"type\\":\\"metric\\",\\"width\\":12,\\"height\\":6,\\"x\\":12,\\"y\\":2,\\"properties\\":{\\"view\\":\\"timeSeries\\",\\"title\\":\\"Catalog Issues\\",\\"region\\":\\"", Object { "Ref": "AWS::Region", }, - "\\",\\"metrics\\":[[\\"ConstructHub/Inventory\\",\\"UnknownObjectCount\\",{\\"label\\":\\"Unknown\\",\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"MissingAssemblyCount\\",{\\"label\\":\\"Missing Assembly\\",\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"MissingPackageMetadataCount\\",{\\"label\\":\\"Missing Metadata\\",\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"MissingPackageTarballCount\\",{\\"label\\":\\"Missing Tarball\\",\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"UninstallablePackageCount\\",{\\"label\\":\\"Uninstallable Package\\",\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/CatalogBuilder\\",\\"MissingConstructFrameworkCount\\",{\\"label\\":\\"No Construct Framework\\",\\"period\\":900,\\"stat\\":\\"Maximum\\",\\"yAxis\\":\\"right\\"}],[\\"ConstructHub/CatalogBuilder\\",\\"MissingConstructFrameworkVersionCount\\",{\\"label\\":\\"No Construct Framework Version\\",\\"period\\":900,\\"stat\\":\\"Maximum\\",\\"yAxis\\":\\"right\\"}]],\\"yAxis\\":{\\"left\\":{\\"min\\":0},\\"right\\":{\\"min\\":0}}}},{\\"type\\":\\"text\\",\\"width\\":24,\\"height\\":2,\\"x\\":0,\\"y\\":8,\\"properties\\":{\\"markdown\\":\\"# Documentation Generation\\\\n\\\\n[button:primary:Transliterator Logs](/cloudwatch/home#logsV2:log-groups/log-group/", + "\\",\\"metrics\\":[[\\"ConstructHub/Inventory\\",\\"UnknownObjectCount\\",{\\"label\\":\\"Unknown\\",\\"period\\":900,\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"MissingAssemblyCount\\",{\\"label\\":\\"Missing Assembly\\",\\"period\\":900,\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"MissingPackageMetadataCount\\",{\\"label\\":\\"Missing Metadata\\",\\"period\\":900,\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"MissingPackageTarballCount\\",{\\"label\\":\\"Missing Tarball\\",\\"period\\":900,\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"UninstallablePackageCount\\",{\\"label\\":\\"Uninstallable Package\\",\\"period\\":900,\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/CatalogBuilder\\",\\"MissingConstructFrameworkCount\\",{\\"label\\":\\"No Construct Framework\\",\\"period\\":900,\\"stat\\":\\"Maximum\\",\\"yAxis\\":\\"right\\"}],[\\"ConstructHub/CatalogBuilder\\",\\"MissingConstructFrameworkVersionCount\\",{\\"label\\":\\"No Construct Framework Version\\",\\"period\\":900,\\"stat\\":\\"Maximum\\",\\"yAxis\\":\\"right\\"}]],\\"yAxis\\":{\\"left\\":{\\"min\\":0},\\"right\\":{\\"min\\":0}}}},{\\"type\\":\\"text\\",\\"width\\":24,\\"height\\":2,\\"x\\":0,\\"y\\":8,\\"properties\\":{\\"markdown\\":\\"# Documentation Generation\\\\n\\\\n[button:primary:Transliterator Logs](/cloudwatch/home#logsV2:log-groups/log-group/", Object { "Fn::Join": Array [ "%252", @@ -46514,35 +46402,35 @@ def submit_response(event: dict, context, response_status: str, error_message: s Object { "Ref": "AWS::Region", }, - "\\",\\"metrics\\":[[\\"ConstructHub/Inventory\\",\\"SupportedPackageVersionCount\\",\\"Language\\",\\"typescript\\",{\\"color\\":\\"#2ca02c\\",\\"label\\":\\"Available\\",\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"CorruptAssemblyPackageVersionCount\\",\\"Language\\",\\"typescript\\",{\\"color\\":\\"#3542D7\\",\\"label\\":\\"Corrupt Assembly\\",\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"UnsupportedPackageVersionCount\\",\\"Language\\",\\"typescript\\",{\\"color\\":\\"#9467bd\\",\\"label\\":\\"Unsupported\\",\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"MissingPackageVersionCount\\",\\"Language\\",\\"typescript\\",{\\"color\\":\\"#d62728\\",\\"label\\":\\"Missing\\",\\"stat\\":\\"Maximum\\"}]],\\"yAxis\\":{\\"left\\":{\\"showUnits\\":false}}}},{\\"type\\":\\"metric\\",\\"width\\":12,\\"height\\":6,\\"x\\":12,\\"y\\":17,\\"properties\\":{\\"view\\":\\"pie\\",\\"title\\":\\"Package Version Submodules\\",\\"region\\":\\"", + "\\",\\"metrics\\":[[\\"ConstructHub/Inventory\\",\\"SupportedPackageVersionCount\\",\\"Language\\",\\"typescript\\",{\\"color\\":\\"#2ca02c\\",\\"label\\":\\"Available\\",\\"period\\":900,\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"CorruptAssemblyPackageVersionCount\\",\\"Language\\",\\"typescript\\",{\\"color\\":\\"#3542D7\\",\\"label\\":\\"Corrupt Assembly\\",\\"period\\":900,\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"UnsupportedPackageVersionCount\\",\\"Language\\",\\"typescript\\",{\\"color\\":\\"#9467bd\\",\\"label\\":\\"Unsupported\\",\\"period\\":900,\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"MissingPackageVersionCount\\",\\"Language\\",\\"typescript\\",{\\"color\\":\\"#d62728\\",\\"label\\":\\"Missing\\",\\"period\\":900,\\"stat\\":\\"Maximum\\"}]],\\"yAxis\\":{\\"left\\":{\\"showUnits\\":false}}}},{\\"type\\":\\"metric\\",\\"width\\":12,\\"height\\":6,\\"x\\":12,\\"y\\":17,\\"properties\\":{\\"view\\":\\"pie\\",\\"title\\":\\"Package Version Submodules\\",\\"region\\":\\"", Object { "Ref": "AWS::Region", }, - "\\",\\"metrics\\":[[\\"ConstructHub/Inventory\\",\\"SupportedSubmoduleCount\\",\\"Language\\",\\"typescript\\",{\\"color\\":\\"#2ca02c\\",\\"label\\":\\"Available\\",\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"CorruptAssemblySubmoduleCount\\",\\"Language\\",\\"typescript\\",{\\"color\\":\\"#3542D7\\",\\"label\\":\\"Corrupt Assembly\\",\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"UnsupportedSubmoduleCount\\",\\"Language\\",\\"typescript\\",{\\"color\\":\\"#9467bd\\",\\"label\\":\\"Unsupported\\",\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"MissingSubmoduleCount\\",\\"Language\\",\\"typescript\\",{\\"color\\":\\"#d62728\\",\\"label\\":\\"Missing\\",\\"stat\\":\\"Maximum\\"}]],\\"yAxis\\":{\\"left\\":{\\"showUnits\\":false}}}},{\\"type\\":\\"text\\",\\"width\\":24,\\"height\\":1,\\"x\\":0,\\"y\\":23,\\"properties\\":{\\"markdown\\":\\"## Language: python\\"}},{\\"type\\":\\"metric\\",\\"width\\":12,\\"height\\":6,\\"x\\":0,\\"y\\":24,\\"properties\\":{\\"view\\":\\"pie\\",\\"title\\":\\"Package Versions\\",\\"region\\":\\"", + "\\",\\"metrics\\":[[\\"ConstructHub/Inventory\\",\\"SupportedSubmoduleCount\\",\\"Language\\",\\"typescript\\",{\\"color\\":\\"#2ca02c\\",\\"label\\":\\"Available\\",\\"period\\":900,\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"CorruptAssemblySubmoduleCount\\",\\"Language\\",\\"typescript\\",{\\"color\\":\\"#3542D7\\",\\"label\\":\\"Corrupt Assembly\\",\\"period\\":900,\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"UnsupportedSubmoduleCount\\",\\"Language\\",\\"typescript\\",{\\"color\\":\\"#9467bd\\",\\"label\\":\\"Unsupported\\",\\"period\\":900,\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"MissingSubmoduleCount\\",\\"Language\\",\\"typescript\\",{\\"color\\":\\"#d62728\\",\\"label\\":\\"Missing\\",\\"period\\":900,\\"stat\\":\\"Maximum\\"}]],\\"yAxis\\":{\\"left\\":{\\"showUnits\\":false}}}},{\\"type\\":\\"text\\",\\"width\\":24,\\"height\\":1,\\"x\\":0,\\"y\\":23,\\"properties\\":{\\"markdown\\":\\"## Language: python\\"}},{\\"type\\":\\"metric\\",\\"width\\":12,\\"height\\":6,\\"x\\":0,\\"y\\":24,\\"properties\\":{\\"view\\":\\"pie\\",\\"title\\":\\"Package Versions\\",\\"region\\":\\"", Object { "Ref": "AWS::Region", }, - "\\",\\"metrics\\":[[\\"ConstructHub/Inventory\\",\\"SupportedPackageVersionCount\\",\\"Language\\",\\"python\\",{\\"color\\":\\"#2ca02c\\",\\"label\\":\\"Available\\",\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"CorruptAssemblyPackageVersionCount\\",\\"Language\\",\\"python\\",{\\"color\\":\\"#3542D7\\",\\"label\\":\\"Corrupt Assembly\\",\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"UnsupportedPackageVersionCount\\",\\"Language\\",\\"python\\",{\\"color\\":\\"#9467bd\\",\\"label\\":\\"Unsupported\\",\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"MissingPackageVersionCount\\",\\"Language\\",\\"python\\",{\\"color\\":\\"#d62728\\",\\"label\\":\\"Missing\\",\\"stat\\":\\"Maximum\\"}]],\\"yAxis\\":{\\"left\\":{\\"showUnits\\":false}}}},{\\"type\\":\\"metric\\",\\"width\\":12,\\"height\\":6,\\"x\\":12,\\"y\\":24,\\"properties\\":{\\"view\\":\\"pie\\",\\"title\\":\\"Package Version Submodules\\",\\"region\\":\\"", + "\\",\\"metrics\\":[[\\"ConstructHub/Inventory\\",\\"SupportedPackageVersionCount\\",\\"Language\\",\\"python\\",{\\"color\\":\\"#2ca02c\\",\\"label\\":\\"Available\\",\\"period\\":900,\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"CorruptAssemblyPackageVersionCount\\",\\"Language\\",\\"python\\",{\\"color\\":\\"#3542D7\\",\\"label\\":\\"Corrupt Assembly\\",\\"period\\":900,\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"UnsupportedPackageVersionCount\\",\\"Language\\",\\"python\\",{\\"color\\":\\"#9467bd\\",\\"label\\":\\"Unsupported\\",\\"period\\":900,\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"MissingPackageVersionCount\\",\\"Language\\",\\"python\\",{\\"color\\":\\"#d62728\\",\\"label\\":\\"Missing\\",\\"period\\":900,\\"stat\\":\\"Maximum\\"}]],\\"yAxis\\":{\\"left\\":{\\"showUnits\\":false}}}},{\\"type\\":\\"metric\\",\\"width\\":12,\\"height\\":6,\\"x\\":12,\\"y\\":24,\\"properties\\":{\\"view\\":\\"pie\\",\\"title\\":\\"Package Version Submodules\\",\\"region\\":\\"", Object { "Ref": "AWS::Region", }, - "\\",\\"metrics\\":[[\\"ConstructHub/Inventory\\",\\"SupportedSubmoduleCount\\",\\"Language\\",\\"python\\",{\\"color\\":\\"#2ca02c\\",\\"label\\":\\"Available\\",\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"CorruptAssemblySubmoduleCount\\",\\"Language\\",\\"python\\",{\\"color\\":\\"#3542D7\\",\\"label\\":\\"Corrupt Assembly\\",\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"UnsupportedSubmoduleCount\\",\\"Language\\",\\"python\\",{\\"color\\":\\"#9467bd\\",\\"label\\":\\"Unsupported\\",\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"MissingSubmoduleCount\\",\\"Language\\",\\"python\\",{\\"color\\":\\"#d62728\\",\\"label\\":\\"Missing\\",\\"stat\\":\\"Maximum\\"}]],\\"yAxis\\":{\\"left\\":{\\"showUnits\\":false}}}},{\\"type\\":\\"text\\",\\"width\\":24,\\"height\\":1,\\"x\\":0,\\"y\\":30,\\"properties\\":{\\"markdown\\":\\"## Language: java\\"}},{\\"type\\":\\"metric\\",\\"width\\":12,\\"height\\":6,\\"x\\":0,\\"y\\":31,\\"properties\\":{\\"view\\":\\"pie\\",\\"title\\":\\"Package Versions\\",\\"region\\":\\"", + "\\",\\"metrics\\":[[\\"ConstructHub/Inventory\\",\\"SupportedSubmoduleCount\\",\\"Language\\",\\"python\\",{\\"color\\":\\"#2ca02c\\",\\"label\\":\\"Available\\",\\"period\\":900,\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"CorruptAssemblySubmoduleCount\\",\\"Language\\",\\"python\\",{\\"color\\":\\"#3542D7\\",\\"label\\":\\"Corrupt Assembly\\",\\"period\\":900,\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"UnsupportedSubmoduleCount\\",\\"Language\\",\\"python\\",{\\"color\\":\\"#9467bd\\",\\"label\\":\\"Unsupported\\",\\"period\\":900,\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"MissingSubmoduleCount\\",\\"Language\\",\\"python\\",{\\"color\\":\\"#d62728\\",\\"label\\":\\"Missing\\",\\"period\\":900,\\"stat\\":\\"Maximum\\"}]],\\"yAxis\\":{\\"left\\":{\\"showUnits\\":false}}}},{\\"type\\":\\"text\\",\\"width\\":24,\\"height\\":1,\\"x\\":0,\\"y\\":30,\\"properties\\":{\\"markdown\\":\\"## Language: java\\"}},{\\"type\\":\\"metric\\",\\"width\\":12,\\"height\\":6,\\"x\\":0,\\"y\\":31,\\"properties\\":{\\"view\\":\\"pie\\",\\"title\\":\\"Package Versions\\",\\"region\\":\\"", Object { "Ref": "AWS::Region", }, - "\\",\\"metrics\\":[[\\"ConstructHub/Inventory\\",\\"SupportedPackageVersionCount\\",\\"Language\\",\\"java\\",{\\"color\\":\\"#2ca02c\\",\\"label\\":\\"Available\\",\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"CorruptAssemblyPackageVersionCount\\",\\"Language\\",\\"java\\",{\\"color\\":\\"#3542D7\\",\\"label\\":\\"Corrupt Assembly\\",\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"UnsupportedPackageVersionCount\\",\\"Language\\",\\"java\\",{\\"color\\":\\"#9467bd\\",\\"label\\":\\"Unsupported\\",\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"MissingPackageVersionCount\\",\\"Language\\",\\"java\\",{\\"color\\":\\"#d62728\\",\\"label\\":\\"Missing\\",\\"stat\\":\\"Maximum\\"}]],\\"yAxis\\":{\\"left\\":{\\"showUnits\\":false}}}},{\\"type\\":\\"metric\\",\\"width\\":12,\\"height\\":6,\\"x\\":12,\\"y\\":31,\\"properties\\":{\\"view\\":\\"pie\\",\\"title\\":\\"Package Version Submodules\\",\\"region\\":\\"", + "\\",\\"metrics\\":[[\\"ConstructHub/Inventory\\",\\"SupportedPackageVersionCount\\",\\"Language\\",\\"java\\",{\\"color\\":\\"#2ca02c\\",\\"label\\":\\"Available\\",\\"period\\":900,\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"CorruptAssemblyPackageVersionCount\\",\\"Language\\",\\"java\\",{\\"color\\":\\"#3542D7\\",\\"label\\":\\"Corrupt Assembly\\",\\"period\\":900,\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"UnsupportedPackageVersionCount\\",\\"Language\\",\\"java\\",{\\"color\\":\\"#9467bd\\",\\"label\\":\\"Unsupported\\",\\"period\\":900,\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"MissingPackageVersionCount\\",\\"Language\\",\\"java\\",{\\"color\\":\\"#d62728\\",\\"label\\":\\"Missing\\",\\"period\\":900,\\"stat\\":\\"Maximum\\"}]],\\"yAxis\\":{\\"left\\":{\\"showUnits\\":false}}}},{\\"type\\":\\"metric\\",\\"width\\":12,\\"height\\":6,\\"x\\":12,\\"y\\":31,\\"properties\\":{\\"view\\":\\"pie\\",\\"title\\":\\"Package Version Submodules\\",\\"region\\":\\"", Object { "Ref": "AWS::Region", }, - "\\",\\"metrics\\":[[\\"ConstructHub/Inventory\\",\\"SupportedSubmoduleCount\\",\\"Language\\",\\"java\\",{\\"color\\":\\"#2ca02c\\",\\"label\\":\\"Available\\",\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"CorruptAssemblySubmoduleCount\\",\\"Language\\",\\"java\\",{\\"color\\":\\"#3542D7\\",\\"label\\":\\"Corrupt Assembly\\",\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"UnsupportedSubmoduleCount\\",\\"Language\\",\\"java\\",{\\"color\\":\\"#9467bd\\",\\"label\\":\\"Unsupported\\",\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"MissingSubmoduleCount\\",\\"Language\\",\\"java\\",{\\"color\\":\\"#d62728\\",\\"label\\":\\"Missing\\",\\"stat\\":\\"Maximum\\"}]],\\"yAxis\\":{\\"left\\":{\\"showUnits\\":false}}}},{\\"type\\":\\"text\\",\\"width\\":24,\\"height\\":1,\\"x\\":0,\\"y\\":37,\\"properties\\":{\\"markdown\\":\\"## Language: csharp\\"}},{\\"type\\":\\"metric\\",\\"width\\":12,\\"height\\":6,\\"x\\":0,\\"y\\":38,\\"properties\\":{\\"view\\":\\"pie\\",\\"title\\":\\"Package Versions\\",\\"region\\":\\"", + "\\",\\"metrics\\":[[\\"ConstructHub/Inventory\\",\\"SupportedSubmoduleCount\\",\\"Language\\",\\"java\\",{\\"color\\":\\"#2ca02c\\",\\"label\\":\\"Available\\",\\"period\\":900,\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"CorruptAssemblySubmoduleCount\\",\\"Language\\",\\"java\\",{\\"color\\":\\"#3542D7\\",\\"label\\":\\"Corrupt Assembly\\",\\"period\\":900,\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"UnsupportedSubmoduleCount\\",\\"Language\\",\\"java\\",{\\"color\\":\\"#9467bd\\",\\"label\\":\\"Unsupported\\",\\"period\\":900,\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"MissingSubmoduleCount\\",\\"Language\\",\\"java\\",{\\"color\\":\\"#d62728\\",\\"label\\":\\"Missing\\",\\"period\\":900,\\"stat\\":\\"Maximum\\"}]],\\"yAxis\\":{\\"left\\":{\\"showUnits\\":false}}}},{\\"type\\":\\"text\\",\\"width\\":24,\\"height\\":1,\\"x\\":0,\\"y\\":37,\\"properties\\":{\\"markdown\\":\\"## Language: csharp\\"}},{\\"type\\":\\"metric\\",\\"width\\":12,\\"height\\":6,\\"x\\":0,\\"y\\":38,\\"properties\\":{\\"view\\":\\"pie\\",\\"title\\":\\"Package Versions\\",\\"region\\":\\"", Object { "Ref": "AWS::Region", }, - "\\",\\"metrics\\":[[\\"ConstructHub/Inventory\\",\\"SupportedPackageVersionCount\\",\\"Language\\",\\"csharp\\",{\\"color\\":\\"#2ca02c\\",\\"label\\":\\"Available\\",\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"CorruptAssemblyPackageVersionCount\\",\\"Language\\",\\"csharp\\",{\\"color\\":\\"#3542D7\\",\\"label\\":\\"Corrupt Assembly\\",\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"UnsupportedPackageVersionCount\\",\\"Language\\",\\"csharp\\",{\\"color\\":\\"#9467bd\\",\\"label\\":\\"Unsupported\\",\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"MissingPackageVersionCount\\",\\"Language\\",\\"csharp\\",{\\"color\\":\\"#d62728\\",\\"label\\":\\"Missing\\",\\"stat\\":\\"Maximum\\"}]],\\"yAxis\\":{\\"left\\":{\\"showUnits\\":false}}}},{\\"type\\":\\"metric\\",\\"width\\":12,\\"height\\":6,\\"x\\":12,\\"y\\":38,\\"properties\\":{\\"view\\":\\"pie\\",\\"title\\":\\"Package Version Submodules\\",\\"region\\":\\"", + "\\",\\"metrics\\":[[\\"ConstructHub/Inventory\\",\\"SupportedPackageVersionCount\\",\\"Language\\",\\"csharp\\",{\\"color\\":\\"#2ca02c\\",\\"label\\":\\"Available\\",\\"period\\":900,\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"CorruptAssemblyPackageVersionCount\\",\\"Language\\",\\"csharp\\",{\\"color\\":\\"#3542D7\\",\\"label\\":\\"Corrupt Assembly\\",\\"period\\":900,\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"UnsupportedPackageVersionCount\\",\\"Language\\",\\"csharp\\",{\\"color\\":\\"#9467bd\\",\\"label\\":\\"Unsupported\\",\\"period\\":900,\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"MissingPackageVersionCount\\",\\"Language\\",\\"csharp\\",{\\"color\\":\\"#d62728\\",\\"label\\":\\"Missing\\",\\"period\\":900,\\"stat\\":\\"Maximum\\"}]],\\"yAxis\\":{\\"left\\":{\\"showUnits\\":false}}}},{\\"type\\":\\"metric\\",\\"width\\":12,\\"height\\":6,\\"x\\":12,\\"y\\":38,\\"properties\\":{\\"view\\":\\"pie\\",\\"title\\":\\"Package Version Submodules\\",\\"region\\":\\"", Object { "Ref": "AWS::Region", }, - "\\",\\"metrics\\":[[\\"ConstructHub/Inventory\\",\\"SupportedSubmoduleCount\\",\\"Language\\",\\"csharp\\",{\\"color\\":\\"#2ca02c\\",\\"label\\":\\"Available\\",\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"CorruptAssemblySubmoduleCount\\",\\"Language\\",\\"csharp\\",{\\"color\\":\\"#3542D7\\",\\"label\\":\\"Corrupt Assembly\\",\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"UnsupportedSubmoduleCount\\",\\"Language\\",\\"csharp\\",{\\"color\\":\\"#9467bd\\",\\"label\\":\\"Unsupported\\",\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"MissingSubmoduleCount\\",\\"Language\\",\\"csharp\\",{\\"color\\":\\"#d62728\\",\\"label\\":\\"Missing\\",\\"stat\\":\\"Maximum\\"}]],\\"yAxis\\":{\\"left\\":{\\"showUnits\\":false}}}},{\\"type\\":\\"text\\",\\"width\\":24,\\"height\\":2,\\"x\\":0,\\"y\\":44,\\"properties\\":{\\"markdown\\":\\"# Test/ConstructHub/Sources/NpmJs\\\\n\\\\n[button:primary:NpmJs Follower](/lambda/home#/functions/", + "\\",\\"metrics\\":[[\\"ConstructHub/Inventory\\",\\"SupportedSubmoduleCount\\",\\"Language\\",\\"csharp\\",{\\"color\\":\\"#2ca02c\\",\\"label\\":\\"Available\\",\\"period\\":900,\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"CorruptAssemblySubmoduleCount\\",\\"Language\\",\\"csharp\\",{\\"color\\":\\"#3542D7\\",\\"label\\":\\"Corrupt Assembly\\",\\"period\\":900,\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"UnsupportedSubmoduleCount\\",\\"Language\\",\\"csharp\\",{\\"color\\":\\"#9467bd\\",\\"label\\":\\"Unsupported\\",\\"period\\":900,\\"stat\\":\\"Maximum\\"}],[\\"ConstructHub/Inventory\\",\\"MissingSubmoduleCount\\",\\"Language\\",\\"csharp\\",{\\"color\\":\\"#d62728\\",\\"label\\":\\"Missing\\",\\"period\\":900,\\"stat\\":\\"Maximum\\"}]],\\"yAxis\\":{\\"left\\":{\\"showUnits\\":false}}}},{\\"type\\":\\"text\\",\\"width\\":24,\\"height\\":2,\\"x\\":0,\\"y\\":44,\\"properties\\":{\\"markdown\\":\\"# Test/ConstructHub/Sources/NpmJs\\\\n\\\\n[button:primary:NpmJs Follower](/lambda/home#/functions/", Object { "Ref": "ConstructHubSourcesNpmJs15A77D2D", }, @@ -49338,15 +49226,12 @@ Direct link to the function: /lambda/home#/functions/", ], }, "Runtime": "nodejs14.x", - "Timeout": 300, + "Timeout": 900, }, "Type": "AWS::Lambda::Function", }, "ConstructHubInventoryCanaryFailures5BDA8051": Object { "Properties": Object { - "AlarmActions": Array [ - "arn:aws:sns:us-east-1:123456789012:mystack-mytopic-NZJ5JSMVGFIE", - ], "AlarmDescription": Object { "Fn::Join": Array [ "", @@ -49375,7 +49260,7 @@ Direct link to function: /lambda/home#/functions/", "EvaluationPeriods": 2, "MetricName": "Errors", "Namespace": "AWS/Lambda", - "Period": 300, + "Period": 900, "Statistic": "Sum", "Threshold": 1, }, @@ -49383,9 +49268,6 @@ Direct link to function: /lambda/home#/functions/", }, "ConstructHubInventoryCanaryNotRunningAF44D71C": Object { "Properties": Object { - "AlarmActions": Array [ - "arn:aws:sns:us-east-1:123456789012:mystack-mytopic-NZJ5JSMVGFIE", - ], "AlarmDescription": Object { "Fn::Join": Array [ "", @@ -49414,7 +49296,7 @@ Direct link to function: /lambda/home#/functions/", "EvaluationPeriods": 1, "MetricName": "Invocations", "Namespace": "AWS/Lambda", - "Period": 300, + "Period": 900, "Statistic": "Sum", "Threshold": 1, }, @@ -49425,7 +49307,7 @@ Direct link to function: /lambda/home#/functions/", "ConstructHubInventoryCanaryServiceRoleDefaultPolicy144783F1", ], "Properties": Object { - "ScheduleExpression": "rate(5 minutes)", + "ScheduleExpression": "rate(15 minutes)", "State": "ENABLED", "Targets": Array [ Object { @@ -49976,28 +49858,6 @@ Direct link to function: /lambda/home#/functions/", "Arn", ], }, - "\\"]},\\"yAxis\\":{}}},{\\"type\\":\\"metric\\",\\"width\\":24,\\"height\\":6,\\"x\\":0,\\"y\\":48,\\"properties\\":{\\"view\\":\\"timeSeries\\",\\"title\\":\\"Inventory Canary is not Running\\",\\"region\\":\\"", - Object { - "Ref": "AWS::Region", - }, - "\\",\\"annotations\\":{\\"alarms\\":[\\"", - Object { - "Fn::GetAtt": Array [ - "ConstructHubInventoryCanaryNotRunningAF44D71C", - "Arn", - ], - }, - "\\"]},\\"yAxis\\":{}}},{\\"type\\":\\"metric\\",\\"width\\":24,\\"height\\":6,\\"x\\":0,\\"y\\":54,\\"properties\\":{\\"view\\":\\"timeSeries\\",\\"title\\":\\"Inventory Canary is failing\\",\\"region\\":\\"", - Object { - "Ref": "AWS::Region", - }, - "\\",\\"annotations\\":{\\"alarms\\":[\\"", - Object { - "Fn::GetAtt": Array [ - "ConstructHubInventoryCanaryFailures5BDA8051", - "Arn", - ], - }, "\\"]},\\"yAxis\\":{}}}]}", ], ], diff --git a/src/__tests__/devapp/__snapshots__/snapshot.test.ts.snap b/src/__tests__/devapp/__snapshots__/snapshot.test.ts.snap index edb805bf8..5a3df1e1c 100644 --- a/src/__tests__/devapp/__snapshots__/snapshot.test.ts.snap +++ b/src/__tests__/devapp/__snapshots__/snapshot.test.ts.snap @@ -245,20 +245,6 @@ Resources: - Fn::GetAtt: - ConstructHubSourcesNpmJsCanaryAlarmBE2B479E - Arn - - '"]},"yAxis":{}}},{"type":"metric","width":24,"height":6,"x":0,"y":48,"properties":{"view":"timeSeries","title":"Inventory - Canary is not Running","region":"' - - Ref: AWS::Region - - '","annotations":{"alarms":["' - - Fn::GetAtt: - - ConstructHubInventoryCanaryNotRunningAF44D71C - - Arn - - '"]},"yAxis":{}}},{"type":"metric","width":24,"height":6,"x":0,"y":54,"properties":{"view":"timeSeries","title":"Inventory - Canary is failing","region":"' - - Ref: AWS::Region - - '","annotations":{"alarms":["' - - Fn::GetAtt: - - ConstructHubInventoryCanaryFailures5BDA8051 - - Arn - '"]},"yAxis":{}}}]}' ConstructHubMonitoringWebCanaryHomePageHttpGetFunctionServiceRole9AAAD93C: Type: AWS::IAM::Role @@ -6280,7 +6266,7 @@ Resources: Handler: index.handler MemorySize: 10240 Runtime: nodejs14.x - Timeout: 300 + Timeout: 900 DependsOn: - ConstructHubInventoryCanaryServiceRoleDefaultPolicy144783F1 - ConstructHubInventoryCanaryServiceRole7684EDDE @@ -6300,7 +6286,7 @@ Resources: ConstructHubInventoryCanaryScheduleRule79F2F8D8: Type: AWS::Events::Rule Properties: - ScheduleExpression: rate(5 minutes) + ScheduleExpression: rate(15 minutes) State: ENABLED Targets: - Arn: @@ -6349,7 +6335,7 @@ Resources: Ref: ConstructHubInventoryCanary63D899BC MetricName: Invocations Namespace: AWS/Lambda - Period: 300 + Period: 900 Statistic: Sum Threshold: 1 ConstructHubInventoryCanaryFailures5BDA8051: @@ -6376,7 +6362,7 @@ Resources: Ref: ConstructHubInventoryCanary63D899BC MetricName: Errors Namespace: AWS/Lambda - Period: 300 + Period: 900 Statistic: Sum Threshold: 1 ConstructHubBackendDashboardReportsDFD170B1: @@ -6501,16 +6487,16 @@ Resources: - /log-events)"}},{"type":"metric","width":12,"height":6,"x":0,"y":2,"properties":{"view":"timeSeries","title":"Catalog Size","region":" - Ref: AWS::Region - - '","metrics":[["ConstructHub/Inventory","SubmoduleCount",{"label":"Submodules","stat":"Maximum"}],["ConstructHub/Inventory","PackageVersionCount",{"label":"Package - Versions","stat":"Maximum"}],["ConstructHub/Inventory","PackageMajorVersionCount",{"label":"Package - Majors","stat":"Maximum"}],["ConstructHub/Inventory","PackageCount",{"label":"Packages","stat":"Maximum"}]],"yAxis":{"left":{"min":0}}}},{"type":"metric","width":12,"height":6,"x":12,"y":2,"properties":{"view":"timeSeries","title":"Catalog + - '","metrics":[["ConstructHub/Inventory","SubmoduleCount",{"label":"Submodules","period":900,"stat":"Maximum"}],["ConstructHub/Inventory","PackageVersionCount",{"label":"Package + Versions","period":900,"stat":"Maximum"}],["ConstructHub/Inventory","PackageMajorVersionCount",{"label":"Package + Majors","period":900,"stat":"Maximum"}],["ConstructHub/Inventory","PackageCount",{"label":"Packages","period":900,"stat":"Maximum"}]],"yAxis":{"left":{"min":0}}}},{"type":"metric","width":12,"height":6,"x":12,"y":2,"properties":{"view":"timeSeries","title":"Catalog Issues","region":"' - Ref: AWS::Region - - '","metrics":[["ConstructHub/Inventory","UnknownObjectCount",{"label":"Unknown","stat":"Maximum"}],["ConstructHub/Inventory","MissingAssemblyCount",{"label":"Missing - Assembly","stat":"Maximum"}],["ConstructHub/Inventory","MissingPackageMetadataCount",{"label":"Missing - Metadata","stat":"Maximum"}],["ConstructHub/Inventory","MissingPackageTarballCount",{"label":"Missing - Tarball","stat":"Maximum"}],["ConstructHub/Inventory","UninstallablePackageCount",{"label":"Uninstallable - Package","stat":"Maximum"}],["ConstructHub/CatalogBuilder","MissingConstructFrameworkCount",{"label":"No + - '","metrics":[["ConstructHub/Inventory","UnknownObjectCount",{"label":"Unknown","period":900,"stat":"Maximum"}],["ConstructHub/Inventory","MissingAssemblyCount",{"label":"Missing + Assembly","period":900,"stat":"Maximum"}],["ConstructHub/Inventory","MissingPackageMetadataCount",{"label":"Missing + Metadata","period":900,"stat":"Maximum"}],["ConstructHub/Inventory","MissingPackageTarballCount",{"label":"Missing + Tarball","period":900,"stat":"Maximum"}],["ConstructHub/Inventory","UninstallablePackageCount",{"label":"Uninstallable + Package","period":900,"stat":"Maximum"}],["ConstructHub/CatalogBuilder","MissingConstructFrameworkCount",{"label":"No Construct Framework","period":900,"stat":"Maximum","yAxis":"right"}],["ConstructHub/CatalogBuilder","MissingConstructFrameworkVersionCount",{"label":"No Construct Framework @@ -6568,42 +6554,42 @@ Resources: typescript"}},{"type":"metric","width":12,"height":6,"x":0,"y":17,"properties":{"view":"pie","title":"Package Versions","region":"' - Ref: AWS::Region - - '","metrics":[["ConstructHub/Inventory","SupportedPackageVersionCount","Language","typescript",{"color":"#2ca02c","label":"Available","stat":"Maximum"}],["ConstructHub/Inventory","CorruptAssemblyPackageVersionCount","Language","typescript",{"color":"#3542D7","label":"Corrupt - Assembly","stat":"Maximum"}],["ConstructHub/Inventory","UnsupportedPackageVersionCount","Language","typescript",{"color":"#9467bd","label":"Unsupported","stat":"Maximum"}],["ConstructHub/Inventory","MissingPackageVersionCount","Language","typescript",{"color":"#d62728","label":"Missing","stat":"Maximum"}]],"yAxis":{"left":{"showUnits":false}}}},{"type":"metric","width":12,"height":6,"x":12,"y":17,"properties":{"view":"pie","title":"Package + - '","metrics":[["ConstructHub/Inventory","SupportedPackageVersionCount","Language","typescript",{"color":"#2ca02c","label":"Available","period":900,"stat":"Maximum"}],["ConstructHub/Inventory","CorruptAssemblyPackageVersionCount","Language","typescript",{"color":"#3542D7","label":"Corrupt + Assembly","period":900,"stat":"Maximum"}],["ConstructHub/Inventory","UnsupportedPackageVersionCount","Language","typescript",{"color":"#9467bd","label":"Unsupported","period":900,"stat":"Maximum"}],["ConstructHub/Inventory","MissingPackageVersionCount","Language","typescript",{"color":"#d62728","label":"Missing","period":900,"stat":"Maximum"}]],"yAxis":{"left":{"showUnits":false}}}},{"type":"metric","width":12,"height":6,"x":12,"y":17,"properties":{"view":"pie","title":"Package Version Submodules","region":"' - Ref: AWS::Region - - '","metrics":[["ConstructHub/Inventory","SupportedSubmoduleCount","Language","typescript",{"color":"#2ca02c","label":"Available","stat":"Maximum"}],["ConstructHub/Inventory","CorruptAssemblySubmoduleCount","Language","typescript",{"color":"#3542D7","label":"Corrupt - Assembly","stat":"Maximum"}],["ConstructHub/Inventory","UnsupportedSubmoduleCount","Language","typescript",{"color":"#9467bd","label":"Unsupported","stat":"Maximum"}],["ConstructHub/Inventory","MissingSubmoduleCount","Language","typescript",{"color":"#d62728","label":"Missing","stat":"Maximum"}]],"yAxis":{"left":{"showUnits":false}}}},{"type":"text","width":24,"height":1,"x":0,"y":23,"properties":{"markdown":"## + - '","metrics":[["ConstructHub/Inventory","SupportedSubmoduleCount","Language","typescript",{"color":"#2ca02c","label":"Available","period":900,"stat":"Maximum"}],["ConstructHub/Inventory","CorruptAssemblySubmoduleCount","Language","typescript",{"color":"#3542D7","label":"Corrupt + Assembly","period":900,"stat":"Maximum"}],["ConstructHub/Inventory","UnsupportedSubmoduleCount","Language","typescript",{"color":"#9467bd","label":"Unsupported","period":900,"stat":"Maximum"}],["ConstructHub/Inventory","MissingSubmoduleCount","Language","typescript",{"color":"#d62728","label":"Missing","period":900,"stat":"Maximum"}]],"yAxis":{"left":{"showUnits":false}}}},{"type":"text","width":24,"height":1,"x":0,"y":23,"properties":{"markdown":"## Language: python"}},{"type":"metric","width":12,"height":6,"x":0,"y":24,"properties":{"view":"pie","title":"Package Versions","region":"' - Ref: AWS::Region - - '","metrics":[["ConstructHub/Inventory","SupportedPackageVersionCount","Language","python",{"color":"#2ca02c","label":"Available","stat":"Maximum"}],["ConstructHub/Inventory","CorruptAssemblyPackageVersionCount","Language","python",{"color":"#3542D7","label":"Corrupt - Assembly","stat":"Maximum"}],["ConstructHub/Inventory","UnsupportedPackageVersionCount","Language","python",{"color":"#9467bd","label":"Unsupported","stat":"Maximum"}],["ConstructHub/Inventory","MissingPackageVersionCount","Language","python",{"color":"#d62728","label":"Missing","stat":"Maximum"}]],"yAxis":{"left":{"showUnits":false}}}},{"type":"metric","width":12,"height":6,"x":12,"y":24,"properties":{"view":"pie","title":"Package + - '","metrics":[["ConstructHub/Inventory","SupportedPackageVersionCount","Language","python",{"color":"#2ca02c","label":"Available","period":900,"stat":"Maximum"}],["ConstructHub/Inventory","CorruptAssemblyPackageVersionCount","Language","python",{"color":"#3542D7","label":"Corrupt + Assembly","period":900,"stat":"Maximum"}],["ConstructHub/Inventory","UnsupportedPackageVersionCount","Language","python",{"color":"#9467bd","label":"Unsupported","period":900,"stat":"Maximum"}],["ConstructHub/Inventory","MissingPackageVersionCount","Language","python",{"color":"#d62728","label":"Missing","period":900,"stat":"Maximum"}]],"yAxis":{"left":{"showUnits":false}}}},{"type":"metric","width":12,"height":6,"x":12,"y":24,"properties":{"view":"pie","title":"Package Version Submodules","region":"' - Ref: AWS::Region - - '","metrics":[["ConstructHub/Inventory","SupportedSubmoduleCount","Language","python",{"color":"#2ca02c","label":"Available","stat":"Maximum"}],["ConstructHub/Inventory","CorruptAssemblySubmoduleCount","Language","python",{"color":"#3542D7","label":"Corrupt - Assembly","stat":"Maximum"}],["ConstructHub/Inventory","UnsupportedSubmoduleCount","Language","python",{"color":"#9467bd","label":"Unsupported","stat":"Maximum"}],["ConstructHub/Inventory","MissingSubmoduleCount","Language","python",{"color":"#d62728","label":"Missing","stat":"Maximum"}]],"yAxis":{"left":{"showUnits":false}}}},{"type":"text","width":24,"height":1,"x":0,"y":30,"properties":{"markdown":"## + - '","metrics":[["ConstructHub/Inventory","SupportedSubmoduleCount","Language","python",{"color":"#2ca02c","label":"Available","period":900,"stat":"Maximum"}],["ConstructHub/Inventory","CorruptAssemblySubmoduleCount","Language","python",{"color":"#3542D7","label":"Corrupt + Assembly","period":900,"stat":"Maximum"}],["ConstructHub/Inventory","UnsupportedSubmoduleCount","Language","python",{"color":"#9467bd","label":"Unsupported","period":900,"stat":"Maximum"}],["ConstructHub/Inventory","MissingSubmoduleCount","Language","python",{"color":"#d62728","label":"Missing","period":900,"stat":"Maximum"}]],"yAxis":{"left":{"showUnits":false}}}},{"type":"text","width":24,"height":1,"x":0,"y":30,"properties":{"markdown":"## Language: java"}},{"type":"metric","width":12,"height":6,"x":0,"y":31,"properties":{"view":"pie","title":"Package Versions","region":"' - Ref: AWS::Region - - '","metrics":[["ConstructHub/Inventory","SupportedPackageVersionCount","Language","java",{"color":"#2ca02c","label":"Available","stat":"Maximum"}],["ConstructHub/Inventory","CorruptAssemblyPackageVersionCount","Language","java",{"color":"#3542D7","label":"Corrupt - Assembly","stat":"Maximum"}],["ConstructHub/Inventory","UnsupportedPackageVersionCount","Language","java",{"color":"#9467bd","label":"Unsupported","stat":"Maximum"}],["ConstructHub/Inventory","MissingPackageVersionCount","Language","java",{"color":"#d62728","label":"Missing","stat":"Maximum"}]],"yAxis":{"left":{"showUnits":false}}}},{"type":"metric","width":12,"height":6,"x":12,"y":31,"properties":{"view":"pie","title":"Package + - '","metrics":[["ConstructHub/Inventory","SupportedPackageVersionCount","Language","java",{"color":"#2ca02c","label":"Available","period":900,"stat":"Maximum"}],["ConstructHub/Inventory","CorruptAssemblyPackageVersionCount","Language","java",{"color":"#3542D7","label":"Corrupt + Assembly","period":900,"stat":"Maximum"}],["ConstructHub/Inventory","UnsupportedPackageVersionCount","Language","java",{"color":"#9467bd","label":"Unsupported","period":900,"stat":"Maximum"}],["ConstructHub/Inventory","MissingPackageVersionCount","Language","java",{"color":"#d62728","label":"Missing","period":900,"stat":"Maximum"}]],"yAxis":{"left":{"showUnits":false}}}},{"type":"metric","width":12,"height":6,"x":12,"y":31,"properties":{"view":"pie","title":"Package Version Submodules","region":"' - Ref: AWS::Region - - '","metrics":[["ConstructHub/Inventory","SupportedSubmoduleCount","Language","java",{"color":"#2ca02c","label":"Available","stat":"Maximum"}],["ConstructHub/Inventory","CorruptAssemblySubmoduleCount","Language","java",{"color":"#3542D7","label":"Corrupt - Assembly","stat":"Maximum"}],["ConstructHub/Inventory","UnsupportedSubmoduleCount","Language","java",{"color":"#9467bd","label":"Unsupported","stat":"Maximum"}],["ConstructHub/Inventory","MissingSubmoduleCount","Language","java",{"color":"#d62728","label":"Missing","stat":"Maximum"}]],"yAxis":{"left":{"showUnits":false}}}},{"type":"text","width":24,"height":1,"x":0,"y":37,"properties":{"markdown":"## + - '","metrics":[["ConstructHub/Inventory","SupportedSubmoduleCount","Language","java",{"color":"#2ca02c","label":"Available","period":900,"stat":"Maximum"}],["ConstructHub/Inventory","CorruptAssemblySubmoduleCount","Language","java",{"color":"#3542D7","label":"Corrupt + Assembly","period":900,"stat":"Maximum"}],["ConstructHub/Inventory","UnsupportedSubmoduleCount","Language","java",{"color":"#9467bd","label":"Unsupported","period":900,"stat":"Maximum"}],["ConstructHub/Inventory","MissingSubmoduleCount","Language","java",{"color":"#d62728","label":"Missing","period":900,"stat":"Maximum"}]],"yAxis":{"left":{"showUnits":false}}}},{"type":"text","width":24,"height":1,"x":0,"y":37,"properties":{"markdown":"## Language: csharp"}},{"type":"metric","width":12,"height":6,"x":0,"y":38,"properties":{"view":"pie","title":"Package Versions","region":"' - Ref: AWS::Region - - '","metrics":[["ConstructHub/Inventory","SupportedPackageVersionCount","Language","csharp",{"color":"#2ca02c","label":"Available","stat":"Maximum"}],["ConstructHub/Inventory","CorruptAssemblyPackageVersionCount","Language","csharp",{"color":"#3542D7","label":"Corrupt - Assembly","stat":"Maximum"}],["ConstructHub/Inventory","UnsupportedPackageVersionCount","Language","csharp",{"color":"#9467bd","label":"Unsupported","stat":"Maximum"}],["ConstructHub/Inventory","MissingPackageVersionCount","Language","csharp",{"color":"#d62728","label":"Missing","stat":"Maximum"}]],"yAxis":{"left":{"showUnits":false}}}},{"type":"metric","width":12,"height":6,"x":12,"y":38,"properties":{"view":"pie","title":"Package + - '","metrics":[["ConstructHub/Inventory","SupportedPackageVersionCount","Language","csharp",{"color":"#2ca02c","label":"Available","period":900,"stat":"Maximum"}],["ConstructHub/Inventory","CorruptAssemblyPackageVersionCount","Language","csharp",{"color":"#3542D7","label":"Corrupt + Assembly","period":900,"stat":"Maximum"}],["ConstructHub/Inventory","UnsupportedPackageVersionCount","Language","csharp",{"color":"#9467bd","label":"Unsupported","period":900,"stat":"Maximum"}],["ConstructHub/Inventory","MissingPackageVersionCount","Language","csharp",{"color":"#d62728","label":"Missing","period":900,"stat":"Maximum"}]],"yAxis":{"left":{"showUnits":false}}}},{"type":"metric","width":12,"height":6,"x":12,"y":38,"properties":{"view":"pie","title":"Package Version Submodules","region":"' - Ref: AWS::Region - - '","metrics":[["ConstructHub/Inventory","SupportedSubmoduleCount","Language","csharp",{"color":"#2ca02c","label":"Available","stat":"Maximum"}],["ConstructHub/Inventory","CorruptAssemblySubmoduleCount","Language","csharp",{"color":"#3542D7","label":"Corrupt - Assembly","stat":"Maximum"}],["ConstructHub/Inventory","UnsupportedSubmoduleCount","Language","csharp",{"color":"#9467bd","label":"Unsupported","stat":"Maximum"}],["ConstructHub/Inventory","MissingSubmoduleCount","Language","csharp",{"color":"#d62728","label":"Missing","stat":"Maximum"}]],"yAxis":{"left":{"showUnits":false}}}},{"type":"text","width":24,"height":2,"x":0,"y":44,"properties":{"markdown":"# + - '","metrics":[["ConstructHub/Inventory","SupportedSubmoduleCount","Language","csharp",{"color":"#2ca02c","label":"Available","period":900,"stat":"Maximum"}],["ConstructHub/Inventory","CorruptAssemblySubmoduleCount","Language","csharp",{"color":"#3542D7","label":"Corrupt + Assembly","period":900,"stat":"Maximum"}],["ConstructHub/Inventory","UnsupportedSubmoduleCount","Language","csharp",{"color":"#9467bd","label":"Unsupported","period":900,"stat":"Maximum"}],["ConstructHub/Inventory","MissingSubmoduleCount","Language","csharp",{"color":"#d62728","label":"Missing","period":900,"stat":"Maximum"}]],"yAxis":{"left":{"showUnits":false}}}},{"type":"text","width":24,"height":2,"x":0,"y":44,"properties":{"markdown":"# dev/ConstructHub/Sources/NpmJs\\n\\n[button:primary:NpmJs Follower](/lambda/home#/functions/' - Ref: ConstructHubSourcesNpmJs15A77D2D diff --git a/src/backend/inventory/index.ts b/src/backend/inventory/index.ts index e5b5c0c00..807734d23 100644 --- a/src/backend/inventory/index.ts +++ b/src/backend/inventory/index.ts @@ -32,7 +32,7 @@ export interface InventoryProps { /** * The rate at which the canary should run. * - * @default Duration.minutes(5) + * @default Duration.minutes(15) */ readonly scheduleRate?: Duration; } @@ -43,11 +43,12 @@ export interface InventoryProps { */ export class Inventory extends Construct { private readonly canary: Canary; + private readonly rate: Duration; public constructor(scope: Construct, id: string, props: InventoryProps) { super(scope, id); - const rate = props.scheduleRate ?? Duration.minutes(5); + this.rate = props.scheduleRate ?? Duration.minutes(15); this.canary = new Canary(this, 'Resource', { description: '[ConstructHub/Inventory] A canary that periodically inspects the list of indexed packages', @@ -57,7 +58,7 @@ export class Inventory extends Construct { }, logRetention: props.logRetention, memorySize: 10_240, - timeout: rate, + timeout: this.rate, }); const grantRead = props.bucket.grantRead(this.canary); const grantWriteMissing = props.bucket.grantWrite(this.canary, MISSING_DOCUMENTATION_REPORT_PATTERN); @@ -65,7 +66,7 @@ export class Inventory extends Construct { const grantWriteUnInstallable = props.bucket.grantWrite(this.canary, UNINSTALLABLE_PACKAGES_REPORT); const rule = new Rule(this, 'ScheduleRule', { - schedule: Schedule.rate(rate), + schedule: Schedule.rate(this.rate), targets: [new LambdaFunction(this.canary)], }); @@ -73,9 +74,9 @@ export class Inventory extends Construct { rule.node.addDependency(grantRead, grantWriteCorruptAssembly); rule.node.addDependency(grantRead, grantWriteUnInstallable); - props.monitoring.addHighSeverityAlarm( + props.monitoring.addLowSeverityAlarm( 'Inventory Canary is not Running', - this.canary.metricInvocations({ period: Duration.minutes(5) }).createAlarm(this, 'Not Running', { + this.canary.metricInvocations({ period: this.rate }).createAlarm(this, 'Not Running', { alarmName: `${this.node.path}/NotRunning`, alarmDescription: [ 'The inventory canary is not running!', @@ -89,9 +90,9 @@ export class Inventory extends Construct { threshold: 1, }), ); - props.monitoring.addHighSeverityAlarm( + props.monitoring.addLowSeverityAlarm( 'Inventory Canary is failing', - this.canary.metricErrors({ period: Duration.minutes(5) }).createAlarm(this, 'Failures', { + this.canary.metricErrors({ period: this.rate }).createAlarm(this, 'Failures', { alarmName: `${this.node.path}/Failures`, alarmDescription: [ 'The inventory canary is failing!', @@ -113,7 +114,7 @@ export class Inventory extends Construct { public metricMissingPackageMetadataCount(opts?: MetricOptions): Metric { return new Metric({ - period: Duration.minutes(5), + period: this.rate, statistic: Statistic.MAXIMUM, ...opts, metricName: MetricName.MISSING_METADATA_COUNT, @@ -123,7 +124,7 @@ export class Inventory extends Construct { public metricMissingAssemblyCount(opts?: MetricOptions): Metric { return new Metric({ - period: Duration.minutes(5), + period: this.rate, statistic: Statistic.MAXIMUM, ...opts, metricName: MetricName.MISSING_ASSEMBLY_COUNT, @@ -133,7 +134,7 @@ export class Inventory extends Construct { public metricPackageCount(opts?: MetricOptions): Metric { return new Metric({ - period: Duration.minutes(5), + period: this.rate, statistic: Statistic.MAXIMUM, ...opts, metricName: MetricName.PACKAGE_COUNT, @@ -143,7 +144,7 @@ export class Inventory extends Construct { public metricPackageMajorCount(opts?: MetricOptions): Metric { return new Metric({ - period: Duration.minutes(5), + period: this.rate, statistic: Statistic.MAXIMUM, ...opts, metricName: MetricName.PACKAGE_MAJOR_COUNT, @@ -153,7 +154,7 @@ export class Inventory extends Construct { public metricPackageVersionCount(opts?: MetricOptions): Metric { return new Metric({ - period: Duration.minutes(5), + period: this.rate, statistic: Statistic.MAXIMUM, ...opts, metricName: MetricName.PACKAGE_VERSION_COUNT, @@ -163,7 +164,7 @@ export class Inventory extends Construct { public metricMissingPackageTarballCount(opts?: MetricOptions): Metric { return new Metric({ - period: Duration.minutes(5), + period: this.rate, statistic: Statistic.MAXIMUM, ...opts, metricName: MetricName.MISSING_TARBALL_COUNT, @@ -173,7 +174,7 @@ export class Inventory extends Construct { public metricUninstallablePackageCount(opts?: MetricOptions): Metric { return new Metric({ - period: Duration.minutes(5), + period: this.rate, statistic: Statistic.MAXIMUM, ...opts, metricName: MetricName.UNINSTALLABLE_PACKAGE_COUNT, @@ -183,7 +184,7 @@ export class Inventory extends Construct { public metricSubmoduleCount(opts?: MetricOptions): Metric { return new Metric({ - period: Duration.minutes(5), + period: this.rate, statistic: Statistic.MAXIMUM, ...opts, metricName: MetricName.SUBMODULE_COUNT, @@ -193,7 +194,7 @@ export class Inventory extends Construct { public metricUnknownObjectCount(opts?: MetricOptions): Metric { return new Metric({ - period: Duration.minutes(5), + period: this.rate, statistic: Statistic.MAXIMUM, ...opts, metricName: MetricName.UNKNOWN_OBJECT_COUNT, @@ -207,7 +208,7 @@ export class Inventory extends Construct { */ public metricMissingPackageCount(language: DocumentationLanguage, opts?: MetricOptions): Metric { return new Metric({ - period: Duration.minutes(5), + period: this.rate, statistic: Statistic.MAXIMUM, ...opts, dimensions: { @@ -225,7 +226,7 @@ export class Inventory extends Construct { */ public metricMissingMajorVersionCount(language: DocumentationLanguage, opts?: MetricOptions): Metric { return new Metric({ - period: Duration.minutes(5), + period: this.rate, statistic: Statistic.MAXIMUM, ...opts, dimensions: { @@ -242,7 +243,7 @@ export class Inventory extends Construct { */ public metricMissingPackageVersionCount(language: DocumentationLanguage, opts?: MetricOptions): Metric { return new Metric({ - period: Duration.minutes(5), + period: this.rate, statistic: Statistic.MAXIMUM, ...opts, dimensions: { @@ -260,7 +261,7 @@ export class Inventory extends Construct { */ public metricMissingSubmoduleCount(language: DocumentationLanguage, opts?: MetricOptions): Metric { return new Metric({ - period: Duration.minutes(5), + period: this.rate, statistic: Statistic.MAXIMUM, ...opts, dimensions: { @@ -277,7 +278,7 @@ export class Inventory extends Construct { */ public metricSupportedPackageCount(language: DocumentationLanguage, opts?: MetricOptions): Metric { return new Metric({ - period: Duration.minutes(5), + period: this.rate, statistic: Statistic.MAXIMUM, ...opts, dimensions: { @@ -295,7 +296,7 @@ export class Inventory extends Construct { */ public metricSupportedMajorVersionCount(language: DocumentationLanguage, opts?: MetricOptions): Metric { return new Metric({ - period: Duration.minutes(5), + period: this.rate, statistic: Statistic.MAXIMUM, ...opts, dimensions: { @@ -312,7 +313,7 @@ export class Inventory extends Construct { */ public metricSupportedPackageVersionCount(language: DocumentationLanguage, opts?: MetricOptions): Metric { return new Metric({ - period: Duration.minutes(5), + period: this.rate, statistic: Statistic.MAXIMUM, ...opts, dimensions: { @@ -329,7 +330,7 @@ export class Inventory extends Construct { */ public metricSupportedSubmoduleCount(language: DocumentationLanguage, opts?: MetricOptions): Metric { return new Metric({ - period: Duration.minutes(5), + period: this.rate, statistic: Statistic.MAXIMUM, ...opts, dimensions: { @@ -346,7 +347,7 @@ export class Inventory extends Construct { */ public metricUnsupportedPackageCount(language: DocumentationLanguage, opts?: MetricOptions): Metric { return new Metric({ - period: Duration.minutes(5), + period: this.rate, statistic: Statistic.MAXIMUM, ...opts, dimensions: { @@ -363,7 +364,7 @@ export class Inventory extends Construct { */ public metricUnsupportedMajorVersionCount(language: DocumentationLanguage, opts?: MetricOptions): Metric { return new Metric({ - period: Duration.minutes(5), + period: this.rate, statistic: Statistic.MAXIMUM, ...opts, dimensions: { @@ -380,7 +381,7 @@ export class Inventory extends Construct { */ public metricUnsupportedPackageVersionCount(language: DocumentationLanguage, opts?: MetricOptions): Metric { return new Metric({ - period: Duration.minutes(5), + period: this.rate, statistic: Statistic.MAXIMUM, ...opts, dimensions: { @@ -397,7 +398,7 @@ export class Inventory extends Construct { */ public metricUnsupportedSubmoduleCount(language: DocumentationLanguage, opts?: MetricOptions): Metric { return new Metric({ - period: Duration.minutes(5), + period: this.rate, statistic: Statistic.MAXIMUM, ...opts, dimensions: { @@ -413,7 +414,7 @@ export class Inventory extends Construct { */ public metricCorruptAssemblyPackageCount(language: DocumentationLanguage, opts?: MetricOptions): Metric { return new Metric({ - period: Duration.minutes(5), + period: this.rate, statistic: Statistic.MAXIMUM, ...opts, dimensions: { @@ -429,7 +430,7 @@ export class Inventory extends Construct { */ public metricCorruptAssemblyMajorVersionCount(language: DocumentationLanguage, opts?: MetricOptions): Metric { return new Metric({ - period: Duration.minutes(5), + period: this.rate, statistic: Statistic.MAXIMUM, ...opts, dimensions: { @@ -445,7 +446,7 @@ export class Inventory extends Construct { */ public metricCorruptAssemblyPackageVersionCount(language: DocumentationLanguage, opts?: MetricOptions): Metric { return new Metric({ - period: Duration.minutes(5), + period: this.rate, statistic: Statistic.MAXIMUM, ...opts, dimensions: { @@ -461,7 +462,7 @@ export class Inventory extends Construct { */ public metricCorruptAssemblySubmoduleCount(language: DocumentationLanguage, opts?: MetricOptions): Metric { return new Metric({ - period: Duration.minutes(5), + period: this.rate, statistic: Statistic.MAXIMUM, ...opts, dimensions: {