construct-hub 0.4.497 → 0.4.499

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/.jsii.tabl.json CHANGED
@@ -1 +1 @@
1
- {"version":"2","toolVersion":"5.9.47","snippets":{"25e685846489a7c8f9621a4c3239be2be62ae31758f0147822166a15d4afb416":{"translations":{"python":{"source":"from aws_cdk import App, Stack\nfrom construct_hub import ConstructHub\n\n# The usual... you might have used `cdk init app` instead!\napp = App()\nstack = Stack(app, \"StackName\")\n\n# Now to business!\nConstructHub(stack, \"ConstructHub\")","version":"2"},"csharp":{"source":"using Amazon.CDK;\nusing Construct.Hub;\n\n// The usual... you might have used `cdk init app` instead!\nvar app = new App();\nvar stack = new Stack(app, \"StackName\", new StackProps { });\n\n// Now to business!\n// Now to business!\nnew ConstructHub(stack, \"ConstructHub\");","version":"1"},"java":{"source":"import software.amazon.awscdk.App;\nimport software.amazon.awscdk.Stack;\nimport construct.hub.ConstructHub;\n\n// The usual... you might have used `cdk init app` instead!\nApp app = new App();\nStack stack = Stack.Builder.create(app, \"StackName\").build();\n\n// Now to business!\n// Now to business!\nnew ConstructHub(stack, \"ConstructHub\");","version":"1"},"go":{"source":"import \"github.com/aws/aws-cdk-go/awscdk\"\nimport \"github.com/aws-samples/dummy/constructhub\"\n\n// The usual... you might have used `cdk init app` instead!\napp := awscdk.NewApp()\nstack := awscdk.NewStack(app, jsii.String(\"StackName\"), &StackProps{\n})\n\n// Now to business!\n// Now to business!\nconstructhub.NewConstructHub(stack, jsii.String(\"ConstructHub\"))","version":"1"},"$":{"source":"import { App, Stack } from 'aws-cdk-lib/core';\nimport { ConstructHub } from 'construct-hub';\n\n// The usual... you might have used `cdk init app` instead!\nconst app = new App();\nconst stack = new Stack(app, 'StackName', { /* ... */ });\n\n// Now to business!\nnew ConstructHub(stack, 'ConstructHub');","version":"0"}},"location":{"api":{"api":"moduleReadme","moduleFqn":"construct-hub"},"field":{"field":"markdown","line":45}},"didCompile":true,"fqnsReferenced":["aws-cdk-lib.App","aws-cdk-lib.Stack","aws-cdk-lib.StackProps","construct-hub.ConstructHub"],"fullSource":"import { App, Stack } from 'aws-cdk-lib/core';\nimport { ConstructHub } from 'construct-hub';\n\n// The usual... you might have used `cdk init app` instead!\nconst app = new App();\nconst stack = new Stack(app, 'StackName', { /* ... */ });\n\n// Now to business!\nnew ConstructHub(stack, 'ConstructHub');","syntaxKindCounter":{"11":4,"80":10,"211":1,"215":3,"244":2,"245":1,"261":2,"262":2,"273":2,"274":2,"276":2,"277":3,"308":1},"fqnsFingerprint":"4801710805d0915a09841140781ba23dac975723bde81fae8d61f4670d173233"},"ebafb072daebb584d8863973cd882175d746c5cbda4464c37f5f0fc7976b5090":{"translations":{"python":{"source":"import aws_cdk.aws_codeartifact as codeartifact\nfrom aws_cdk import App, Stack\nfrom construct_hub import sources, ConstructHub\n\n# The usual... you might have used `cdk init app` instead!\napp = App()\nstack = Stack(app, \"StackName\")\n\n# Now to business!\nrepository = codeartifact.CfnRepository(stack, \"Repository\",\n domain_name=\"my-domain\",\n repository_name=\"my-repo\"\n)\nConstructHub(stack, \"ConstructHub\",\n package_sources=[\n sources.NpmJs(), # Remove if you do NOT want npmjs.com packages\n sources.CodeArtifact(repository=repository)\n ]\n)","version":"2"},"csharp":{"source":"using Amazon.CDK.AWS.CodeArtifact;\nusing Amazon.CDK;\nusing Construct.Hub.Sources;\nusing Construct.Hub;\n\n// The usual... you might have used `cdk init app` instead!\nvar app = new App();\nvar stack = new Stack(app, \"StackName\", new StackProps { });\n\n// Now to business!\nvar repository = new CfnRepository(stack, \"Repository\", new CfnRepositoryProps {\n DomainName = \"my-domain\",\n RepositoryName = \"my-repo\"\n});\nnew ConstructHub(stack, \"ConstructHub\", new ConstructHubProps {\n PackageSources = new [] {\n new NpmJs(), // Remove if you do NOT want npmjs.com packages\n new CodeArtifact(new CodeArtifactProps { Repository = repository }) }\n});","version":"1"},"java":{"source":"import software.amazon.awscdk.services.codeartifact.*;\nimport software.amazon.awscdk.App;\nimport software.amazon.awscdk.Stack;\nimport construct.hub.sources.*;\nimport construct.hub.ConstructHub;\n\n// The usual... you might have used `cdk init app` instead!\nApp app = new App();\nStack stack = Stack.Builder.create(app, \"StackName\").build();\n\n// Now to business!\nCfnRepository repository = CfnRepository.Builder.create(stack, \"Repository\")\n .domainName(\"my-domain\")\n .repositoryName(\"my-repo\")\n .build();\nConstructHub.Builder.create(stack, \"ConstructHub\")\n .packageSources(List.of(\n new NpmJs(), // Remove if you do NOT want npmjs.com packages\n CodeArtifact.Builder.create().repository(repository).build()))\n .build();","version":"1"},"go":{"source":"import codeartifact \"github.com/aws/aws-cdk-go/awscdk\"\nimport \"github.com/aws/aws-cdk-go/awscdk\"\nimport \"github.com/aws-samples/dummy/constructhub\"\n\n// The usual... you might have used `cdk init app` instead!\napp := awscdk.NewApp()\nstack := awscdk.NewStack(app, jsii.String(\"StackName\"), &StackProps{\n})\n\n// Now to business!\nrepository := codeartifact.NewCfnRepository(stack, jsii.String(\"Repository\"), &CfnRepositoryProps{\n\tDomainName: jsii.String(\"my-domain\"),\n\tRepositoryName: jsii.String(\"my-repo\"),\n})\nconstructhub.NewConstructHub(stack, jsii.String(\"ConstructHub\"), &ConstructHubProps{\n\tPackageSources: []IPackageSource{\n\t\t*constructhub.Sources.NewNpmJs(),\n\t\t // Remove if you do NOT want npmjs.com packages\n\t\t*constructhub.*Sources.NewCodeArtifact(&CodeArtifactProps{\n\t\t\tRepository: *Repository,\n\t\t}),\n\t},\n})","version":"1"},"$":{"source":"import * as codeartifact from 'aws-cdk-lib/aws-codeartifact';\nimport { App, Stack } from 'aws-cdk-lib/core';\nimport { sources, ConstructHub } from 'construct-hub';\n\n// The usual... you might have used `cdk init app` instead!\nconst app = new App();\nconst stack = new Stack(app, 'StackName', { /* ... */ });\n\n// Now to business!\nconst repository = new codeartifact.CfnRepository(stack, 'Repository', {\n domainName: 'my-domain',\n repositoryName: 'my-repo',\n // ....\n});\nnew ConstructHub(stack, 'ConstructHub', {\n packageSources: [\n new sources.NpmJs(), // Remove if you do NOT want npmjs.com packages\n new sources.CodeArtifact({ repository }),\n ],\n});","version":"0"}},"location":{"api":{"api":"moduleReadme","moduleFqn":"construct-hub"},"field":{"field":"markdown","line":86}},"didCompile":true,"fqnsReferenced":["aws-cdk-lib.App","aws-cdk-lib.Stack","aws-cdk-lib.StackProps","aws-cdk-lib.aws_codeartifact.CfnRepository","aws-cdk-lib.aws_codeartifact.CfnRepositoryProps","construct-hub.ConstructHub","construct-hub.ConstructHubProps","construct-hub.sources.CodeArtifact","construct-hub.sources.CodeArtifactProps","construct-hub.sources.NpmJs"],"fullSource":"import * as codeartifact from 'aws-cdk-lib/aws-codeartifact';\nimport { App, Stack } from 'aws-cdk-lib/core';\nimport { sources, ConstructHub } from 'construct-hub';\n\n// The usual... you might have used `cdk init app` instead!\nconst app = new App();\nconst stack = new Stack(app, 'StackName', { /* ... */ });\n\n// Now to business!\nconst repository = new codeartifact.CfnRepository(stack, 'Repository', {\n domainName: 'my-domain',\n repositoryName: 'my-repo',\n // ....\n});\nnew ConstructHub(stack, 'ConstructHub', {\n packageSources: [\n new sources.NpmJs(), // Remove if you do NOT want npmjs.com packages\n new sources.CodeArtifact({ repository }),\n ],\n});","syntaxKindCounter":{"11":8,"80":24,"210":1,"211":4,"212":3,"215":6,"244":3,"245":1,"261":3,"262":3,"273":3,"274":3,"275":1,"276":2,"277":4,"304":3,"305":1,"308":1},"fqnsFingerprint":"e1d5a970a8eac30ae7ab0d770f586b14aefc0ef0d65917048ca3546acf692430"},"6b13b6fdb8d630fd0d73ad93f143273c787b9e0e749158c00c3cf96c5c685f1f":{"translations":{"python":{"source":"from construct_hub import DenyListRule, DenyListRule\nfrom aws_cdk import App, Stack\nfrom construct_hub import ConstructHub\n\n# The usual... you might have used `cdk init app` instead!\napp = App()\nstack = Stack(app, \"StackName\")\n\n# Now to business!\nConstructHub(stack, \"ConstructHub\",\n deny_list=[DenyListRule(package_name=\"sneaky-hackery\", reason=\"Mines bitcoins wherever it gets installed\"), DenyListRule(package_name=\"bad-release\", version=\"1.2.3\", reason=\"CVE-####-#####\")\n ]\n)","version":"2"},"csharp":{"source":"using Amazon.CDK;\nusing Construct.Hub;\n\n// The usual... you might have used `cdk init app` instead!\nvar app = new App();\nvar stack = new Stack(app, \"StackName\", new StackProps { });\n\n// Now to business!\n// Now to business!\nnew ConstructHub(stack, \"ConstructHub\", new ConstructHubProps {\n DenyList = new [] { new DenyListRule { PackageName = \"sneaky-hackery\", Reason = \"Mines bitcoins wherever it gets installed\" }, new DenyListRule { PackageName = \"bad-release\", Version = \"1.2.3\", Reason = \"CVE-####-#####\" } }\n});","version":"1"},"java":{"source":"import software.amazon.awscdk.App;\nimport software.amazon.awscdk.Stack;\nimport construct.hub.ConstructHub;\n\n// The usual... you might have used `cdk init app` instead!\nApp app = new App();\nStack stack = Stack.Builder.create(app, \"StackName\").build();\n\n// Now to business!\n// Now to business!\nConstructHub.Builder.create(stack, \"ConstructHub\")\n .denyList(List.of(DenyListRule.builder().packageName(\"sneaky-hackery\").reason(\"Mines bitcoins wherever it gets installed\").build(), DenyListRule.builder().packageName(\"bad-release\").version(\"1.2.3\").reason(\"CVE-####-#####\").build()))\n .build();","version":"1"},"go":{"source":"import \"github.com/aws/aws-cdk-go/awscdk\"\nimport \"github.com/aws-samples/dummy/constructhub\"\n\n// The usual... you might have used `cdk init app` instead!\napp := awscdk.NewApp()\nstack := awscdk.NewStack(app, jsii.String(\"StackName\"), &StackProps{\n})\n\n// Now to business!\n// Now to business!\nconstructhub.NewConstructHub(stack, jsii.String(\"ConstructHub\"), &ConstructHubProps{\n\tDenyList: []DenyListRule{\n\t\t&DenyListRule{\n\t\t\tPackageName: jsii.String(\"sneaky-hackery\"),\n\t\t\tReason: jsii.String(\"Mines bitcoins wherever it gets installed\"),\n\t\t},\n\t\t&DenyListRule{\n\t\t\tPackageName: jsii.String(\"bad-release\"),\n\t\t\tVersion: jsii.String(\"1.2.3\"),\n\t\t\tReason: jsii.String(\"CVE-####-#####\"),\n\t\t},\n\t},\n})","version":"1"},"$":{"source":"import { App, Stack } from 'aws-cdk-lib/core';\nimport { ConstructHub } from 'construct-hub';\n\n// The usual... you might have used `cdk init app` instead!\nconst app = new App();\nconst stack = new Stack(app, 'StackName', { /* ... */ });\n\n// Now to business!\nnew ConstructHub(stack, 'ConstructHub', {\n denyList: [\n // Denying _all_ versions of the \"sneaky-hackery\" package\n { packageName: 'sneaky-hackery', reason: 'Mines bitcoins wherever it gets installed' },\n // Denying _a specific_ version of the \"bad-release\" package\n { packageName: 'bad-release', version: '1.2.3', reason: 'CVE-####-#####' },\n ],\n});","version":"0"}},"location":{"api":{"api":"moduleReadme","moduleFqn":"construct-hub"},"field":{"field":"markdown","line":131}},"didCompile":true,"fqnsReferenced":["aws-cdk-lib.App","aws-cdk-lib.Stack","aws-cdk-lib.StackProps","construct-hub.ConstructHub","construct-hub.ConstructHubProps"],"fullSource":"import { App, Stack } from 'aws-cdk-lib/core';\nimport { ConstructHub } from 'construct-hub';\n\n// The usual... you might have used `cdk init app` instead!\nconst app = new App();\nconst stack = new Stack(app, 'StackName', { /* ... */ });\n\n// Now to business!\nnew ConstructHub(stack, 'ConstructHub', {\n denyList: [\n // Denying _all_ versions of the \"sneaky-hackery\" package\n { packageName: 'sneaky-hackery', reason: 'Mines bitcoins wherever it gets installed' },\n // Denying _a specific_ version of the \"bad-release\" package\n { packageName: 'bad-release', version: '1.2.3', reason: 'CVE-####-#####' },\n ],\n});","syntaxKindCounter":{"11":9,"80":16,"210":1,"211":4,"215":3,"244":2,"245":1,"261":2,"262":2,"273":2,"274":2,"276":2,"277":3,"304":6,"308":1},"fqnsFingerprint":"f9989debbe45e35056eaec21a80f7bcfb683230f32a0df3078617a7b1a31674d"},"4d197b3af4e5af3c177e46123bb5bc4475ca36b348d16ac0159ad83618562f7c":{"translations":{"python":{"source":"from construct_hub import DomainRedirectSource\nimport aws_cdk.aws_route53 as r53\n\n\nmy_domain_zone = r53.HostedZone.from_hosted_zone_attributes(self, \"MyDomainZone\",\n hosted_zone_id=\"AZ1234\",\n zone_name=\"my.domain.com\"\n)\n\nConstructHub(self, \"ConstructHub\",\n additional_domains=[DomainRedirectSource(hosted_zone=my_domain_zone)]\n)","version":"2"},"csharp":{"source":"using Amazon.CDK.AWS.Route53;\n\n\nvar myDomainZone = HostedZone.FromHostedZoneAttributes(this, \"MyDomainZone\", new HostedZoneAttributes {\n HostedZoneId = \"AZ1234\",\n ZoneName = \"my.domain.com\"\n});\n\nnew ConstructHub(this, \"ConstructHub\", new ConstructHubProps {\n AdditionalDomains = new [] { new DomainRedirectSource { HostedZone = myDomainZone } }\n});","version":"1"},"java":{"source":"import software.amazon.awscdk.services.route53.*;\n\n\nIHostedZone myDomainZone = HostedZone.fromHostedZoneAttributes(this, \"MyDomainZone\", HostedZoneAttributes.builder()\n .hostedZoneId(\"AZ1234\")\n .zoneName(\"my.domain.com\")\n .build());\n\nConstructHub.Builder.create(this, \"ConstructHub\")\n .additionalDomains(List.of(DomainRedirectSource.builder().hostedZone(myDomainZone).build()))\n .build();","version":"1"},"go":{"source":"import r53 \"github.com/aws/aws-cdk-go/awscdk\"\n\n\nmyDomainZone := r53.HostedZone_FromHostedZoneAttributes(this, jsii.String(\"MyDomainZone\"), &HostedZoneAttributes{\n\tHostedZoneId: jsii.String(\"AZ1234\"),\n\tZoneName: jsii.String(\"my.domain.com\"),\n})\n\nconstructhub.NewConstructHub(this, jsii.String(\"ConstructHub\"), &ConstructHubProps{\n\tAdditionalDomains: []DomainRedirectSource{\n\t\t&DomainRedirectSource{\n\t\t\tHostedZone: myDomainZone,\n\t\t},\n\t},\n})","version":"1"},"$":{"source":"import * as r53 from 'aws-cdk-lib/aws-route53';\n\nconst myDomainZone = r53.HostedZone.fromHostedZoneAttributes(this, 'MyDomainZone', {\n hostedZoneId: 'AZ1234',\n zoneName: 'my.domain.com',\n});\n\nnew ConstructHub(this, 'ConstructHub', {\n additionalDomains: [ { hostedZone: myDomainZone } ]\n});","version":"0"}},"location":{"api":{"api":"moduleReadme","moduleFqn":"construct-hub"},"field":{"field":"markdown","line":155}},"didCompile":true,"fqnsReferenced":["aws-cdk-lib.aws_route53.HostedZone","aws-cdk-lib.aws_route53.HostedZone#fromHostedZoneAttributes","aws-cdk-lib.aws_route53.HostedZoneAttributes","aws-cdk-lib.aws_route53.IHostedZone","construct-hub.ConstructHub","construct-hub.ConstructHubProps"],"fullSource":"// Hoisted imports begin after !show marker below\n/// !show\nimport * as r53 from 'aws-cdk-lib/aws-route53';\n/// !hide\n// Hoisted imports ended before !hide marker above\n// Fixture with packages imported, but nothing else\nimport { Construct } from 'constructs';\nimport { App, Stack } from 'aws-cdk-lib';\nimport * as secretsmanager from 'aws-cdk-lib/aws-secretsmanager';\nimport { ConstructHub, FilterType, PackageTagGroup, TagCondition } from 'construct-hub';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n\n // Code snippet begins after !show marker below\n/// !show\n\n\nconst myDomainZone = r53.HostedZone.fromHostedZoneAttributes(this, 'MyDomainZone', {\n hostedZoneId: 'AZ1234',\n zoneName: 'my.domain.com',\n});\n\nnew ConstructHub(this, 'ConstructHub', {\n additionalDomains: [ { hostedZone: myDomainZone } ]\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n","syntaxKindCounter":{"11":5,"80":11,"110":2,"210":1,"211":3,"212":2,"214":1,"215":1,"244":1,"245":1,"261":1,"262":1,"273":1,"274":1,"275":1,"304":4,"308":1},"fqnsFingerprint":"85f0b39fa842493130538de19e6cef7dde169554f738c87a1a97c66cbf7498c8"},"22c8c6ecdc6ee4ee613ca39d5d011b92bd3f8c40360f066806c9e6ba55512b05":{"translations":{"python":{"source":"import aws_cdk.aws_codeartifact as codeartifact\nfrom aws_cdk import App, Duration, Stack\nfrom construct_hub import sources, ConstructHub\n\napp = App()\nstack = Stack(app, \"StackName\")\n\nConstructHub(stack, \"ConstructHub\",\n # ...\n package_sources=[\n # ...\n sources.NpmJs(\n enable_canary=True, # This is the default\n canary_package=\"@acme/my-constructhub-probe\",\n canary_sla=Duration.minutes(30)\n )\n ]\n)","version":"2"},"csharp":{"source":"using Amazon.CDK.AWS.CodeArtifact;\nusing Amazon.CDK;\nusing Construct.Hub.Sources;\nusing Construct.Hub;\n\nvar app = new App();\nvar stack = new Stack(app, \"StackName\", new StackProps { });\n\nnew ConstructHub(stack, \"ConstructHub\", new ConstructHubProps {\n // ...\n PackageSources = new [] {\n // ...\n new NpmJs(new NpmJsProps {\n EnableCanary = true, // This is the default\n CanaryPackage = \"@acme/my-constructhub-probe\",\n CanarySla = Duration.Minutes(30)\n }) }\n});","version":"1"},"java":{"source":"import software.amazon.awscdk.services.codeartifact.*;\nimport software.amazon.awscdk.App;\nimport software.amazon.awscdk.Duration;\nimport software.amazon.awscdk.Stack;\nimport construct.hub.sources.*;\nimport construct.hub.ConstructHub;\n\nApp app = new App();\nStack stack = Stack.Builder.create(app, \"StackName\").build();\n\nConstructHub.Builder.create(stack, \"ConstructHub\")\n // ...\n .packageSources(List.of(\n // ...\n NpmJs.Builder.create()\n .enableCanary(true) // This is the default\n .canaryPackage(\"@acme/my-constructhub-probe\")\n .canarySla(Duration.minutes(30))\n .build()))\n .build();","version":"1"},"go":{"source":"import codeartifact \"github.com/aws/aws-cdk-go/awscdk\"\nimport \"github.com/aws/aws-cdk-go/awscdk\"\nimport \"github.com/aws-samples/dummy/constructhub\"\n\napp := awscdk.NewApp()\nstack := awscdk.NewStack(app, jsii.String(\"StackName\"), &StackProps{\n})\n\nconstructhub.NewConstructHub(stack, jsii.String(\"ConstructHub\"), &ConstructHubProps{\n\t// ...\n\tPackageSources: []IPackageSource{\n\t\t// ...\n\t\t*constructhub.Sources.NewNpmJs(&NpmJsProps{\n\t\t\tEnableCanary: jsii.Boolean(true),\n\t\t\t // This is the default\n\t\t\tCanaryPackage: jsii.String(\"@acme/my-constructhub-probe\"),\n\t\t\tCanarySla: awscdk.Duration_Minutes(jsii.Number(30)),\n\t\t}),\n\t},\n})","version":"1"},"$":{"source":"import * as codeartifact from 'aws-cdk-lib/aws-codeartifact';\nimport { App, Duration, Stack } from 'aws-cdk-lib/core';\nimport { sources, ConstructHub } from 'construct-hub';\n\nconst app = new App();\nconst stack = new Stack(app, 'StackName', { /* ... */ });\n\nnew ConstructHub(stack, 'ConstructHub', {\n // ...\n packageSources: [\n // ...\n new sources.NpmJs({\n enableCanary: true, // This is the default\n canaryPackage: '@acme/my-constructhub-probe',\n canarySla: Duration.minutes(30),\n }),\n // ...\n ],\n // ...\n});","version":"0"}},"location":{"api":{"api":"moduleReadme","moduleFqn":"construct-hub"},"field":{"field":"markdown","line":228}},"didCompile":true,"fqnsReferenced":["aws-cdk-lib.App","aws-cdk-lib.Duration","aws-cdk-lib.Duration#minutes","aws-cdk-lib.Stack","aws-cdk-lib.StackProps","construct-hub.ConstructHub","construct-hub.ConstructHubProps","construct-hub.sources.NpmJs","construct-hub.sources.NpmJsProps"],"fullSource":"import * as codeartifact from 'aws-cdk-lib/aws-codeartifact';\nimport { App, Duration, Stack } from 'aws-cdk-lib/core';\nimport { sources, ConstructHub } from 'construct-hub';\n\nconst app = new App();\nconst stack = new Stack(app, 'StackName', { /* ... */ });\n\nnew ConstructHub(stack, 'ConstructHub', {\n // ...\n packageSources: [\n // ...\n new sources.NpmJs({\n enableCanary: true, // This is the default\n canaryPackage: '@acme/my-constructhub-probe',\n canarySla: Duration.minutes(30),\n }),\n // ...\n ],\n // ...\n});","syntaxKindCounter":{"9":1,"11":6,"80":21,"112":1,"210":1,"211":3,"212":2,"214":1,"215":4,"244":2,"245":1,"261":2,"262":2,"273":3,"274":3,"275":1,"276":2,"277":5,"304":4,"308":1},"fqnsFingerprint":"7b65af5540a51dc5cc41288c0cf9692d4084ff7a8c83b243bf3a48616849ab8f"},"e78bdd3f6618080d2d205f53de8bfbcd0ea2a0baeb0c4388572e52231545ee68":{"translations":{"python":{"source":"from construct_hub import PackageTag, Keyword, Highlight\nConstructHub(self, \"ConstructHub\",\n package_tags=[PackageTag(\n id=\"official\",\n condition=TagCondition.field(\"name\").eq(\"construct-hub\"),\n keyword=Keyword(\n label=\"Official\",\n color=\"#00FF00\"\n ),\n highlight=Highlight(\n label=\"Vended by AWS\",\n color=\"#00FF00\"\n )\n )]\n)","version":"2"},"csharp":{"source":"new ConstructHub(this, \"ConstructHub\", new ConstructHubProps {\n PackageTags = new [] { new PackageTag {\n Id = \"official\",\n Condition = TagCondition.Field(\"name\").Eq(\"construct-hub\"),\n Keyword = new Keyword {\n Label = \"Official\",\n Color = \"#00FF00\"\n },\n Highlight = new Highlight {\n Label = \"Vended by AWS\",\n Color = \"#00FF00\"\n }\n } }\n});","version":"1"},"java":{"source":"ConstructHub.Builder.create(this, \"ConstructHub\")\n .packageTags(List.of(PackageTag.builder()\n .id(\"official\")\n .condition(TagCondition.field(\"name\").eq(\"construct-hub\"))\n .keyword(Keyword.builder()\n .label(\"Official\")\n .color(\"#00FF00\")\n .build())\n .highlight(Highlight.builder()\n .label(\"Vended by AWS\")\n .color(\"#00FF00\")\n .build())\n .build()))\n .build();","version":"1"},"go":{"source":"constructhub.NewConstructHub(this, jsii.String(\"ConstructHub\"), &ConstructHubProps{\n\tPackageTags: []PackageTag{\n\t\t&PackageTag{\n\t\t\tId: jsii.String(\"official\"),\n\t\t\tCondition: *constructhub.TagCondition_Field(jsii.String(\"name\")).Eq(jsii.String(\"construct-hub\")),\n\t\t\tKeyword: &Keyword{\n\t\t\t\tLabel: jsii.String(\"Official\"),\n\t\t\t\tColor: jsii.String(\"#00FF00\"),\n\t\t\t},\n\t\t\tHighlight: &Highlight{\n\t\t\t\tLabel: jsii.String(\"Vended by AWS\"),\n\t\t\t\tColor: jsii.String(\"#00FF00\"),\n\t\t\t},\n\t\t},\n\t},\n})","version":"1"},"$":{"source":"new ConstructHub(this, \"ConstructHub\", {\n packageTags: [{\n id: 'official',\n condition: TagCondition.field('name').eq('construct-hub'),\n keyword: {\n label: 'Official',\n color: '#00FF00',\n },\n highlight: {\n label: 'Vended by AWS',\n color: '#00FF00',\n }\n }]\n});","version":"0"}},"location":{"api":{"api":"moduleReadme","moduleFqn":"construct-hub"},"field":{"field":"markdown","line":274}},"didCompile":true,"fqnsReferenced":["construct-hub.ConstructHub","construct-hub.ConstructHubProps","construct-hub.Highlight","construct-hub.Keyword","construct-hub.TagCondition","construct-hub.TagCondition#field","construct-hub.TagConditionField#eq"],"fullSource":"// Fixture with packages imported, but nothing else\nimport { Construct } from 'constructs';\nimport { App, Stack } from 'aws-cdk-lib';\nimport * as secretsmanager from 'aws-cdk-lib/aws-secretsmanager';\nimport { ConstructHub, FilterType, PackageTagGroup, TagCondition } from 'construct-hub';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n\n // Code snippet begins after !show marker below\n/// !show\nnew ConstructHub(this, \"ConstructHub\", {\n packageTags: [{\n id: 'official',\n condition: TagCondition.field('name').eq('construct-hub'),\n keyword: {\n label: 'Official',\n color: '#00FF00',\n },\n highlight: {\n label: 'Vended by AWS',\n color: '#00FF00',\n }\n }]\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n","syntaxKindCounter":{"11":8,"80":13,"110":1,"210":1,"211":4,"212":2,"214":2,"215":1,"245":1,"304":9},"fqnsFingerprint":"2705ec1f4f311fd2751c109246ffdb6da0ee12c531cdf2fa75fbbf9a87621f53"},"dadbf82a659becce57c566dbc5c0d7a91712450bc8ce2fffad6a1ea87476741c":{"translations":{"python":{"source":"from construct_hub import PackageTag, SearchFilter, PackageTag, SearchFilter\nauthors_group = PackageTagGroup(\"authors\",\n label=\"Authors\",\n tooltip=\"Information about the authors filter\",\n filter_type=FilterType.checkbox()\n)\n\nis_aws = TagCondition.field(\"name\").eq(\"construct-hub\")\nConstructHub(self, \"ConstructHub\",\n package_tags=[PackageTag(\n id=\"AWS\",\n condition=is_aws,\n search_filter=SearchFilter(\n group=authors_group,\n display=\"AWS\"\n )\n ), PackageTag(\n id=\"Community\",\n condition=TagCondition.not(is_aws),\n search_filter=SearchFilter(\n group=authors_group,\n display=\"AWS\"\n )\n )]\n)","version":"2"},"csharp":{"source":"var authorsGroup = new PackageTagGroup(\"authors\", new PackageTagGroupProps {\n Label = \"Authors\",\n Tooltip = \"Information about the authors filter\",\n FilterType = FilterType.Checkbox()\n});\n\nvar isAws = TagCondition.Field(\"name\").Eq(\"construct-hub\");\nnew ConstructHub(this, \"ConstructHub\", new ConstructHubProps {\n PackageTags = new [] { new PackageTag {\n Id = \"AWS\",\n Condition = isAws,\n SearchFilter = new SearchFilter {\n Group = authorsGroup,\n Display = \"AWS\"\n }\n }, new PackageTag {\n Id = \"Community\",\n Condition = TagCondition.Not(isAws),\n SearchFilter = new SearchFilter {\n Group = authorsGroup,\n Display = \"AWS\"\n }\n } }\n});","version":"1"},"java":{"source":"PackageTagGroup authorsGroup = PackageTagGroup.Builder.create(\"authors\")\n .label(\"Authors\")\n .tooltip(\"Information about the authors filter\")\n .filterType(FilterType.checkbox())\n .build();\n\nTagCondition isAws = TagCondition.field(\"name\").eq(\"construct-hub\");\nConstructHub.Builder.create(this, \"ConstructHub\")\n .packageTags(List.of(PackageTag.builder()\n .id(\"AWS\")\n .condition(isAws)\n .searchFilter(SearchFilter.builder()\n .group(authorsGroup)\n .display(\"AWS\")\n .build())\n .build(), PackageTag.builder()\n .id(\"Community\")\n .condition(TagCondition.not(isAws))\n .searchFilter(SearchFilter.builder()\n .group(authorsGroup)\n .display(\"AWS\")\n .build())\n .build()))\n .build();","version":"1"},"go":{"source":"authorsGroup := constructhub.NewPackageTagGroup(jsii.String(\"authors\"), &PackageTagGroupProps{\n\tLabel: jsii.String(\"Authors\"),\n\tTooltip: jsii.String(\"Information about the authors filter\"),\n\tFilterType: *constructhub.FilterType_Checkbox(),\n})\n\nisAws := constructhub.TagCondition_Field(jsii.String(\"name\")).Eq(jsii.String(\"construct-hub\"))\nconstructhub.NewConstructHub(this, jsii.String(\"ConstructHub\"), &ConstructHubProps{\n\tPackageTags: []PackageTag{\n\t\t&PackageTag{\n\t\t\tId: jsii.String(\"AWS\"),\n\t\t\tCondition: isAws,\n\t\t\tSearchFilter: &SearchFilter{\n\t\t\t\tGroup: authorsGroup,\n\t\t\t\tDisplay: jsii.String(\"AWS\"),\n\t\t\t},\n\t\t},\n\t\t&PackageTag{\n\t\t\tId: jsii.String(\"Community\"),\n\t\t\tCondition: *constructhub.TagCondition_Not(isAws),\n\t\t\tSearchFilter: &SearchFilter{\n\t\t\t\tGroup: authorsGroup,\n\t\t\t\tDisplay: jsii.String(\"AWS\"),\n\t\t\t},\n\t\t},\n\t},\n})","version":"1"},"$":{"source":"const authorsGroup = new PackageTagGroup(\"authors\", {\n label: \"Authors\",\n tooltip: \"Information about the authors filter\",\n filterType: FilterType.checkbox(),\n});\n\nconst isAws = TagCondition.field('name').eq('construct-hub');\nnew ConstructHub(this, \"ConstructHub\", {\n packageTags: [{\n id: 'AWS',\n condition: isAws,\n searchFilter: {\n group: authorsGroup,\n display: 'AWS',\n },\n }, {\n id: 'Community',\n condition: TagCondition.not(isAws),\n searchFilter: {\n group: authorsGroup,\n display: 'AWS',\n },\n }]\n});","version":"0"}},"location":{"api":{"api":"moduleReadme","moduleFqn":"construct-hub"},"field":{"field":"markdown","line":299}},"didCompile":true,"fqnsReferenced":["construct-hub.ConstructHub","construct-hub.ConstructHubProps","construct-hub.FilterType","construct-hub.FilterType#checkbox","construct-hub.PackageTagGroup","construct-hub.PackageTagGroupProps","construct-hub.SearchFilter","construct-hub.TagCondition","construct-hub.TagCondition#field","construct-hub.TagCondition#not","construct-hub.TagConditionField#eq"],"fullSource":"// Fixture with packages imported, but nothing else\nimport { Construct } from 'constructs';\nimport { App, Stack } from 'aws-cdk-lib';\nimport * as secretsmanager from 'aws-cdk-lib/aws-secretsmanager';\nimport { ConstructHub, FilterType, PackageTagGroup, TagCondition } from 'construct-hub';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n\n // Code snippet begins after !show marker below\n/// !show\nconst authorsGroup = new PackageTagGroup(\"authors\", {\n label: \"Authors\",\n tooltip: \"Information about the authors filter\",\n filterType: FilterType.checkbox(),\n});\n\nconst isAws = TagCondition.field('name').eq('construct-hub');\nnew ConstructHub(this, \"ConstructHub\", {\n packageTags: [{\n id: 'AWS',\n condition: isAws,\n searchFilter: {\n group: authorsGroup,\n display: 'AWS',\n },\n }, {\n id: 'Community',\n condition: TagCondition.not(isAws),\n searchFilter: {\n group: authorsGroup,\n display: 'AWS',\n },\n }]\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n","syntaxKindCounter":{"11":10,"80":29,"110":1,"210":1,"211":6,"212":4,"214":4,"215":2,"244":2,"245":1,"261":2,"262":2,"304":14},"fqnsFingerprint":"ceb2b505f10018e4ddf534001e3c302c4ddc708f3bc47fab1d218ac150d25c83"},"e0dd3e5b738240f26f98ed431cfb14b215241c724e0957fe0ddc33d74164d53c":{"translations":{"python":{"source":"from construct_hub import PackageTag, Keyword\nConstructHub(self, \"ConstructHub\",\n package_tags=[PackageTag(\n id=\"official\",\n keyword=Keyword(\n label=\"Official\",\n color=\"#00FF00\"\n ),\n condition=TagCondition.or(\n TagCondition.field(\"name\").eq(\"construct-hub\"),\n TagCondition.field(\"name\").eq(\"construct-hub-webapp\"))\n )]\n)","version":"2"},"csharp":{"source":"new ConstructHub(this, \"ConstructHub\", new ConstructHubProps {\n PackageTags = new [] { new PackageTag {\n Id = \"official\",\n Keyword = new Keyword {\n Label = \"Official\",\n Color = \"#00FF00\"\n },\n Condition = TagCondition.Or(TagCondition.Field(\"name\").Eq(\"construct-hub\"), TagCondition.Field(\"name\").Eq(\"construct-hub-webapp\"))\n } }\n});","version":"1"},"java":{"source":"ConstructHub.Builder.create(this, \"ConstructHub\")\n .packageTags(List.of(PackageTag.builder()\n .id(\"official\")\n .keyword(Keyword.builder()\n .label(\"Official\")\n .color(\"#00FF00\")\n .build())\n .condition(TagCondition.or(TagCondition.field(\"name\").eq(\"construct-hub\"), TagCondition.field(\"name\").eq(\"construct-hub-webapp\")))\n .build()))\n .build();","version":"1"},"go":{"source":"constructhub.NewConstructHub(this, jsii.String(\"ConstructHub\"), &ConstructHubProps{\n\tPackageTags: []PackageTag{\n\t\t&PackageTag{\n\t\t\tId: jsii.String(\"official\"),\n\t\t\tKeyword: &Keyword{\n\t\t\t\tLabel: jsii.String(\"Official\"),\n\t\t\t\tColor: jsii.String(\"#00FF00\"),\n\t\t\t},\n\t\t\tCondition: *constructhub.TagCondition_Or(*constructhub.TagCondition_Field(jsii.String(\"name\")).Eq(jsii.String(\"construct-hub\")), *constructhub.TagCondition_*Field(jsii.String(\"name\")).*Eq(jsii.String(\"construct-hub-webapp\"))),\n\t\t},\n\t},\n})","version":"1"},"$":{"source":"new ConstructHub(this, \"ConstructHub\", {\n packageTags: [{\n id: 'official',\n keyword: {\n label: 'Official',\n color: '#00FF00',\n },\n condition: TagCondition.or(\n TagCondition.field('name').eq('construct-hub'),\n TagCondition.field('name').eq('construct-hub-webapp'),\n ),\n }]\n});","version":"0"}},"location":{"api":{"api":"moduleReadme","moduleFqn":"construct-hub"},"field":{"field":"markdown","line":332}},"didCompile":true,"fqnsReferenced":["construct-hub.ConstructHub","construct-hub.ConstructHubProps","construct-hub.Keyword","construct-hub.TagCondition","construct-hub.TagCondition#field","construct-hub.TagCondition#or","construct-hub.TagConditionField#eq"],"fullSource":"// Fixture with packages imported, but nothing else\nimport { Construct } from 'constructs';\nimport { App, Stack } from 'aws-cdk-lib';\nimport * as secretsmanager from 'aws-cdk-lib/aws-secretsmanager';\nimport { ConstructHub, FilterType, PackageTagGroup, TagCondition } from 'construct-hub';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n\n // Code snippet begins after !show marker below\n/// !show\nnew ConstructHub(this, \"ConstructHub\", {\n packageTags: [{\n id: 'official',\n keyword: {\n label: 'Official',\n color: '#00FF00',\n },\n condition: TagCondition.or(\n TagCondition.field('name').eq('construct-hub'),\n TagCondition.field('name').eq('construct-hub-webapp'),\n ),\n }]\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n","syntaxKindCounter":{"11":8,"80":15,"110":1,"210":1,"211":3,"212":5,"214":5,"215":1,"245":1,"304":6},"fqnsFingerprint":"7ca1d8d65f8a62b5f69deaa08d764f7bec2679b7d2a6b6df00a0ca5a0e92e899"},"0daaf1c79f3c42c1959f9880414a94224a9eb7647334eb52ae9a82525ee962bd":{"translations":{"python":{"source":"TagCondition.field(\"constructHub\", \"nested\", \"key\").eq(\"value\")","version":"2"},"csharp":{"source":"TagCondition.Field(\"constructHub\", \"nested\", \"key\").Eq(\"value\");","version":"1"},"java":{"source":"TagCondition.field(\"constructHub\", \"nested\", \"key\").eq(\"value\");","version":"1"},"go":{"source":"constructhub.TagCondition_Field(jsii.String(\"constructHub\"), jsii.String(\"nested\"), jsii.String(\"key\")).Eq(jsii.String(\"value\"))","version":"1"},"$":{"source":"TagCondition.field('constructHub', 'nested', 'key').eq('value');\n\n// checks the following:\n// packageJson?.constructHub?.nested?.key === value;","version":"0"}},"location":{"api":{"api":"moduleReadme","moduleFqn":"construct-hub"},"field":{"field":"markdown","line":350}},"didCompile":true,"fqnsReferenced":["construct-hub.TagCondition#field","construct-hub.TagConditionField#eq"],"fullSource":"// Fixture with packages imported, but nothing else\nimport { Construct } from 'constructs';\nimport { App, Stack } from 'aws-cdk-lib';\nimport * as secretsmanager from 'aws-cdk-lib/aws-secretsmanager';\nimport { ConstructHub, FilterType, PackageTagGroup, TagCondition } from 'construct-hub';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n\n // Code snippet begins after !show marker below\n/// !show\nTagCondition.field('constructHub', 'nested', 'key').eq('value');\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n","syntaxKindCounter":{"11":4,"80":3,"212":2,"214":2,"245":1},"fqnsFingerprint":"2724b9ada935782c2c3724ab1c4b2c442df6184ee4b4a6a04dfc99ea9b916315"},"2f057e56e6c0d4eda33039950957b91227a96f65d279b2a4af04c2d662c9ad08":{"translations":{"python":{"source":"TagCondition.readme().includes(\"ECS\")\nTagCondition.readme().includes(\"fargate\", at_least=3, case_sensitive=False)","version":"2"},"csharp":{"source":"TagCondition.Readme().Includes(\"ECS\");\nTagCondition.Readme().Includes(\"fargate\", new TagConditionIncludesOptions { AtLeast = 3, CaseSensitive = false });","version":"1"},"java":{"source":"TagCondition.readme().includes(\"ECS\");\nTagCondition.readme().includes(\"fargate\", TagConditionIncludesOptions.builder().atLeast(3).caseSensitive(false).build());","version":"1"},"go":{"source":"constructhub.TagCondition_Readme().Includes(jsii.String(\"ECS\"))\nconstructhub.TagCondition_Readme().Includes(jsii.String(\"fargate\"), &TagConditionIncludesOptions{\n\tAtLeast: jsii.Number(3),\n\tCaseSensitive: jsii.Boolean(false),\n})","version":"1"},"$":{"source":"TagCondition.readme().includes('ECS');\nTagCondition.readme().includes('fargate', { atLeast: 3, caseSensitive: false });","version":"0"}},"location":{"api":{"api":"moduleReadme","moduleFqn":"construct-hub"},"field":{"field":"markdown","line":360}},"didCompile":true,"fqnsReferenced":["construct-hub.TagCondition#readme","construct-hub.TagConditionIncludesOptions","construct-hub.TagConditionReadme#includes"],"fullSource":"// Fixture with packages imported, but nothing else\nimport { Construct } from 'constructs';\nimport { App, Stack } from 'aws-cdk-lib';\nimport * as secretsmanager from 'aws-cdk-lib/aws-secretsmanager';\nimport { ConstructHub, FilterType, PackageTagGroup, TagCondition } from 'construct-hub';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n\n // Code snippet begins after !show marker below\n/// !show\nTagCondition.readme().includes('ECS');\nTagCondition.readme().includes('fargate', { atLeast: 3, caseSensitive: false });\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n","syntaxKindCounter":{"9":1,"11":2,"80":8,"97":1,"211":1,"212":4,"214":4,"245":2,"304":2},"fqnsFingerprint":"8a39e20c1f736f1f7df2eab53d028b6462b3b2069aa97b45d97fce44e3088e5b"},"d5eba64f81f60d90c405b4259df295944332dc664fb3b64c44d9976aa3dd3aff":{"translations":{"python":{"source":"from construct_hub import PackageLinkConfig, PackageLinkConfig\nConstructHub(self, \"ConstructHub\",\n package_links=[PackageLinkConfig(\n link_label=\"Service Level Agreement\",\n config_key=\"SLA\"\n ), PackageLinkConfig(\n link_label=\"Contact\",\n config_key=\"Contact\",\n link_text=\"Email Me!\",\n allowed_domains=[\"me.com\"]\n )]\n)","version":"2"},"csharp":{"source":"new ConstructHub(this, \"ConstructHub\", new ConstructHubProps {\n PackageLinks = new [] { new PackageLinkConfig {\n LinkLabel = \"Service Level Agreement\",\n ConfigKey = \"SLA\"\n }, new PackageLinkConfig {\n LinkLabel = \"Contact\",\n ConfigKey = \"Contact\",\n LinkText = \"Email Me!\",\n AllowedDomains = new [] { \"me.com\" }\n } }\n});","version":"1"},"java":{"source":"ConstructHub.Builder.create(this, \"ConstructHub\")\n .packageLinks(List.of(PackageLinkConfig.builder()\n .linkLabel(\"Service Level Agreement\")\n .configKey(\"SLA\")\n .build(), PackageLinkConfig.builder()\n .linkLabel(\"Contact\")\n .configKey(\"Contact\")\n .linkText(\"Email Me!\")\n .allowedDomains(List.of(\"me.com\"))\n .build()))\n .build();","version":"1"},"go":{"source":"constructhub.NewConstructHub(this, jsii.String(\"ConstructHub\"), &ConstructHubProps{\n\tPackageLinks: []PackageLinkConfig{\n\t\t&PackageLinkConfig{\n\t\t\tLinkLabel: jsii.String(\"Service Level Agreement\"),\n\t\t\tConfigKey: jsii.String(\"SLA\"),\n\t\t},\n\t\t&PackageLinkConfig{\n\t\t\tLinkLabel: jsii.String(\"Contact\"),\n\t\t\tConfigKey: jsii.String(\"Contact\"),\n\t\t\tLinkText: jsii.String(\"Email Me!\"),\n\t\t\tAllowedDomains: []*string{\n\t\t\t\tjsii.String(\"me.com\"),\n\t\t\t},\n\t\t},\n\t},\n})","version":"1"},"$":{"source":"new ConstructHub(this, \"ConstructHub\", {\n packageLinks: [{\n linkLabel: 'Service Level Agreement',\n configKey: 'SLA',\n }, {\n linkLabel: 'Contact',\n configKey: 'Contact',\n linkText: 'Email Me!',\n allowedDomains: ['me.com'],\n }]\n});","version":"0"}},"location":{"api":{"api":"moduleReadme","moduleFqn":"construct-hub"},"field":{"field":"markdown","line":372}},"didCompile":true,"fqnsReferenced":["construct-hub.ConstructHub","construct-hub.ConstructHubProps"],"fullSource":"// Fixture with packages imported, but nothing else\nimport { Construct } from 'constructs';\nimport { App, Stack } from 'aws-cdk-lib';\nimport * as secretsmanager from 'aws-cdk-lib/aws-secretsmanager';\nimport { ConstructHub, FilterType, PackageTagGroup, TagCondition } from 'construct-hub';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n\n // Code snippet begins after !show marker below\n/// !show\nnew ConstructHub(this, \"ConstructHub\", {\n packageLinks: [{\n linkLabel: 'Service Level Agreement',\n configKey: 'SLA',\n }, {\n linkLabel: 'Contact',\n configKey: 'Contact',\n linkText: 'Email Me!',\n allowedDomains: ['me.com'],\n }]\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n","syntaxKindCounter":{"11":7,"80":8,"110":1,"210":2,"211":3,"215":1,"245":1,"304":7},"fqnsFingerprint":"adbd40a1895e66b8802e2059e751c3510f8b409e7c7b9914e2d394a3d83e66a6"},"b5216fc62f03b6fe1438a302d0375c35f0ecd730f3606dae58919ea52374ed91":{"translations":{"python":{"source":"from construct_hub import FeedConfiguration\nConstructHub(self, \"ConstructHub\",\n feed_configuration=FeedConfiguration(\n github_token_secret=secretsmanager.Secret.from_secret_complete_arn(self, \"GitHubToken\", \"<arn:aws:secretsmanager:us-east-2:11111111111:secret:releaseNotesFetcherGitHubToken-abCd1>\"),\n feed_description=\"Latest Constructs in the construct hub\",\n feed_title=\"Latest constructs\"\n )\n)","version":"2"},"csharp":{"source":"new ConstructHub(this, \"ConstructHub\", new ConstructHubProps {\n FeedConfiguration = new FeedConfiguration {\n GithubTokenSecret = Secret.FromSecretCompleteArn(this, \"GitHubToken\", \"<arn:aws:secretsmanager:us-east-2:11111111111:secret:releaseNotesFetcherGitHubToken-abCd1>\"),\n FeedDescription = \"Latest Constructs in the construct hub\",\n FeedTitle = \"Latest constructs\"\n }\n});","version":"1"},"java":{"source":"ConstructHub.Builder.create(this, \"ConstructHub\")\n .feedConfiguration(FeedConfiguration.builder()\n .githubTokenSecret(Secret.fromSecretCompleteArn(this, \"GitHubToken\", \"<arn:aws:secretsmanager:us-east-2:11111111111:secret:releaseNotesFetcherGitHubToken-abCd1>\"))\n .feedDescription(\"Latest Constructs in the construct hub\")\n .feedTitle(\"Latest constructs\")\n .build())\n .build();","version":"1"},"go":{"source":"constructhub.NewConstructHub(this, jsii.String(\"ConstructHub\"), &ConstructHubProps{\n\tFeedConfiguration: &FeedConfiguration{\n\t\tGithubTokenSecret: secretsmanager.Secret_FromSecretCompleteArn(this, jsii.String(\"GitHubToken\"), jsii.String(\"<arn:aws:secretsmanager:us-east-2:11111111111:secret:releaseNotesFetcherGitHubToken-abCd1>\")),\n\t\tFeedDescription: jsii.String(\"Latest Constructs in the construct hub\"),\n\t\tFeedTitle: jsii.String(\"Latest constructs\"),\n\t},\n})","version":"1"},"$":{"source":"new ConstructHub(this, \"ConstructHub\", {\n feedConfiguration: {\n githubTokenSecret: secretsmanager.Secret.fromSecretCompleteArn(this, 'GitHubToken', '<arn:aws:secretsmanager:us-east-2:11111111111:secret:releaseNotesFetcherGitHubToken-abCd1>'),\n feedDescription: 'Latest Constructs in the construct hub',\n feedTitle: 'Latest constructs',\n }\n }\n);","version":"0"}},"location":{"api":{"api":"moduleReadme","moduleFqn":"construct-hub"},"field":{"field":"markdown","line":409}},"didCompile":true,"fqnsReferenced":["aws-cdk-lib.aws_secretsmanager.ISecret","aws-cdk-lib.aws_secretsmanager.Secret","aws-cdk-lib.aws_secretsmanager.Secret#fromSecretCompleteArn","construct-hub.ConstructHub","construct-hub.ConstructHubProps","construct-hub.FeedConfiguration"],"fullSource":"// Fixture with packages imported, but nothing else\nimport { Construct } from 'constructs';\nimport { App, Stack } from 'aws-cdk-lib';\nimport * as secretsmanager from 'aws-cdk-lib/aws-secretsmanager';\nimport { ConstructHub, FilterType, PackageTagGroup, TagCondition } from 'construct-hub';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n\n // Code snippet begins after !show marker below\n/// !show\nnew ConstructHub(this, \"ConstructHub\", {\n feedConfiguration: {\n githubTokenSecret: secretsmanager.Secret.fromSecretCompleteArn(this, 'GitHubToken', '<arn:aws:secretsmanager:us-east-2:11111111111:secret:releaseNotesFetcherGitHubToken-abCd1>'),\n feedDescription: 'Latest Constructs in the construct hub',\n feedTitle: 'Latest constructs',\n }\n }\n);\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n","syntaxKindCounter":{"11":5,"80":8,"110":2,"211":2,"212":2,"214":1,"215":1,"245":1,"304":4},"fqnsFingerprint":"ffb7133a62b0a8cdd764522ab4eb727e162caeb2586dd48626adbb73273e4797"},"a7a46b5b6e6ba5c8ed9306cc089dcbb161c9550c9296be34309e708257f1f622":{"translations":{"python":{"source":"from construct_hub import FeaturedPackages, FeaturedPackagesSection, FeaturedPackagesSection, FeaturedPackagesDetail, FeaturedPackagesDetail, FeaturedPackagesDetail, FeaturedPackagesDetail\nConstructHub(self, \"ConstructHub\",\n featured_packages=FeaturedPackages(\n sections=[FeaturedPackagesSection(\n name=\"Recently updated\",\n show_last_updated=4\n ), FeaturedPackagesSection(\n name=\"From the AWS CDK\",\n show_packages=[FeaturedPackagesDetail(\n name=\"@aws-cdk/core\"\n ), FeaturedPackagesDetail(\n name=\"@aws-cdk/aws-s3\",\n comment=\"One of the most popular AWS CDK libraries!\"\n ), FeaturedPackagesDetail(\n name=\"@aws-cdk/aws-lambda\"\n ), FeaturedPackagesDetail(\n name=\"@aws-cdk/pipelines\",\n comment=\"The pipelines L3 construct library abstracts away many of the details of managing software deployment within AWS.\"\n )\n ]\n )\n ]\n )\n)","version":"2"},"csharp":{"source":"new ConstructHub(this, \"ConstructHub\", new ConstructHubProps {\n FeaturedPackages = new FeaturedPackages {\n Sections = new [] { new FeaturedPackagesSection {\n Name = \"Recently updated\",\n ShowLastUpdated = 4\n }, new FeaturedPackagesSection {\n Name = \"From the AWS CDK\",\n ShowPackages = new [] { new FeaturedPackagesDetail {\n Name = \"@aws-cdk/core\"\n }, new FeaturedPackagesDetail {\n Name = \"@aws-cdk/aws-s3\",\n Comment = \"One of the most popular AWS CDK libraries!\"\n }, new FeaturedPackagesDetail {\n Name = \"@aws-cdk/aws-lambda\"\n }, new FeaturedPackagesDetail {\n Name = \"@aws-cdk/pipelines\",\n Comment = \"The pipelines L3 construct library abstracts away many of the details of managing software deployment within AWS.\"\n } }\n } }\n }\n});","version":"1"},"java":{"source":"ConstructHub.Builder.create(this, \"ConstructHub\")\n .featuredPackages(FeaturedPackages.builder()\n .sections(List.of(FeaturedPackagesSection.builder()\n .name(\"Recently updated\")\n .showLastUpdated(4)\n .build(), FeaturedPackagesSection.builder()\n .name(\"From the AWS CDK\")\n .showPackages(List.of(FeaturedPackagesDetail.builder()\n .name(\"@aws-cdk/core\")\n .build(), FeaturedPackagesDetail.builder()\n .name(\"@aws-cdk/aws-s3\")\n .comment(\"One of the most popular AWS CDK libraries!\")\n .build(), FeaturedPackagesDetail.builder()\n .name(\"@aws-cdk/aws-lambda\")\n .build(), FeaturedPackagesDetail.builder()\n .name(\"@aws-cdk/pipelines\")\n .comment(\"The pipelines L3 construct library abstracts away many of the details of managing software deployment within AWS.\")\n .build()))\n .build()))\n .build())\n .build();","version":"1"},"go":{"source":"constructhub.NewConstructHub(this, jsii.String(\"ConstructHub\"), &ConstructHubProps{\n\tFeaturedPackages: &FeaturedPackages{\n\t\tSections: []FeaturedPackagesSection{\n\t\t\t&FeaturedPackagesSection{\n\t\t\t\tName: jsii.String(\"Recently updated\"),\n\t\t\t\tShowLastUpdated: jsii.Number(4),\n\t\t\t},\n\t\t\t&FeaturedPackagesSection{\n\t\t\t\tName: jsii.String(\"From the AWS CDK\"),\n\t\t\t\tShowPackages: []FeaturedPackagesDetail{\n\t\t\t\t\t&FeaturedPackagesDetail{\n\t\t\t\t\t\tName: jsii.String(\"@aws-cdk/core\"),\n\t\t\t\t\t},\n\t\t\t\t\t&FeaturedPackagesDetail{\n\t\t\t\t\t\tName: jsii.String(\"@aws-cdk/aws-s3\"),\n\t\t\t\t\t\tComment: jsii.String(\"One of the most popular AWS CDK libraries!\"),\n\t\t\t\t\t},\n\t\t\t\t\t&FeaturedPackagesDetail{\n\t\t\t\t\t\tName: jsii.String(\"@aws-cdk/aws-lambda\"),\n\t\t\t\t\t},\n\t\t\t\t\t&FeaturedPackagesDetail{\n\t\t\t\t\t\tName: jsii.String(\"@aws-cdk/pipelines\"),\n\t\t\t\t\t\tComment: jsii.String(\"The pipelines L3 construct library abstracts away many of the details of managing software deployment within AWS.\"),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t},\n\t},\n})","version":"1"},"$":{"source":"new ConstructHub(this, \"ConstructHub\", {\n featuredPackages: {\n sections: [\n {\n name: \"Recently updated\",\n showLastUpdated: 4\n },\n {\n name: \"From the AWS CDK\",\n showPackages: [\n {\n name: \"@aws-cdk/core\"\n },\n {\n name: \"@aws-cdk/aws-s3\",\n comment: \"One of the most popular AWS CDK libraries!\"\n },\n {\n name: \"@aws-cdk/aws-lambda\"\n },\n {\n name: \"@aws-cdk/pipelines\",\n comment: \"The pipelines L3 construct library abstracts away many of the details of managing software deployment within AWS.\"\n }\n ]\n }\n ]\n }\n});","version":"0"}},"location":{"api":{"api":"moduleReadme","moduleFqn":"construct-hub"},"field":{"field":"markdown","line":428}},"didCompile":true,"fqnsReferenced":["construct-hub.ConstructHub","construct-hub.ConstructHubProps","construct-hub.FeaturedPackages"],"fullSource":"// Fixture with packages imported, but nothing else\nimport { Construct } from 'constructs';\nimport { App, Stack } from 'aws-cdk-lib';\nimport * as secretsmanager from 'aws-cdk-lib/aws-secretsmanager';\nimport { ConstructHub, FilterType, PackageTagGroup, TagCondition } from 'construct-hub';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n\n // Code snippet begins after !show marker below\n/// !show\nnew ConstructHub(this, \"ConstructHub\", {\n featuredPackages: {\n sections: [\n {\n name: \"Recently updated\",\n showLastUpdated: 4\n },\n {\n name: \"From the AWS CDK\",\n showPackages: [\n {\n name: \"@aws-cdk/core\"\n },\n {\n name: \"@aws-cdk/aws-s3\",\n comment: \"One of the most popular AWS CDK libraries!\"\n },\n {\n name: \"@aws-cdk/aws-lambda\"\n },\n {\n name: \"@aws-cdk/pipelines\",\n comment: \"The pipelines L3 construct library abstracts away many of the details of managing software deployment within AWS.\"\n }\n ]\n }\n ]\n }\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n","syntaxKindCounter":{"9":1,"11":9,"80":13,"110":1,"210":2,"211":8,"215":1,"245":1,"304":12},"fqnsFingerprint":"9cd72900f72580ae7033048ddd5cd5765e409a634253491ab09cd7cb051f5efe"},"8ff5b711c8eaa11aeba183a5910aafb33b9250d444225e98bbf647f0f6ba12bf":{"translations":{"python":{"source":"from construct_hub import Category, Category, Category\nConstructHub(self, \"ConstructHub\",\n categories=[Category(title=\"Databases\", url=\"?keywords=databases\"), Category(title=\"Monitoring\", url=\"?q=monitoring\"), Category(title=\"Partners\", url=\"?tags=aws-partner\")\n ]\n)","version":"2"},"csharp":{"source":"new ConstructHub(this, \"ConstructHub\", new ConstructHubProps {\n Categories = new [] { new Category { Title = \"Databases\", Url = \"?keywords=databases\" }, new Category { Title = \"Monitoring\", Url = \"?q=monitoring\" }, new Category { Title = \"Partners\", Url = \"?tags=aws-partner\" } }\n});","version":"1"},"java":{"source":"ConstructHub.Builder.create(this, \"ConstructHub\")\n .categories(List.of(Category.builder().title(\"Databases\").url(\"?keywords=databases\").build(), Category.builder().title(\"Monitoring\").url(\"?q=monitoring\").build(), Category.builder().title(\"Partners\").url(\"?tags=aws-partner\").build()))\n .build();","version":"1"},"go":{"source":"constructhub.NewConstructHub(this, jsii.String(\"ConstructHub\"), &ConstructHubProps{\n\tCategories: []Category{\n\t\t&Category{\n\t\t\tTitle: jsii.String(\"Databases\"),\n\t\t\tUrl: jsii.String(\"?keywords=databases\"),\n\t\t},\n\t\t&Category{\n\t\t\tTitle: jsii.String(\"Monitoring\"),\n\t\t\tUrl: jsii.String(\"?q=monitoring\"),\n\t\t},\n\t\t&Category{\n\t\t\tTitle: jsii.String(\"Partners\"),\n\t\t\tUrl: jsii.String(\"?tags=aws-partner\"),\n\t\t},\n\t},\n})","version":"1"},"$":{"source":"new ConstructHub(this, \"ConstructHub\", {\n categories: [\n { title: 'Databases', url: '?keywords=databases' },\n { title: 'Monitoring', url: '?q=monitoring' },\n { title: 'Partners', url: '?tags=aws-partner' }\n ]\n});","version":"0"}},"location":{"api":{"api":"moduleReadme","moduleFqn":"construct-hub"},"field":{"field":"markdown","line":470}},"didCompile":true,"fqnsReferenced":["construct-hub.ConstructHub","construct-hub.ConstructHubProps"],"fullSource":"// Fixture with packages imported, but nothing else\nimport { Construct } from 'constructs';\nimport { App, Stack } from 'aws-cdk-lib';\nimport * as secretsmanager from 'aws-cdk-lib/aws-secretsmanager';\nimport { ConstructHub, FilterType, PackageTagGroup, TagCondition } from 'construct-hub';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n\n // Code snippet begins after !show marker below\n/// !show\nnew ConstructHub(this, \"ConstructHub\", {\n categories: [\n { title: 'Databases', url: '?keywords=databases' },\n { title: 'Monitoring', url: '?q=monitoring' },\n { title: 'Partners', url: '?tags=aws-partner' }\n ]\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n","syntaxKindCounter":{"11":7,"80":8,"110":1,"210":1,"211":4,"215":1,"245":1,"304":7},"fqnsFingerprint":"adbd40a1895e66b8802e2059e751c3510f8b409e7c7b9914e2d394a3d83e66a6"},"0f173c6f76b309b8557e11b2b4e79907d6a33296089148537b0627a64e4c3dcf":{"translations":{"python":{"source":"\"/search?keywords=monitoring\"","version":"2"},"csharp":{"source":"\"/search?keywords=monitoring\";","version":"1"},"java":{"source":"\"/search?keywords=monitoring\";","version":"1"},"go":{"source":"\"/search?keywords=monitoring\"","version":"1"},"$":{"source":"\"/search?keywords=monitoring\"","version":"0"}},"location":{"api":{"api":"member","fqn":"construct-hub.Category","memberName":"url"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":[],"fullSource":"// Fixture with packages imported, but nothing else\nimport { Construct } from 'constructs';\nimport { App, Stack } from 'aws-cdk-lib';\nimport * as secretsmanager from 'aws-cdk-lib/aws-secretsmanager';\nimport { ConstructHub, FilterType, PackageTagGroup, TagCondition } from 'construct-hub';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n\n // Code snippet begins after !show marker below\n/// !show\n\"/search?keywords=monitoring\"\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n","syntaxKindCounter":{"11":1,"245":1},"fqnsFingerprint":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"}}}
1
+ {"version":"2","toolVersion":"5.9.47","snippets":{"25e685846489a7c8f9621a4c3239be2be62ae31758f0147822166a15d4afb416":{"translations":{"python":{"source":"from aws_cdk import App, Stack\nfrom construct_hub import ConstructHub\n\n# The usual... you might have used `cdk init app` instead!\napp = App()\nstack = Stack(app, \"StackName\")\n\n# Now to business!\nConstructHub(stack, \"ConstructHub\")","version":"2"},"csharp":{"source":"using Amazon.CDK;\nusing Construct.Hub;\n\n// The usual... you might have used `cdk init app` instead!\nvar app = new App();\nvar stack = new Stack(app, \"StackName\", new StackProps { });\n\n// Now to business!\n// Now to business!\nnew ConstructHub(stack, \"ConstructHub\");","version":"1"},"java":{"source":"import software.amazon.awscdk.App;\nimport software.amazon.awscdk.Stack;\nimport construct.hub.ConstructHub;\n\n// The usual... you might have used `cdk init app` instead!\nApp app = new App();\nStack stack = Stack.Builder.create(app, \"StackName\").build();\n\n// Now to business!\n// Now to business!\nnew ConstructHub(stack, \"ConstructHub\");","version":"1"},"go":{"source":"import \"github.com/aws/aws-cdk-go/awscdk\"\nimport \"github.com/aws-samples/dummy/constructhub\"\n\n// The usual... you might have used `cdk init app` instead!\napp := awscdk.NewApp()\nstack := awscdk.NewStack(app, jsii.String(\"StackName\"), &StackProps{\n})\n\n// Now to business!\n// Now to business!\nconstructhub.NewConstructHub(stack, jsii.String(\"ConstructHub\"))","version":"1"},"$":{"source":"import { App, Stack } from 'aws-cdk-lib/core';\nimport { ConstructHub } from 'construct-hub';\n\n// The usual... you might have used `cdk init app` instead!\nconst app = new App();\nconst stack = new Stack(app, 'StackName', { /* ... */ });\n\n// Now to business!\nnew ConstructHub(stack, 'ConstructHub');","version":"0"}},"location":{"api":{"api":"moduleReadme","moduleFqn":"construct-hub"},"field":{"field":"markdown","line":45}},"didCompile":true,"fqnsReferenced":["aws-cdk-lib.App","aws-cdk-lib.Stack","aws-cdk-lib.StackProps","construct-hub.ConstructHub"],"fullSource":"import { App, Stack } from 'aws-cdk-lib/core';\nimport { ConstructHub } from 'construct-hub';\n\n// The usual... you might have used `cdk init app` instead!\nconst app = new App();\nconst stack = new Stack(app, 'StackName', { /* ... */ });\n\n// Now to business!\nnew ConstructHub(stack, 'ConstructHub');","syntaxKindCounter":{"11":4,"80":10,"211":1,"215":3,"244":2,"245":1,"261":2,"262":2,"273":2,"274":2,"276":2,"277":3,"308":1},"fqnsFingerprint":"255da48c22b85bdbd1bc94a775a65235b6a8b6d60fa4ed5b51c1ee499b8d4b71"},"ebafb072daebb584d8863973cd882175d746c5cbda4464c37f5f0fc7976b5090":{"translations":{"python":{"source":"import aws_cdk.aws_codeartifact as codeartifact\nfrom aws_cdk import App, Stack\nfrom construct_hub import sources, ConstructHub\n\n# The usual... you might have used `cdk init app` instead!\napp = App()\nstack = Stack(app, \"StackName\")\n\n# Now to business!\nrepository = codeartifact.CfnRepository(stack, \"Repository\",\n domain_name=\"my-domain\",\n repository_name=\"my-repo\"\n)\nConstructHub(stack, \"ConstructHub\",\n package_sources=[\n sources.NpmJs(), # Remove if you do NOT want npmjs.com packages\n sources.CodeArtifact(repository=repository)\n ]\n)","version":"2"},"csharp":{"source":"using Amazon.CDK.AWS.CodeArtifact;\nusing Amazon.CDK;\nusing Construct.Hub.Sources;\nusing Construct.Hub;\n\n// The usual... you might have used `cdk init app` instead!\nvar app = new App();\nvar stack = new Stack(app, \"StackName\", new StackProps { });\n\n// Now to business!\nvar repository = new CfnRepository(stack, \"Repository\", new CfnRepositoryProps {\n DomainName = \"my-domain\",\n RepositoryName = \"my-repo\"\n});\nnew ConstructHub(stack, \"ConstructHub\", new ConstructHubProps {\n PackageSources = new [] {\n new NpmJs(), // Remove if you do NOT want npmjs.com packages\n new CodeArtifact(new CodeArtifactProps { Repository = repository }) }\n});","version":"1"},"java":{"source":"import software.amazon.awscdk.services.codeartifact.*;\nimport software.amazon.awscdk.App;\nimport software.amazon.awscdk.Stack;\nimport construct.hub.sources.*;\nimport construct.hub.ConstructHub;\n\n// The usual... you might have used `cdk init app` instead!\nApp app = new App();\nStack stack = Stack.Builder.create(app, \"StackName\").build();\n\n// Now to business!\nCfnRepository repository = CfnRepository.Builder.create(stack, \"Repository\")\n .domainName(\"my-domain\")\n .repositoryName(\"my-repo\")\n .build();\nConstructHub.Builder.create(stack, \"ConstructHub\")\n .packageSources(List.of(\n new NpmJs(), // Remove if you do NOT want npmjs.com packages\n CodeArtifact.Builder.create().repository(repository).build()))\n .build();","version":"1"},"go":{"source":"import codeartifact \"github.com/aws/aws-cdk-go/awscdk\"\nimport \"github.com/aws/aws-cdk-go/awscdk\"\nimport \"github.com/aws-samples/dummy/constructhub\"\n\n// The usual... you might have used `cdk init app` instead!\napp := awscdk.NewApp()\nstack := awscdk.NewStack(app, jsii.String(\"StackName\"), &StackProps{\n})\n\n// Now to business!\nrepository := codeartifact.NewCfnRepository(stack, jsii.String(\"Repository\"), &CfnRepositoryProps{\n\tDomainName: jsii.String(\"my-domain\"),\n\tRepositoryName: jsii.String(\"my-repo\"),\n})\nconstructhub.NewConstructHub(stack, jsii.String(\"ConstructHub\"), &ConstructHubProps{\n\tPackageSources: []IPackageSource{\n\t\t*constructhub.Sources.NewNpmJs(),\n\t\t // Remove if you do NOT want npmjs.com packages\n\t\t*constructhub.*Sources.NewCodeArtifact(&CodeArtifactProps{\n\t\t\tRepository: *Repository,\n\t\t}),\n\t},\n})","version":"1"},"$":{"source":"import * as codeartifact from 'aws-cdk-lib/aws-codeartifact';\nimport { App, Stack } from 'aws-cdk-lib/core';\nimport { sources, ConstructHub } from 'construct-hub';\n\n// The usual... you might have used `cdk init app` instead!\nconst app = new App();\nconst stack = new Stack(app, 'StackName', { /* ... */ });\n\n// Now to business!\nconst repository = new codeartifact.CfnRepository(stack, 'Repository', {\n domainName: 'my-domain',\n repositoryName: 'my-repo',\n // ....\n});\nnew ConstructHub(stack, 'ConstructHub', {\n packageSources: [\n new sources.NpmJs(), // Remove if you do NOT want npmjs.com packages\n new sources.CodeArtifact({ repository }),\n ],\n});","version":"0"}},"location":{"api":{"api":"moduleReadme","moduleFqn":"construct-hub"},"field":{"field":"markdown","line":86}},"didCompile":true,"fqnsReferenced":["aws-cdk-lib.App","aws-cdk-lib.Stack","aws-cdk-lib.StackProps","aws-cdk-lib.aws_codeartifact.CfnRepository","aws-cdk-lib.aws_codeartifact.CfnRepositoryProps","construct-hub.ConstructHub","construct-hub.ConstructHubProps","construct-hub.sources.CodeArtifact","construct-hub.sources.CodeArtifactProps","construct-hub.sources.NpmJs"],"fullSource":"import * as codeartifact from 'aws-cdk-lib/aws-codeartifact';\nimport { App, Stack } from 'aws-cdk-lib/core';\nimport { sources, ConstructHub } from 'construct-hub';\n\n// The usual... you might have used `cdk init app` instead!\nconst app = new App();\nconst stack = new Stack(app, 'StackName', { /* ... */ });\n\n// Now to business!\nconst repository = new codeartifact.CfnRepository(stack, 'Repository', {\n domainName: 'my-domain',\n repositoryName: 'my-repo',\n // ....\n});\nnew ConstructHub(stack, 'ConstructHub', {\n packageSources: [\n new sources.NpmJs(), // Remove if you do NOT want npmjs.com packages\n new sources.CodeArtifact({ repository }),\n ],\n});","syntaxKindCounter":{"11":8,"80":24,"210":1,"211":4,"212":3,"215":6,"244":3,"245":1,"261":3,"262":3,"273":3,"274":3,"275":1,"276":2,"277":4,"304":3,"305":1,"308":1},"fqnsFingerprint":"62c82644814a4ddcae43002a9de9de2d370727ca0a8d8ed76e475378a1df5e4c"},"6b13b6fdb8d630fd0d73ad93f143273c787b9e0e749158c00c3cf96c5c685f1f":{"translations":{"python":{"source":"from construct_hub import DenyListRule, DenyListRule\nfrom aws_cdk import App, Stack\nfrom construct_hub import ConstructHub\n\n# The usual... you might have used `cdk init app` instead!\napp = App()\nstack = Stack(app, \"StackName\")\n\n# Now to business!\nConstructHub(stack, \"ConstructHub\",\n deny_list=[DenyListRule(package_name=\"sneaky-hackery\", reason=\"Mines bitcoins wherever it gets installed\"), DenyListRule(package_name=\"bad-release\", version=\"1.2.3\", reason=\"CVE-####-#####\")\n ]\n)","version":"2"},"csharp":{"source":"using Amazon.CDK;\nusing Construct.Hub;\n\n// The usual... you might have used `cdk init app` instead!\nvar app = new App();\nvar stack = new Stack(app, \"StackName\", new StackProps { });\n\n// Now to business!\n// Now to business!\nnew ConstructHub(stack, \"ConstructHub\", new ConstructHubProps {\n DenyList = new [] { new DenyListRule { PackageName = \"sneaky-hackery\", Reason = \"Mines bitcoins wherever it gets installed\" }, new DenyListRule { PackageName = \"bad-release\", Version = \"1.2.3\", Reason = \"CVE-####-#####\" } }\n});","version":"1"},"java":{"source":"import software.amazon.awscdk.App;\nimport software.amazon.awscdk.Stack;\nimport construct.hub.ConstructHub;\n\n// The usual... you might have used `cdk init app` instead!\nApp app = new App();\nStack stack = Stack.Builder.create(app, \"StackName\").build();\n\n// Now to business!\n// Now to business!\nConstructHub.Builder.create(stack, \"ConstructHub\")\n .denyList(List.of(DenyListRule.builder().packageName(\"sneaky-hackery\").reason(\"Mines bitcoins wherever it gets installed\").build(), DenyListRule.builder().packageName(\"bad-release\").version(\"1.2.3\").reason(\"CVE-####-#####\").build()))\n .build();","version":"1"},"go":{"source":"import \"github.com/aws/aws-cdk-go/awscdk\"\nimport \"github.com/aws-samples/dummy/constructhub\"\n\n// The usual... you might have used `cdk init app` instead!\napp := awscdk.NewApp()\nstack := awscdk.NewStack(app, jsii.String(\"StackName\"), &StackProps{\n})\n\n// Now to business!\n// Now to business!\nconstructhub.NewConstructHub(stack, jsii.String(\"ConstructHub\"), &ConstructHubProps{\n\tDenyList: []DenyListRule{\n\t\t&DenyListRule{\n\t\t\tPackageName: jsii.String(\"sneaky-hackery\"),\n\t\t\tReason: jsii.String(\"Mines bitcoins wherever it gets installed\"),\n\t\t},\n\t\t&DenyListRule{\n\t\t\tPackageName: jsii.String(\"bad-release\"),\n\t\t\tVersion: jsii.String(\"1.2.3\"),\n\t\t\tReason: jsii.String(\"CVE-####-#####\"),\n\t\t},\n\t},\n})","version":"1"},"$":{"source":"import { App, Stack } from 'aws-cdk-lib/core';\nimport { ConstructHub } from 'construct-hub';\n\n// The usual... you might have used `cdk init app` instead!\nconst app = new App();\nconst stack = new Stack(app, 'StackName', { /* ... */ });\n\n// Now to business!\nnew ConstructHub(stack, 'ConstructHub', {\n denyList: [\n // Denying _all_ versions of the \"sneaky-hackery\" package\n { packageName: 'sneaky-hackery', reason: 'Mines bitcoins wherever it gets installed' },\n // Denying _a specific_ version of the \"bad-release\" package\n { packageName: 'bad-release', version: '1.2.3', reason: 'CVE-####-#####' },\n ],\n});","version":"0"}},"location":{"api":{"api":"moduleReadme","moduleFqn":"construct-hub"},"field":{"field":"markdown","line":131}},"didCompile":true,"fqnsReferenced":["aws-cdk-lib.App","aws-cdk-lib.Stack","aws-cdk-lib.StackProps","construct-hub.ConstructHub","construct-hub.ConstructHubProps"],"fullSource":"import { App, Stack } from 'aws-cdk-lib/core';\nimport { ConstructHub } from 'construct-hub';\n\n// The usual... you might have used `cdk init app` instead!\nconst app = new App();\nconst stack = new Stack(app, 'StackName', { /* ... */ });\n\n// Now to business!\nnew ConstructHub(stack, 'ConstructHub', {\n denyList: [\n // Denying _all_ versions of the \"sneaky-hackery\" package\n { packageName: 'sneaky-hackery', reason: 'Mines bitcoins wherever it gets installed' },\n // Denying _a specific_ version of the \"bad-release\" package\n { packageName: 'bad-release', version: '1.2.3', reason: 'CVE-####-#####' },\n ],\n});","syntaxKindCounter":{"11":9,"80":16,"210":1,"211":4,"215":3,"244":2,"245":1,"261":2,"262":2,"273":2,"274":2,"276":2,"277":3,"304":6,"308":1},"fqnsFingerprint":"a5b83443af94b74c89235f72a50c473cffcafb914a25c47b29efae7a5802e768"},"4d197b3af4e5af3c177e46123bb5bc4475ca36b348d16ac0159ad83618562f7c":{"translations":{"python":{"source":"from construct_hub import DomainRedirectSource\nimport aws_cdk.aws_route53 as r53\n\n\nmy_domain_zone = r53.HostedZone.from_hosted_zone_attributes(self, \"MyDomainZone\",\n hosted_zone_id=\"AZ1234\",\n zone_name=\"my.domain.com\"\n)\n\nConstructHub(self, \"ConstructHub\",\n additional_domains=[DomainRedirectSource(hosted_zone=my_domain_zone)]\n)","version":"2"},"csharp":{"source":"using Amazon.CDK.AWS.Route53;\n\n\nvar myDomainZone = HostedZone.FromHostedZoneAttributes(this, \"MyDomainZone\", new HostedZoneAttributes {\n HostedZoneId = \"AZ1234\",\n ZoneName = \"my.domain.com\"\n});\n\nnew ConstructHub(this, \"ConstructHub\", new ConstructHubProps {\n AdditionalDomains = new [] { new DomainRedirectSource { HostedZone = myDomainZone } }\n});","version":"1"},"java":{"source":"import software.amazon.awscdk.services.route53.*;\n\n\nIHostedZone myDomainZone = HostedZone.fromHostedZoneAttributes(this, \"MyDomainZone\", HostedZoneAttributes.builder()\n .hostedZoneId(\"AZ1234\")\n .zoneName(\"my.domain.com\")\n .build());\n\nConstructHub.Builder.create(this, \"ConstructHub\")\n .additionalDomains(List.of(DomainRedirectSource.builder().hostedZone(myDomainZone).build()))\n .build();","version":"1"},"go":{"source":"import r53 \"github.com/aws/aws-cdk-go/awscdk\"\n\n\nmyDomainZone := r53.HostedZone_FromHostedZoneAttributes(this, jsii.String(\"MyDomainZone\"), &HostedZoneAttributes{\n\tHostedZoneId: jsii.String(\"AZ1234\"),\n\tZoneName: jsii.String(\"my.domain.com\"),\n})\n\nconstructhub.NewConstructHub(this, jsii.String(\"ConstructHub\"), &ConstructHubProps{\n\tAdditionalDomains: []DomainRedirectSource{\n\t\t&DomainRedirectSource{\n\t\t\tHostedZone: myDomainZone,\n\t\t},\n\t},\n})","version":"1"},"$":{"source":"import * as r53 from 'aws-cdk-lib/aws-route53';\n\nconst myDomainZone = r53.HostedZone.fromHostedZoneAttributes(this, 'MyDomainZone', {\n hostedZoneId: 'AZ1234',\n zoneName: 'my.domain.com',\n});\n\nnew ConstructHub(this, 'ConstructHub', {\n additionalDomains: [ { hostedZone: myDomainZone } ]\n});","version":"0"}},"location":{"api":{"api":"moduleReadme","moduleFqn":"construct-hub"},"field":{"field":"markdown","line":155}},"didCompile":true,"fqnsReferenced":["aws-cdk-lib.aws_route53.HostedZone","aws-cdk-lib.aws_route53.HostedZone#fromHostedZoneAttributes","aws-cdk-lib.aws_route53.HostedZoneAttributes","aws-cdk-lib.aws_route53.IHostedZone","construct-hub.ConstructHub","construct-hub.ConstructHubProps"],"fullSource":"// Hoisted imports begin after !show marker below\n/// !show\nimport * as r53 from 'aws-cdk-lib/aws-route53';\n/// !hide\n// Hoisted imports ended before !hide marker above\n// Fixture with packages imported, but nothing else\nimport { Construct } from 'constructs';\nimport { App, Stack } from 'aws-cdk-lib';\nimport * as secretsmanager from 'aws-cdk-lib/aws-secretsmanager';\nimport { ConstructHub, FilterType, PackageTagGroup, TagCondition } from 'construct-hub';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n\n // Code snippet begins after !show marker below\n/// !show\n\n\nconst myDomainZone = r53.HostedZone.fromHostedZoneAttributes(this, 'MyDomainZone', {\n hostedZoneId: 'AZ1234',\n zoneName: 'my.domain.com',\n});\n\nnew ConstructHub(this, 'ConstructHub', {\n additionalDomains: [ { hostedZone: myDomainZone } ]\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n","syntaxKindCounter":{"11":5,"80":11,"110":2,"210":1,"211":3,"212":2,"214":1,"215":1,"244":1,"245":1,"261":1,"262":1,"273":1,"274":1,"275":1,"304":4,"308":1},"fqnsFingerprint":"8cef8fb88c8cdf01993ea1413a63afbc146c7f808122d9778873edb83ed6c85f"},"22c8c6ecdc6ee4ee613ca39d5d011b92bd3f8c40360f066806c9e6ba55512b05":{"translations":{"python":{"source":"import aws_cdk.aws_codeartifact as codeartifact\nfrom aws_cdk import App, Duration, Stack\nfrom construct_hub import sources, ConstructHub\n\napp = App()\nstack = Stack(app, \"StackName\")\n\nConstructHub(stack, \"ConstructHub\",\n # ...\n package_sources=[\n # ...\n sources.NpmJs(\n enable_canary=True, # This is the default\n canary_package=\"@acme/my-constructhub-probe\",\n canary_sla=Duration.minutes(30)\n )\n ]\n)","version":"2"},"csharp":{"source":"using Amazon.CDK.AWS.CodeArtifact;\nusing Amazon.CDK;\nusing Construct.Hub.Sources;\nusing Construct.Hub;\n\nvar app = new App();\nvar stack = new Stack(app, \"StackName\", new StackProps { });\n\nnew ConstructHub(stack, \"ConstructHub\", new ConstructHubProps {\n // ...\n PackageSources = new [] {\n // ...\n new NpmJs(new NpmJsProps {\n EnableCanary = true, // This is the default\n CanaryPackage = \"@acme/my-constructhub-probe\",\n CanarySla = Duration.Minutes(30)\n }) }\n});","version":"1"},"java":{"source":"import software.amazon.awscdk.services.codeartifact.*;\nimport software.amazon.awscdk.App;\nimport software.amazon.awscdk.Duration;\nimport software.amazon.awscdk.Stack;\nimport construct.hub.sources.*;\nimport construct.hub.ConstructHub;\n\nApp app = new App();\nStack stack = Stack.Builder.create(app, \"StackName\").build();\n\nConstructHub.Builder.create(stack, \"ConstructHub\")\n // ...\n .packageSources(List.of(\n // ...\n NpmJs.Builder.create()\n .enableCanary(true) // This is the default\n .canaryPackage(\"@acme/my-constructhub-probe\")\n .canarySla(Duration.minutes(30))\n .build()))\n .build();","version":"1"},"go":{"source":"import codeartifact \"github.com/aws/aws-cdk-go/awscdk\"\nimport \"github.com/aws/aws-cdk-go/awscdk\"\nimport \"github.com/aws-samples/dummy/constructhub\"\n\napp := awscdk.NewApp()\nstack := awscdk.NewStack(app, jsii.String(\"StackName\"), &StackProps{\n})\n\nconstructhub.NewConstructHub(stack, jsii.String(\"ConstructHub\"), &ConstructHubProps{\n\t// ...\n\tPackageSources: []IPackageSource{\n\t\t// ...\n\t\t*constructhub.Sources.NewNpmJs(&NpmJsProps{\n\t\t\tEnableCanary: jsii.Boolean(true),\n\t\t\t // This is the default\n\t\t\tCanaryPackage: jsii.String(\"@acme/my-constructhub-probe\"),\n\t\t\tCanarySla: awscdk.Duration_Minutes(jsii.Number(30)),\n\t\t}),\n\t},\n})","version":"1"},"$":{"source":"import * as codeartifact from 'aws-cdk-lib/aws-codeartifact';\nimport { App, Duration, Stack } from 'aws-cdk-lib/core';\nimport { sources, ConstructHub } from 'construct-hub';\n\nconst app = new App();\nconst stack = new Stack(app, 'StackName', { /* ... */ });\n\nnew ConstructHub(stack, 'ConstructHub', {\n // ...\n packageSources: [\n // ...\n new sources.NpmJs({\n enableCanary: true, // This is the default\n canaryPackage: '@acme/my-constructhub-probe',\n canarySla: Duration.minutes(30),\n }),\n // ...\n ],\n // ...\n});","version":"0"}},"location":{"api":{"api":"moduleReadme","moduleFqn":"construct-hub"},"field":{"field":"markdown","line":228}},"didCompile":true,"fqnsReferenced":["aws-cdk-lib.App","aws-cdk-lib.Duration","aws-cdk-lib.Duration#minutes","aws-cdk-lib.Stack","aws-cdk-lib.StackProps","construct-hub.ConstructHub","construct-hub.ConstructHubProps","construct-hub.sources.NpmJs","construct-hub.sources.NpmJsProps"],"fullSource":"import * as codeartifact from 'aws-cdk-lib/aws-codeartifact';\nimport { App, Duration, Stack } from 'aws-cdk-lib/core';\nimport { sources, ConstructHub } from 'construct-hub';\n\nconst app = new App();\nconst stack = new Stack(app, 'StackName', { /* ... */ });\n\nnew ConstructHub(stack, 'ConstructHub', {\n // ...\n packageSources: [\n // ...\n new sources.NpmJs({\n enableCanary: true, // This is the default\n canaryPackage: '@acme/my-constructhub-probe',\n canarySla: Duration.minutes(30),\n }),\n // ...\n ],\n // ...\n});","syntaxKindCounter":{"9":1,"11":6,"80":21,"112":1,"210":1,"211":3,"212":2,"214":1,"215":4,"244":2,"245":1,"261":2,"262":2,"273":3,"274":3,"275":1,"276":2,"277":5,"304":4,"308":1},"fqnsFingerprint":"d08a5f74d34bdc1b3c1da5587925d87ac936b06b59d2bbc909e38e25be7a6b9b"},"e78bdd3f6618080d2d205f53de8bfbcd0ea2a0baeb0c4388572e52231545ee68":{"translations":{"python":{"source":"from construct_hub import PackageTag, Keyword, Highlight\nConstructHub(self, \"ConstructHub\",\n package_tags=[PackageTag(\n id=\"official\",\n condition=TagCondition.field(\"name\").eq(\"construct-hub\"),\n keyword=Keyword(\n label=\"Official\",\n color=\"#00FF00\"\n ),\n highlight=Highlight(\n label=\"Vended by AWS\",\n color=\"#00FF00\"\n )\n )]\n)","version":"2"},"csharp":{"source":"new ConstructHub(this, \"ConstructHub\", new ConstructHubProps {\n PackageTags = new [] { new PackageTag {\n Id = \"official\",\n Condition = TagCondition.Field(\"name\").Eq(\"construct-hub\"),\n Keyword = new Keyword {\n Label = \"Official\",\n Color = \"#00FF00\"\n },\n Highlight = new Highlight {\n Label = \"Vended by AWS\",\n Color = \"#00FF00\"\n }\n } }\n});","version":"1"},"java":{"source":"ConstructHub.Builder.create(this, \"ConstructHub\")\n .packageTags(List.of(PackageTag.builder()\n .id(\"official\")\n .condition(TagCondition.field(\"name\").eq(\"construct-hub\"))\n .keyword(Keyword.builder()\n .label(\"Official\")\n .color(\"#00FF00\")\n .build())\n .highlight(Highlight.builder()\n .label(\"Vended by AWS\")\n .color(\"#00FF00\")\n .build())\n .build()))\n .build();","version":"1"},"go":{"source":"constructhub.NewConstructHub(this, jsii.String(\"ConstructHub\"), &ConstructHubProps{\n\tPackageTags: []PackageTag{\n\t\t&PackageTag{\n\t\t\tId: jsii.String(\"official\"),\n\t\t\tCondition: *constructhub.TagCondition_Field(jsii.String(\"name\")).Eq(jsii.String(\"construct-hub\")),\n\t\t\tKeyword: &Keyword{\n\t\t\t\tLabel: jsii.String(\"Official\"),\n\t\t\t\tColor: jsii.String(\"#00FF00\"),\n\t\t\t},\n\t\t\tHighlight: &Highlight{\n\t\t\t\tLabel: jsii.String(\"Vended by AWS\"),\n\t\t\t\tColor: jsii.String(\"#00FF00\"),\n\t\t\t},\n\t\t},\n\t},\n})","version":"1"},"$":{"source":"new ConstructHub(this, \"ConstructHub\", {\n packageTags: [{\n id: 'official',\n condition: TagCondition.field('name').eq('construct-hub'),\n keyword: {\n label: 'Official',\n color: '#00FF00',\n },\n highlight: {\n label: 'Vended by AWS',\n color: '#00FF00',\n }\n }]\n});","version":"0"}},"location":{"api":{"api":"moduleReadme","moduleFqn":"construct-hub"},"field":{"field":"markdown","line":274}},"didCompile":true,"fqnsReferenced":["construct-hub.ConstructHub","construct-hub.ConstructHubProps","construct-hub.Highlight","construct-hub.Keyword","construct-hub.TagCondition","construct-hub.TagCondition#field","construct-hub.TagConditionField#eq"],"fullSource":"// Fixture with packages imported, but nothing else\nimport { Construct } from 'constructs';\nimport { App, Stack } from 'aws-cdk-lib';\nimport * as secretsmanager from 'aws-cdk-lib/aws-secretsmanager';\nimport { ConstructHub, FilterType, PackageTagGroup, TagCondition } from 'construct-hub';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n\n // Code snippet begins after !show marker below\n/// !show\nnew ConstructHub(this, \"ConstructHub\", {\n packageTags: [{\n id: 'official',\n condition: TagCondition.field('name').eq('construct-hub'),\n keyword: {\n label: 'Official',\n color: '#00FF00',\n },\n highlight: {\n label: 'Vended by AWS',\n color: '#00FF00',\n }\n }]\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n","syntaxKindCounter":{"11":8,"80":13,"110":1,"210":1,"211":4,"212":2,"214":2,"215":1,"245":1,"304":9},"fqnsFingerprint":"e3aacb0340b0745a38a928bcfd9dcbb4f718f33c281cfcc115ddf2e516c64a0e"},"dadbf82a659becce57c566dbc5c0d7a91712450bc8ce2fffad6a1ea87476741c":{"translations":{"python":{"source":"from construct_hub import PackageTag, SearchFilter, PackageTag, SearchFilter\nauthors_group = PackageTagGroup(\"authors\",\n label=\"Authors\",\n tooltip=\"Information about the authors filter\",\n filter_type=FilterType.checkbox()\n)\n\nis_aws = TagCondition.field(\"name\").eq(\"construct-hub\")\nConstructHub(self, \"ConstructHub\",\n package_tags=[PackageTag(\n id=\"AWS\",\n condition=is_aws,\n search_filter=SearchFilter(\n group=authors_group,\n display=\"AWS\"\n )\n ), PackageTag(\n id=\"Community\",\n condition=TagCondition.not(is_aws),\n search_filter=SearchFilter(\n group=authors_group,\n display=\"AWS\"\n )\n )]\n)","version":"2"},"csharp":{"source":"var authorsGroup = new PackageTagGroup(\"authors\", new PackageTagGroupProps {\n Label = \"Authors\",\n Tooltip = \"Information about the authors filter\",\n FilterType = FilterType.Checkbox()\n});\n\nvar isAws = TagCondition.Field(\"name\").Eq(\"construct-hub\");\nnew ConstructHub(this, \"ConstructHub\", new ConstructHubProps {\n PackageTags = new [] { new PackageTag {\n Id = \"AWS\",\n Condition = isAws,\n SearchFilter = new SearchFilter {\n Group = authorsGroup,\n Display = \"AWS\"\n }\n }, new PackageTag {\n Id = \"Community\",\n Condition = TagCondition.Not(isAws),\n SearchFilter = new SearchFilter {\n Group = authorsGroup,\n Display = \"AWS\"\n }\n } }\n});","version":"1"},"java":{"source":"PackageTagGroup authorsGroup = PackageTagGroup.Builder.create(\"authors\")\n .label(\"Authors\")\n .tooltip(\"Information about the authors filter\")\n .filterType(FilterType.checkbox())\n .build();\n\nTagCondition isAws = TagCondition.field(\"name\").eq(\"construct-hub\");\nConstructHub.Builder.create(this, \"ConstructHub\")\n .packageTags(List.of(PackageTag.builder()\n .id(\"AWS\")\n .condition(isAws)\n .searchFilter(SearchFilter.builder()\n .group(authorsGroup)\n .display(\"AWS\")\n .build())\n .build(), PackageTag.builder()\n .id(\"Community\")\n .condition(TagCondition.not(isAws))\n .searchFilter(SearchFilter.builder()\n .group(authorsGroup)\n .display(\"AWS\")\n .build())\n .build()))\n .build();","version":"1"},"go":{"source":"authorsGroup := constructhub.NewPackageTagGroup(jsii.String(\"authors\"), &PackageTagGroupProps{\n\tLabel: jsii.String(\"Authors\"),\n\tTooltip: jsii.String(\"Information about the authors filter\"),\n\tFilterType: *constructhub.FilterType_Checkbox(),\n})\n\nisAws := constructhub.TagCondition_Field(jsii.String(\"name\")).Eq(jsii.String(\"construct-hub\"))\nconstructhub.NewConstructHub(this, jsii.String(\"ConstructHub\"), &ConstructHubProps{\n\tPackageTags: []PackageTag{\n\t\t&PackageTag{\n\t\t\tId: jsii.String(\"AWS\"),\n\t\t\tCondition: isAws,\n\t\t\tSearchFilter: &SearchFilter{\n\t\t\t\tGroup: authorsGroup,\n\t\t\t\tDisplay: jsii.String(\"AWS\"),\n\t\t\t},\n\t\t},\n\t\t&PackageTag{\n\t\t\tId: jsii.String(\"Community\"),\n\t\t\tCondition: *constructhub.TagCondition_Not(isAws),\n\t\t\tSearchFilter: &SearchFilter{\n\t\t\t\tGroup: authorsGroup,\n\t\t\t\tDisplay: jsii.String(\"AWS\"),\n\t\t\t},\n\t\t},\n\t},\n})","version":"1"},"$":{"source":"const authorsGroup = new PackageTagGroup(\"authors\", {\n label: \"Authors\",\n tooltip: \"Information about the authors filter\",\n filterType: FilterType.checkbox(),\n});\n\nconst isAws = TagCondition.field('name').eq('construct-hub');\nnew ConstructHub(this, \"ConstructHub\", {\n packageTags: [{\n id: 'AWS',\n condition: isAws,\n searchFilter: {\n group: authorsGroup,\n display: 'AWS',\n },\n }, {\n id: 'Community',\n condition: TagCondition.not(isAws),\n searchFilter: {\n group: authorsGroup,\n display: 'AWS',\n },\n }]\n});","version":"0"}},"location":{"api":{"api":"moduleReadme","moduleFqn":"construct-hub"},"field":{"field":"markdown","line":299}},"didCompile":true,"fqnsReferenced":["construct-hub.ConstructHub","construct-hub.ConstructHubProps","construct-hub.FilterType","construct-hub.FilterType#checkbox","construct-hub.PackageTagGroup","construct-hub.PackageTagGroupProps","construct-hub.SearchFilter","construct-hub.TagCondition","construct-hub.TagCondition#field","construct-hub.TagCondition#not","construct-hub.TagConditionField#eq"],"fullSource":"// Fixture with packages imported, but nothing else\nimport { Construct } from 'constructs';\nimport { App, Stack } from 'aws-cdk-lib';\nimport * as secretsmanager from 'aws-cdk-lib/aws-secretsmanager';\nimport { ConstructHub, FilterType, PackageTagGroup, TagCondition } from 'construct-hub';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n\n // Code snippet begins after !show marker below\n/// !show\nconst authorsGroup = new PackageTagGroup(\"authors\", {\n label: \"Authors\",\n tooltip: \"Information about the authors filter\",\n filterType: FilterType.checkbox(),\n});\n\nconst isAws = TagCondition.field('name').eq('construct-hub');\nnew ConstructHub(this, \"ConstructHub\", {\n packageTags: [{\n id: 'AWS',\n condition: isAws,\n searchFilter: {\n group: authorsGroup,\n display: 'AWS',\n },\n }, {\n id: 'Community',\n condition: TagCondition.not(isAws),\n searchFilter: {\n group: authorsGroup,\n display: 'AWS',\n },\n }]\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n","syntaxKindCounter":{"11":10,"80":29,"110":1,"210":1,"211":6,"212":4,"214":4,"215":2,"244":2,"245":1,"261":2,"262":2,"304":14},"fqnsFingerprint":"fdab8c1e44cfb8cf6f2ed574eb572481ba18f4e2b9893338c97b866208a1e4a1"},"e0dd3e5b738240f26f98ed431cfb14b215241c724e0957fe0ddc33d74164d53c":{"translations":{"python":{"source":"from construct_hub import PackageTag, Keyword\nConstructHub(self, \"ConstructHub\",\n package_tags=[PackageTag(\n id=\"official\",\n keyword=Keyword(\n label=\"Official\",\n color=\"#00FF00\"\n ),\n condition=TagCondition.or(\n TagCondition.field(\"name\").eq(\"construct-hub\"),\n TagCondition.field(\"name\").eq(\"construct-hub-webapp\"))\n )]\n)","version":"2"},"csharp":{"source":"new ConstructHub(this, \"ConstructHub\", new ConstructHubProps {\n PackageTags = new [] { new PackageTag {\n Id = \"official\",\n Keyword = new Keyword {\n Label = \"Official\",\n Color = \"#00FF00\"\n },\n Condition = TagCondition.Or(TagCondition.Field(\"name\").Eq(\"construct-hub\"), TagCondition.Field(\"name\").Eq(\"construct-hub-webapp\"))\n } }\n});","version":"1"},"java":{"source":"ConstructHub.Builder.create(this, \"ConstructHub\")\n .packageTags(List.of(PackageTag.builder()\n .id(\"official\")\n .keyword(Keyword.builder()\n .label(\"Official\")\n .color(\"#00FF00\")\n .build())\n .condition(TagCondition.or(TagCondition.field(\"name\").eq(\"construct-hub\"), TagCondition.field(\"name\").eq(\"construct-hub-webapp\")))\n .build()))\n .build();","version":"1"},"go":{"source":"constructhub.NewConstructHub(this, jsii.String(\"ConstructHub\"), &ConstructHubProps{\n\tPackageTags: []PackageTag{\n\t\t&PackageTag{\n\t\t\tId: jsii.String(\"official\"),\n\t\t\tKeyword: &Keyword{\n\t\t\t\tLabel: jsii.String(\"Official\"),\n\t\t\t\tColor: jsii.String(\"#00FF00\"),\n\t\t\t},\n\t\t\tCondition: *constructhub.TagCondition_Or(*constructhub.TagCondition_Field(jsii.String(\"name\")).Eq(jsii.String(\"construct-hub\")), *constructhub.TagCondition_*Field(jsii.String(\"name\")).*Eq(jsii.String(\"construct-hub-webapp\"))),\n\t\t},\n\t},\n})","version":"1"},"$":{"source":"new ConstructHub(this, \"ConstructHub\", {\n packageTags: [{\n id: 'official',\n keyword: {\n label: 'Official',\n color: '#00FF00',\n },\n condition: TagCondition.or(\n TagCondition.field('name').eq('construct-hub'),\n TagCondition.field('name').eq('construct-hub-webapp'),\n ),\n }]\n});","version":"0"}},"location":{"api":{"api":"moduleReadme","moduleFqn":"construct-hub"},"field":{"field":"markdown","line":332}},"didCompile":true,"fqnsReferenced":["construct-hub.ConstructHub","construct-hub.ConstructHubProps","construct-hub.Keyword","construct-hub.TagCondition","construct-hub.TagCondition#field","construct-hub.TagCondition#or","construct-hub.TagConditionField#eq"],"fullSource":"// Fixture with packages imported, but nothing else\nimport { Construct } from 'constructs';\nimport { App, Stack } from 'aws-cdk-lib';\nimport * as secretsmanager from 'aws-cdk-lib/aws-secretsmanager';\nimport { ConstructHub, FilterType, PackageTagGroup, TagCondition } from 'construct-hub';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n\n // Code snippet begins after !show marker below\n/// !show\nnew ConstructHub(this, \"ConstructHub\", {\n packageTags: [{\n id: 'official',\n keyword: {\n label: 'Official',\n color: '#00FF00',\n },\n condition: TagCondition.or(\n TagCondition.field('name').eq('construct-hub'),\n TagCondition.field('name').eq('construct-hub-webapp'),\n ),\n }]\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n","syntaxKindCounter":{"11":8,"80":15,"110":1,"210":1,"211":3,"212":5,"214":5,"215":1,"245":1,"304":6},"fqnsFingerprint":"fbe7b944cc3148727d89dfaed9202bea93902d564cb1d66d51ee38eb9bb78f68"},"0daaf1c79f3c42c1959f9880414a94224a9eb7647334eb52ae9a82525ee962bd":{"translations":{"python":{"source":"TagCondition.field(\"constructHub\", \"nested\", \"key\").eq(\"value\")","version":"2"},"csharp":{"source":"TagCondition.Field(\"constructHub\", \"nested\", \"key\").Eq(\"value\");","version":"1"},"java":{"source":"TagCondition.field(\"constructHub\", \"nested\", \"key\").eq(\"value\");","version":"1"},"go":{"source":"constructhub.TagCondition_Field(jsii.String(\"constructHub\"), jsii.String(\"nested\"), jsii.String(\"key\")).Eq(jsii.String(\"value\"))","version":"1"},"$":{"source":"TagCondition.field('constructHub', 'nested', 'key').eq('value');\n\n// checks the following:\n// packageJson?.constructHub?.nested?.key === value;","version":"0"}},"location":{"api":{"api":"moduleReadme","moduleFqn":"construct-hub"},"field":{"field":"markdown","line":350}},"didCompile":true,"fqnsReferenced":["construct-hub.TagCondition#field","construct-hub.TagConditionField#eq"],"fullSource":"// Fixture with packages imported, but nothing else\nimport { Construct } from 'constructs';\nimport { App, Stack } from 'aws-cdk-lib';\nimport * as secretsmanager from 'aws-cdk-lib/aws-secretsmanager';\nimport { ConstructHub, FilterType, PackageTagGroup, TagCondition } from 'construct-hub';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n\n // Code snippet begins after !show marker below\n/// !show\nTagCondition.field('constructHub', 'nested', 'key').eq('value');\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n","syntaxKindCounter":{"11":4,"80":3,"212":2,"214":2,"245":1},"fqnsFingerprint":"2724b9ada935782c2c3724ab1c4b2c442df6184ee4b4a6a04dfc99ea9b916315"},"2f057e56e6c0d4eda33039950957b91227a96f65d279b2a4af04c2d662c9ad08":{"translations":{"python":{"source":"TagCondition.readme().includes(\"ECS\")\nTagCondition.readme().includes(\"fargate\", at_least=3, case_sensitive=False)","version":"2"},"csharp":{"source":"TagCondition.Readme().Includes(\"ECS\");\nTagCondition.Readme().Includes(\"fargate\", new TagConditionIncludesOptions { AtLeast = 3, CaseSensitive = false });","version":"1"},"java":{"source":"TagCondition.readme().includes(\"ECS\");\nTagCondition.readme().includes(\"fargate\", TagConditionIncludesOptions.builder().atLeast(3).caseSensitive(false).build());","version":"1"},"go":{"source":"constructhub.TagCondition_Readme().Includes(jsii.String(\"ECS\"))\nconstructhub.TagCondition_Readme().Includes(jsii.String(\"fargate\"), &TagConditionIncludesOptions{\n\tAtLeast: jsii.Number(3),\n\tCaseSensitive: jsii.Boolean(false),\n})","version":"1"},"$":{"source":"TagCondition.readme().includes('ECS');\nTagCondition.readme().includes('fargate', { atLeast: 3, caseSensitive: false });","version":"0"}},"location":{"api":{"api":"moduleReadme","moduleFqn":"construct-hub"},"field":{"field":"markdown","line":360}},"didCompile":true,"fqnsReferenced":["construct-hub.TagCondition#readme","construct-hub.TagConditionIncludesOptions","construct-hub.TagConditionReadme#includes"],"fullSource":"// Fixture with packages imported, but nothing else\nimport { Construct } from 'constructs';\nimport { App, Stack } from 'aws-cdk-lib';\nimport * as secretsmanager from 'aws-cdk-lib/aws-secretsmanager';\nimport { ConstructHub, FilterType, PackageTagGroup, TagCondition } from 'construct-hub';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n\n // Code snippet begins after !show marker below\n/// !show\nTagCondition.readme().includes('ECS');\nTagCondition.readme().includes('fargate', { atLeast: 3, caseSensitive: false });\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n","syntaxKindCounter":{"9":1,"11":2,"80":8,"97":1,"211":1,"212":4,"214":4,"245":2,"304":2},"fqnsFingerprint":"8a39e20c1f736f1f7df2eab53d028b6462b3b2069aa97b45d97fce44e3088e5b"},"d5eba64f81f60d90c405b4259df295944332dc664fb3b64c44d9976aa3dd3aff":{"translations":{"python":{"source":"from construct_hub import PackageLinkConfig, PackageLinkConfig\nConstructHub(self, \"ConstructHub\",\n package_links=[PackageLinkConfig(\n link_label=\"Service Level Agreement\",\n config_key=\"SLA\"\n ), PackageLinkConfig(\n link_label=\"Contact\",\n config_key=\"Contact\",\n link_text=\"Email Me!\",\n allowed_domains=[\"me.com\"]\n )]\n)","version":"2"},"csharp":{"source":"new ConstructHub(this, \"ConstructHub\", new ConstructHubProps {\n PackageLinks = new [] { new PackageLinkConfig {\n LinkLabel = \"Service Level Agreement\",\n ConfigKey = \"SLA\"\n }, new PackageLinkConfig {\n LinkLabel = \"Contact\",\n ConfigKey = \"Contact\",\n LinkText = \"Email Me!\",\n AllowedDomains = new [] { \"me.com\" }\n } }\n});","version":"1"},"java":{"source":"ConstructHub.Builder.create(this, \"ConstructHub\")\n .packageLinks(List.of(PackageLinkConfig.builder()\n .linkLabel(\"Service Level Agreement\")\n .configKey(\"SLA\")\n .build(), PackageLinkConfig.builder()\n .linkLabel(\"Contact\")\n .configKey(\"Contact\")\n .linkText(\"Email Me!\")\n .allowedDomains(List.of(\"me.com\"))\n .build()))\n .build();","version":"1"},"go":{"source":"constructhub.NewConstructHub(this, jsii.String(\"ConstructHub\"), &ConstructHubProps{\n\tPackageLinks: []PackageLinkConfig{\n\t\t&PackageLinkConfig{\n\t\t\tLinkLabel: jsii.String(\"Service Level Agreement\"),\n\t\t\tConfigKey: jsii.String(\"SLA\"),\n\t\t},\n\t\t&PackageLinkConfig{\n\t\t\tLinkLabel: jsii.String(\"Contact\"),\n\t\t\tConfigKey: jsii.String(\"Contact\"),\n\t\t\tLinkText: jsii.String(\"Email Me!\"),\n\t\t\tAllowedDomains: []*string{\n\t\t\t\tjsii.String(\"me.com\"),\n\t\t\t},\n\t\t},\n\t},\n})","version":"1"},"$":{"source":"new ConstructHub(this, \"ConstructHub\", {\n packageLinks: [{\n linkLabel: 'Service Level Agreement',\n configKey: 'SLA',\n }, {\n linkLabel: 'Contact',\n configKey: 'Contact',\n linkText: 'Email Me!',\n allowedDomains: ['me.com'],\n }]\n});","version":"0"}},"location":{"api":{"api":"moduleReadme","moduleFqn":"construct-hub"},"field":{"field":"markdown","line":372}},"didCompile":true,"fqnsReferenced":["construct-hub.ConstructHub","construct-hub.ConstructHubProps"],"fullSource":"// Fixture with packages imported, but nothing else\nimport { Construct } from 'constructs';\nimport { App, Stack } from 'aws-cdk-lib';\nimport * as secretsmanager from 'aws-cdk-lib/aws-secretsmanager';\nimport { ConstructHub, FilterType, PackageTagGroup, TagCondition } from 'construct-hub';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n\n // Code snippet begins after !show marker below\n/// !show\nnew ConstructHub(this, \"ConstructHub\", {\n packageLinks: [{\n linkLabel: 'Service Level Agreement',\n configKey: 'SLA',\n }, {\n linkLabel: 'Contact',\n configKey: 'Contact',\n linkText: 'Email Me!',\n allowedDomains: ['me.com'],\n }]\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n","syntaxKindCounter":{"11":7,"80":8,"110":1,"210":2,"211":3,"215":1,"245":1,"304":7},"fqnsFingerprint":"0c13e86a376eb5ed47032ec1c20ec9b3ecae18e60ea24669947cc7be7a36b797"},"b5216fc62f03b6fe1438a302d0375c35f0ecd730f3606dae58919ea52374ed91":{"translations":{"python":{"source":"from construct_hub import FeedConfiguration\nConstructHub(self, \"ConstructHub\",\n feed_configuration=FeedConfiguration(\n github_token_secret=secretsmanager.Secret.from_secret_complete_arn(self, \"GitHubToken\", \"<arn:aws:secretsmanager:us-east-2:11111111111:secret:releaseNotesFetcherGitHubToken-abCd1>\"),\n feed_description=\"Latest Constructs in the construct hub\",\n feed_title=\"Latest constructs\"\n )\n)","version":"2"},"csharp":{"source":"new ConstructHub(this, \"ConstructHub\", new ConstructHubProps {\n FeedConfiguration = new FeedConfiguration {\n GithubTokenSecret = Secret.FromSecretCompleteArn(this, \"GitHubToken\", \"<arn:aws:secretsmanager:us-east-2:11111111111:secret:releaseNotesFetcherGitHubToken-abCd1>\"),\n FeedDescription = \"Latest Constructs in the construct hub\",\n FeedTitle = \"Latest constructs\"\n }\n});","version":"1"},"java":{"source":"ConstructHub.Builder.create(this, \"ConstructHub\")\n .feedConfiguration(FeedConfiguration.builder()\n .githubTokenSecret(Secret.fromSecretCompleteArn(this, \"GitHubToken\", \"<arn:aws:secretsmanager:us-east-2:11111111111:secret:releaseNotesFetcherGitHubToken-abCd1>\"))\n .feedDescription(\"Latest Constructs in the construct hub\")\n .feedTitle(\"Latest constructs\")\n .build())\n .build();","version":"1"},"go":{"source":"constructhub.NewConstructHub(this, jsii.String(\"ConstructHub\"), &ConstructHubProps{\n\tFeedConfiguration: &FeedConfiguration{\n\t\tGithubTokenSecret: secretsmanager.Secret_FromSecretCompleteArn(this, jsii.String(\"GitHubToken\"), jsii.String(\"<arn:aws:secretsmanager:us-east-2:11111111111:secret:releaseNotesFetcherGitHubToken-abCd1>\")),\n\t\tFeedDescription: jsii.String(\"Latest Constructs in the construct hub\"),\n\t\tFeedTitle: jsii.String(\"Latest constructs\"),\n\t},\n})","version":"1"},"$":{"source":"new ConstructHub(this, \"ConstructHub\", {\n feedConfiguration: {\n githubTokenSecret: secretsmanager.Secret.fromSecretCompleteArn(this, 'GitHubToken', '<arn:aws:secretsmanager:us-east-2:11111111111:secret:releaseNotesFetcherGitHubToken-abCd1>'),\n feedDescription: 'Latest Constructs in the construct hub',\n feedTitle: 'Latest constructs',\n }\n }\n);","version":"0"}},"location":{"api":{"api":"moduleReadme","moduleFqn":"construct-hub"},"field":{"field":"markdown","line":409}},"didCompile":true,"fqnsReferenced":["aws-cdk-lib.aws_secretsmanager.ISecret","aws-cdk-lib.aws_secretsmanager.Secret","aws-cdk-lib.aws_secretsmanager.Secret#fromSecretCompleteArn","construct-hub.ConstructHub","construct-hub.ConstructHubProps","construct-hub.FeedConfiguration"],"fullSource":"// Fixture with packages imported, but nothing else\nimport { Construct } from 'constructs';\nimport { App, Stack } from 'aws-cdk-lib';\nimport * as secretsmanager from 'aws-cdk-lib/aws-secretsmanager';\nimport { ConstructHub, FilterType, PackageTagGroup, TagCondition } from 'construct-hub';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n\n // Code snippet begins after !show marker below\n/// !show\nnew ConstructHub(this, \"ConstructHub\", {\n feedConfiguration: {\n githubTokenSecret: secretsmanager.Secret.fromSecretCompleteArn(this, 'GitHubToken', '<arn:aws:secretsmanager:us-east-2:11111111111:secret:releaseNotesFetcherGitHubToken-abCd1>'),\n feedDescription: 'Latest Constructs in the construct hub',\n feedTitle: 'Latest constructs',\n }\n }\n);\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n","syntaxKindCounter":{"11":5,"80":8,"110":2,"211":2,"212":2,"214":1,"215":1,"245":1,"304":4},"fqnsFingerprint":"2f443929630aea62999c5fb6ad4ff6d038518c0808312b8cb884fc508dc7f87d"},"a7a46b5b6e6ba5c8ed9306cc089dcbb161c9550c9296be34309e708257f1f622":{"translations":{"python":{"source":"from construct_hub import FeaturedPackages, FeaturedPackagesSection, FeaturedPackagesSection, FeaturedPackagesDetail, FeaturedPackagesDetail, FeaturedPackagesDetail, FeaturedPackagesDetail\nConstructHub(self, \"ConstructHub\",\n featured_packages=FeaturedPackages(\n sections=[FeaturedPackagesSection(\n name=\"Recently updated\",\n show_last_updated=4\n ), FeaturedPackagesSection(\n name=\"From the AWS CDK\",\n show_packages=[FeaturedPackagesDetail(\n name=\"@aws-cdk/core\"\n ), FeaturedPackagesDetail(\n name=\"@aws-cdk/aws-s3\",\n comment=\"One of the most popular AWS CDK libraries!\"\n ), FeaturedPackagesDetail(\n name=\"@aws-cdk/aws-lambda\"\n ), FeaturedPackagesDetail(\n name=\"@aws-cdk/pipelines\",\n comment=\"The pipelines L3 construct library abstracts away many of the details of managing software deployment within AWS.\"\n )\n ]\n )\n ]\n )\n)","version":"2"},"csharp":{"source":"new ConstructHub(this, \"ConstructHub\", new ConstructHubProps {\n FeaturedPackages = new FeaturedPackages {\n Sections = new [] { new FeaturedPackagesSection {\n Name = \"Recently updated\",\n ShowLastUpdated = 4\n }, new FeaturedPackagesSection {\n Name = \"From the AWS CDK\",\n ShowPackages = new [] { new FeaturedPackagesDetail {\n Name = \"@aws-cdk/core\"\n }, new FeaturedPackagesDetail {\n Name = \"@aws-cdk/aws-s3\",\n Comment = \"One of the most popular AWS CDK libraries!\"\n }, new FeaturedPackagesDetail {\n Name = \"@aws-cdk/aws-lambda\"\n }, new FeaturedPackagesDetail {\n Name = \"@aws-cdk/pipelines\",\n Comment = \"The pipelines L3 construct library abstracts away many of the details of managing software deployment within AWS.\"\n } }\n } }\n }\n});","version":"1"},"java":{"source":"ConstructHub.Builder.create(this, \"ConstructHub\")\n .featuredPackages(FeaturedPackages.builder()\n .sections(List.of(FeaturedPackagesSection.builder()\n .name(\"Recently updated\")\n .showLastUpdated(4)\n .build(), FeaturedPackagesSection.builder()\n .name(\"From the AWS CDK\")\n .showPackages(List.of(FeaturedPackagesDetail.builder()\n .name(\"@aws-cdk/core\")\n .build(), FeaturedPackagesDetail.builder()\n .name(\"@aws-cdk/aws-s3\")\n .comment(\"One of the most popular AWS CDK libraries!\")\n .build(), FeaturedPackagesDetail.builder()\n .name(\"@aws-cdk/aws-lambda\")\n .build(), FeaturedPackagesDetail.builder()\n .name(\"@aws-cdk/pipelines\")\n .comment(\"The pipelines L3 construct library abstracts away many of the details of managing software deployment within AWS.\")\n .build()))\n .build()))\n .build())\n .build();","version":"1"},"go":{"source":"constructhub.NewConstructHub(this, jsii.String(\"ConstructHub\"), &ConstructHubProps{\n\tFeaturedPackages: &FeaturedPackages{\n\t\tSections: []FeaturedPackagesSection{\n\t\t\t&FeaturedPackagesSection{\n\t\t\t\tName: jsii.String(\"Recently updated\"),\n\t\t\t\tShowLastUpdated: jsii.Number(4),\n\t\t\t},\n\t\t\t&FeaturedPackagesSection{\n\t\t\t\tName: jsii.String(\"From the AWS CDK\"),\n\t\t\t\tShowPackages: []FeaturedPackagesDetail{\n\t\t\t\t\t&FeaturedPackagesDetail{\n\t\t\t\t\t\tName: jsii.String(\"@aws-cdk/core\"),\n\t\t\t\t\t},\n\t\t\t\t\t&FeaturedPackagesDetail{\n\t\t\t\t\t\tName: jsii.String(\"@aws-cdk/aws-s3\"),\n\t\t\t\t\t\tComment: jsii.String(\"One of the most popular AWS CDK libraries!\"),\n\t\t\t\t\t},\n\t\t\t\t\t&FeaturedPackagesDetail{\n\t\t\t\t\t\tName: jsii.String(\"@aws-cdk/aws-lambda\"),\n\t\t\t\t\t},\n\t\t\t\t\t&FeaturedPackagesDetail{\n\t\t\t\t\t\tName: jsii.String(\"@aws-cdk/pipelines\"),\n\t\t\t\t\t\tComment: jsii.String(\"The pipelines L3 construct library abstracts away many of the details of managing software deployment within AWS.\"),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t},\n\t},\n})","version":"1"},"$":{"source":"new ConstructHub(this, \"ConstructHub\", {\n featuredPackages: {\n sections: [\n {\n name: \"Recently updated\",\n showLastUpdated: 4\n },\n {\n name: \"From the AWS CDK\",\n showPackages: [\n {\n name: \"@aws-cdk/core\"\n },\n {\n name: \"@aws-cdk/aws-s3\",\n comment: \"One of the most popular AWS CDK libraries!\"\n },\n {\n name: \"@aws-cdk/aws-lambda\"\n },\n {\n name: \"@aws-cdk/pipelines\",\n comment: \"The pipelines L3 construct library abstracts away many of the details of managing software deployment within AWS.\"\n }\n ]\n }\n ]\n }\n});","version":"0"}},"location":{"api":{"api":"moduleReadme","moduleFqn":"construct-hub"},"field":{"field":"markdown","line":428}},"didCompile":true,"fqnsReferenced":["construct-hub.ConstructHub","construct-hub.ConstructHubProps","construct-hub.FeaturedPackages"],"fullSource":"// Fixture with packages imported, but nothing else\nimport { Construct } from 'constructs';\nimport { App, Stack } from 'aws-cdk-lib';\nimport * as secretsmanager from 'aws-cdk-lib/aws-secretsmanager';\nimport { ConstructHub, FilterType, PackageTagGroup, TagCondition } from 'construct-hub';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n\n // Code snippet begins after !show marker below\n/// !show\nnew ConstructHub(this, \"ConstructHub\", {\n featuredPackages: {\n sections: [\n {\n name: \"Recently updated\",\n showLastUpdated: 4\n },\n {\n name: \"From the AWS CDK\",\n showPackages: [\n {\n name: \"@aws-cdk/core\"\n },\n {\n name: \"@aws-cdk/aws-s3\",\n comment: \"One of the most popular AWS CDK libraries!\"\n },\n {\n name: \"@aws-cdk/aws-lambda\"\n },\n {\n name: \"@aws-cdk/pipelines\",\n comment: \"The pipelines L3 construct library abstracts away many of the details of managing software deployment within AWS.\"\n }\n ]\n }\n ]\n }\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n","syntaxKindCounter":{"9":1,"11":9,"80":13,"110":1,"210":2,"211":8,"215":1,"245":1,"304":12},"fqnsFingerprint":"d24fe5ba3ddd13cf396670efba3befa6387d0acdf7ee85b1f0a4f1844403fbc7"},"8ff5b711c8eaa11aeba183a5910aafb33b9250d444225e98bbf647f0f6ba12bf":{"translations":{"python":{"source":"from construct_hub import Category, Category, Category\nConstructHub(self, \"ConstructHub\",\n categories=[Category(title=\"Databases\", url=\"?keywords=databases\"), Category(title=\"Monitoring\", url=\"?q=monitoring\"), Category(title=\"Partners\", url=\"?tags=aws-partner\")\n ]\n)","version":"2"},"csharp":{"source":"new ConstructHub(this, \"ConstructHub\", new ConstructHubProps {\n Categories = new [] { new Category { Title = \"Databases\", Url = \"?keywords=databases\" }, new Category { Title = \"Monitoring\", Url = \"?q=monitoring\" }, new Category { Title = \"Partners\", Url = \"?tags=aws-partner\" } }\n});","version":"1"},"java":{"source":"ConstructHub.Builder.create(this, \"ConstructHub\")\n .categories(List.of(Category.builder().title(\"Databases\").url(\"?keywords=databases\").build(), Category.builder().title(\"Monitoring\").url(\"?q=monitoring\").build(), Category.builder().title(\"Partners\").url(\"?tags=aws-partner\").build()))\n .build();","version":"1"},"go":{"source":"constructhub.NewConstructHub(this, jsii.String(\"ConstructHub\"), &ConstructHubProps{\n\tCategories: []Category{\n\t\t&Category{\n\t\t\tTitle: jsii.String(\"Databases\"),\n\t\t\tUrl: jsii.String(\"?keywords=databases\"),\n\t\t},\n\t\t&Category{\n\t\t\tTitle: jsii.String(\"Monitoring\"),\n\t\t\tUrl: jsii.String(\"?q=monitoring\"),\n\t\t},\n\t\t&Category{\n\t\t\tTitle: jsii.String(\"Partners\"),\n\t\t\tUrl: jsii.String(\"?tags=aws-partner\"),\n\t\t},\n\t},\n})","version":"1"},"$":{"source":"new ConstructHub(this, \"ConstructHub\", {\n categories: [\n { title: 'Databases', url: '?keywords=databases' },\n { title: 'Monitoring', url: '?q=monitoring' },\n { title: 'Partners', url: '?tags=aws-partner' }\n ]\n});","version":"0"}},"location":{"api":{"api":"moduleReadme","moduleFqn":"construct-hub"},"field":{"field":"markdown","line":470}},"didCompile":true,"fqnsReferenced":["construct-hub.ConstructHub","construct-hub.ConstructHubProps"],"fullSource":"// Fixture with packages imported, but nothing else\nimport { Construct } from 'constructs';\nimport { App, Stack } from 'aws-cdk-lib';\nimport * as secretsmanager from 'aws-cdk-lib/aws-secretsmanager';\nimport { ConstructHub, FilterType, PackageTagGroup, TagCondition } from 'construct-hub';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n\n // Code snippet begins after !show marker below\n/// !show\nnew ConstructHub(this, \"ConstructHub\", {\n categories: [\n { title: 'Databases', url: '?keywords=databases' },\n { title: 'Monitoring', url: '?q=monitoring' },\n { title: 'Partners', url: '?tags=aws-partner' }\n ]\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n","syntaxKindCounter":{"11":7,"80":8,"110":1,"210":1,"211":4,"215":1,"245":1,"304":7},"fqnsFingerprint":"0c13e86a376eb5ed47032ec1c20ec9b3ecae18e60ea24669947cc7be7a36b797"},"0f173c6f76b309b8557e11b2b4e79907d6a33296089148537b0627a64e4c3dcf":{"translations":{"python":{"source":"\"/search?keywords=monitoring\"","version":"2"},"csharp":{"source":"\"/search?keywords=monitoring\";","version":"1"},"java":{"source":"\"/search?keywords=monitoring\";","version":"1"},"go":{"source":"\"/search?keywords=monitoring\"","version":"1"},"$":{"source":"\"/search?keywords=monitoring\"","version":"0"}},"location":{"api":{"api":"member","fqn":"construct-hub.Category","memberName":"url"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":[],"fullSource":"// Fixture with packages imported, but nothing else\nimport { Construct } from 'constructs';\nimport { App, Stack } from 'aws-cdk-lib';\nimport * as secretsmanager from 'aws-cdk-lib/aws-secretsmanager';\nimport { ConstructHub, FilterType, PackageTagGroup, TagCondition } from 'construct-hub';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n\n // Code snippet begins after !show marker below\n/// !show\n\"/search?keywords=monitoring\"\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n","syntaxKindCounter":{"11":1,"245":1},"fqnsFingerprint":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"}}}
package/API.md CHANGED
@@ -521,6 +521,56 @@ This must be an ARN that can be used with CloudWatch alarms.
521
521
 
522
522
  ---
523
523
 
524
+ ### AlarmOverride <a name="AlarmOverride" id="construct-hub.AlarmOverride"></a>
525
+
526
+ An override for a specific alarm.
527
+
528
+ #### Initializer <a name="Initializer" id="construct-hub.AlarmOverride.Initializer"></a>
529
+
530
+ ```typescript
531
+ import { AlarmOverride } from 'construct-hub'
532
+
533
+ const alarmOverride: AlarmOverride = { ... }
534
+ ```
535
+
536
+ #### Properties <a name="Properties" id="Properties"></a>
537
+
538
+ | **Name** | **Type** | **Description** |
539
+ | --- | --- | --- |
540
+ | <code><a href="#construct-hub.AlarmOverride.property.actions">actions</a></code> | <code>aws-cdk-lib.aws_cloudwatch.IAlarmAction[]</code> | Wire these actions onto the alarm in place of the severity bucket's action. |
541
+ | <code><a href="#construct-hub.AlarmOverride.property.severity">severity</a></code> | <code><a href="#construct-hub.AlarmSeverity">AlarmSeverity</a></code> | Wire this alarm to a different severity bucket's action. |
542
+
543
+ ---
544
+
545
+ ##### `actions`<sup>Optional</sup> <a name="actions" id="construct-hub.AlarmOverride.property.actions"></a>
546
+
547
+ ```typescript
548
+ public readonly actions: IAlarmAction[];
549
+ ```
550
+
551
+ - *Type:* aws-cdk-lib.aws_cloudwatch.IAlarmAction[]
552
+ - *Default:* the severity bucket's action
553
+
554
+ Wire these actions onto the alarm in place of the severity bucket's action.
555
+
556
+ An empty array falls back to the bucket action — it does NOT mute the
557
+ alarm. To silence an alarm intentionally, supply a no-op action.
558
+
559
+ ---
560
+
561
+ ##### `severity`<sup>Optional</sup> <a name="severity" id="construct-hub.AlarmOverride.property.severity"></a>
562
+
563
+ ```typescript
564
+ public readonly severity: AlarmSeverity;
565
+ ```
566
+
567
+ - *Type:* <a href="#construct-hub.AlarmSeverity">AlarmSeverity</a>
568
+ - *Default:* the severity hardcoded by the alarm's author
569
+
570
+ Wire this alarm to a different severity bucket's action.
571
+
572
+ ---
573
+
524
574
  ### AlarmSeverities <a name="AlarmSeverities" id="construct-hub.AlarmSeverities"></a>
525
575
 
526
576
  Configure severities for various alarms.
@@ -728,6 +778,7 @@ const constructHubProps: ConstructHubProps = { ... }
728
778
  | --- | --- | --- |
729
779
  | <code><a href="#construct-hub.ConstructHubProps.property.additionalDomains">additionalDomains</a></code> | <code><a href="#construct-hub.DomainRedirectSource">DomainRedirectSource</a>[]</code> | Additional domains which will be set up to redirect to the primary construct hub domain. |
730
780
  | <code><a href="#construct-hub.ConstructHubProps.property.alarmActions">alarmActions</a></code> | <code><a href="#construct-hub.AlarmActions">AlarmActions</a></code> | Actions to perform when alarms are set. |
781
+ | <code><a href="#construct-hub.ConstructHubProps.property.alarmOverrides">alarmOverrides</a></code> | <code>{[ key: string ]: <a href="#construct-hub.AlarmOverride">AlarmOverride</a>}</code> | Per-alarm overrides keyed by the alarm's CloudWatch display name relative to the `ConstructHub` construct — i.e. the same string a customer sees in tickets and the CloudWatch console (e.g. 'Sources/NpmJs/Canary/NotRunningOrFailing'). |
731
782
  | <code><a href="#construct-hub.ConstructHubProps.property.alarmSeverities">alarmSeverities</a></code> | <code><a href="#construct-hub.AlarmSeverities">AlarmSeverities</a></code> | Configure the severities of various alarms. |
732
783
  | <code><a href="#construct-hub.ConstructHubProps.property.allowedLicenses">allowedLicenses</a></code> | <code><a href="#construct-hub.SpdxLicense">SpdxLicense</a>[]</code> | The allowed licenses for packages indexed by this instance of ConstructHub. |
733
784
  | <code><a href="#construct-hub.ConstructHubProps.property.appRegistryApplication">appRegistryApplication</a></code> | <code>boolean</code> | Create an AppRegistry application associated with the stack containing this construct. |
@@ -779,6 +830,24 @@ Actions to perform when alarms are set.
779
830
 
780
831
  ---
781
832
 
833
+ ##### `alarmOverrides`<sup>Optional</sup> <a name="alarmOverrides" id="construct-hub.ConstructHubProps.property.alarmOverrides"></a>
834
+
835
+ ```typescript
836
+ public readonly alarmOverrides: {[ key: string ]: AlarmOverride};
837
+ ```
838
+
839
+ - *Type:* {[ key: string ]: <a href="#construct-hub.AlarmOverride">AlarmOverride</a>}
840
+
841
+ Per-alarm overrides keyed by the alarm's CloudWatch display name relative to the `ConstructHub` construct — i.e. the same string a customer sees in tickets and the CloudWatch console (e.g. 'Sources/NpmJs/Canary/NotRunningOrFailing').
842
+
843
+ For each entry, set `severity` (`AlarmSeverity.HIGH` / `MEDIUM` / `LOW`)
844
+ to wire the alarm to a different bucket's action, `actions` to supply
845
+ custom actions that bypass the buckets, or both.
846
+
847
+ Unknown keys are surfaced as synth-time validation errors.
848
+
849
+ ---
850
+
782
851
  ##### `alarmSeverities`<sup>Optional</sup> <a name="alarmSeverities" id="construct-hub.ConstructHubProps.property.alarmSeverities"></a>
783
852
 
784
853
  ```typescript
package/lib/api.d.ts CHANGED
@@ -49,6 +49,26 @@ export interface AlarmSeverities {
49
49
  */
50
50
  readonly packageCanarySLABreached?: AlarmSeverity;
51
51
  }
52
+ /**
53
+ * An override for a specific alarm.
54
+ */
55
+ export interface AlarmOverride {
56
+ /**
57
+ * Wire this alarm to a different severity bucket's action.
58
+ *
59
+ * @default - the severity hardcoded by the alarm's author
60
+ */
61
+ readonly severity?: AlarmSeverity;
62
+ /**
63
+ * Wire these actions onto the alarm in place of the severity bucket's action.
64
+ *
65
+ * An empty array falls back to the bucket action — it does NOT mute the
66
+ * alarm. To silence an alarm intentionally, supply a no-op action.
67
+ *
68
+ * @default - the severity bucket's action
69
+ */
70
+ readonly actions?: IAlarmAction[];
71
+ }
52
72
  /**
53
73
  * CloudWatch alarm actions to perform.
54
74
  */
package/lib/api.js CHANGED
@@ -27,4 +27,4 @@ var AlarmSeverity;
27
27
  AlarmSeverity[AlarmSeverity["MEDIUM"] = 1] = "MEDIUM";
28
28
  AlarmSeverity[AlarmSeverity["LOW"] = 2] = "LOW";
29
29
  })(Alar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