construct-hub 0.4.412 → 0.4.413
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 +102 -10
- package/.jsii.tabl.json +1 -1
- package/API.md +79 -0
- package/lib/api.d.ts +15 -0
- package/lib/api.js +1 -1
- package/lib/construct-hub.d.ts +7 -0
- package/lib/construct-hub.js +13 -3
- package/lib/monitoring/api.d.ts +8 -0
- package/lib/monitoring/api.js +1 -1
- package/lib/monitoring/index.d.ts +3 -0
- package/lib/monitoring/index.js +18 -1
- package/lib/package-sources/code-artifact.js +1 -1
- package/lib/package-sources/npmjs/npm-js-follower.lambda.bundle/index.js +10 -3
- package/lib/package-sources/npmjs/npm-js-follower.lambda.bundle/index.js.map +2 -2
- package/lib/package-sources/npmjs/npm-js-follower.lambda.js +6 -2
- package/lib/package-sources/npmjs.js +1 -1
- package/lib/package-tag/index.js +3 -3
- package/lib/package-tag-group/index.js +2 -2
- package/lib/preload-file/index.js +1 -1
- package/lib/s3/storage.js +1 -1
- package/lib/spdx-license.js +1 -1
- package/package.json +1 -1
package/.jsii
CHANGED
@@ -4106,6 +4106,44 @@
|
|
4106
4106
|
"fqn": "aws-cdk-lib.aws_cloudwatch.IAlarmAction"
|
4107
4107
|
}
|
4108
4108
|
},
|
4109
|
+
{
|
4110
|
+
"abstract": true,
|
4111
|
+
"docs": {
|
4112
|
+
"remarks": "This must be an ARN that can be used with CloudWatch alarms.",
|
4113
|
+
"see": "https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/AlarmThatSendsEmail.html#alarms-and-actions",
|
4114
|
+
"stability": "experimental",
|
4115
|
+
"summary": "The ARN of the CloudWatch alarm action to take for alarms of medium-severity alarms."
|
4116
|
+
},
|
4117
|
+
"immutable": true,
|
4118
|
+
"locationInModule": {
|
4119
|
+
"filename": "src/api.ts",
|
4120
|
+
"line": 67
|
4121
|
+
},
|
4122
|
+
"name": "mediumSeverity",
|
4123
|
+
"optional": true,
|
4124
|
+
"type": {
|
4125
|
+
"primitive": "string"
|
4126
|
+
}
|
4127
|
+
},
|
4128
|
+
{
|
4129
|
+
"abstract": true,
|
4130
|
+
"docs": {
|
4131
|
+
"remarks": "This must be an ARN that can be used with CloudWatch alarms.",
|
4132
|
+
"see": "https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/AlarmThatSendsEmail.html#alarms-and-actions",
|
4133
|
+
"stability": "experimental",
|
4134
|
+
"summary": "The CloudWatch alarm action to take for alarms of medium-severity alarms."
|
4135
|
+
},
|
4136
|
+
"immutable": true,
|
4137
|
+
"locationInModule": {
|
4138
|
+
"filename": "src/api.ts",
|
4139
|
+
"line": 75
|
4140
|
+
},
|
4141
|
+
"name": "mediumSeverityAction",
|
4142
|
+
"optional": true,
|
4143
|
+
"type": {
|
4144
|
+
"fqn": "aws-cdk-lib.aws_cloudwatch.IAlarmAction"
|
4145
|
+
}
|
4146
|
+
},
|
4109
4147
|
{
|
4110
4148
|
"abstract": true,
|
4111
4149
|
"docs": {
|
@@ -4118,7 +4156,7 @@
|
|
4118
4156
|
"immutable": true,
|
4119
4157
|
"locationInModule": {
|
4120
4158
|
"filename": "src/api.ts",
|
4121
|
-
"line":
|
4159
|
+
"line": 86
|
4122
4160
|
},
|
4123
4161
|
"name": "normalSeverity",
|
4124
4162
|
"optional": true,
|
@@ -4138,7 +4176,7 @@
|
|
4138
4176
|
"immutable": true,
|
4139
4177
|
"locationInModule": {
|
4140
4178
|
"filename": "src/api.ts",
|
4141
|
-
"line":
|
4179
|
+
"line": 96
|
4142
4180
|
},
|
4143
4181
|
"name": "normalSeverityAction",
|
4144
4182
|
"optional": true,
|
@@ -4313,7 +4351,7 @@
|
|
4313
4351
|
"immutable": true,
|
4314
4352
|
"locationInModule": {
|
4315
4353
|
"filename": "src/construct-hub.ts",
|
4316
|
-
"line":
|
4354
|
+
"line": 585
|
4317
4355
|
},
|
4318
4356
|
"name": "allAlarms",
|
4319
4357
|
"type": {
|
@@ -4333,7 +4371,7 @@
|
|
4333
4371
|
"immutable": true,
|
4334
4372
|
"locationInModule": {
|
4335
4373
|
"filename": "src/construct-hub.ts",
|
4336
|
-
"line":
|
4374
|
+
"line": 589
|
4337
4375
|
},
|
4338
4376
|
"name": "grantPrincipal",
|
4339
4377
|
"overrides": "aws-cdk-lib.aws_iam.IGrantable",
|
@@ -4369,7 +4407,7 @@
|
|
4369
4407
|
"immutable": true,
|
4370
4408
|
"locationInModule": {
|
4371
4409
|
"filename": "src/construct-hub.ts",
|
4372
|
-
"line":
|
4410
|
+
"line": 593
|
4373
4411
|
},
|
4374
4412
|
"name": "ingestionQueue",
|
4375
4413
|
"type": {
|
@@ -4385,7 +4423,7 @@
|
|
4385
4423
|
"immutable": true,
|
4386
4424
|
"locationInModule": {
|
4387
4425
|
"filename": "src/construct-hub.ts",
|
4388
|
-
"line":
|
4426
|
+
"line": 577
|
4389
4427
|
},
|
4390
4428
|
"name": "lowSeverityAlarms",
|
4391
4429
|
"type": {
|
@@ -4397,6 +4435,27 @@
|
|
4397
4435
|
}
|
4398
4436
|
}
|
4399
4437
|
},
|
4438
|
+
{
|
4439
|
+
"docs": {
|
4440
|
+
"remarks": "These do not necessitate immediate attention, as they do not have direct\ncustomer-visible impact, or handling is not time-sensitive. They indicate\nthat something unusual (not necessarily bad) is happening.",
|
4441
|
+
"stability": "experimental",
|
4442
|
+
"summary": "Returns a list of all low-severity alarms from this ConstructHub instance."
|
4443
|
+
},
|
4444
|
+
"immutable": true,
|
4445
|
+
"locationInModule": {
|
4446
|
+
"filename": "src/construct-hub.ts",
|
4447
|
+
"line": 566
|
4448
|
+
},
|
4449
|
+
"name": "mediumSeverityAlarms",
|
4450
|
+
"type": {
|
4451
|
+
"collection": {
|
4452
|
+
"elementtype": {
|
4453
|
+
"fqn": "aws-cdk-lib.aws_cloudwatch.IAlarm"
|
4454
|
+
},
|
4455
|
+
"kind": "array"
|
4456
|
+
}
|
4457
|
+
}
|
4458
|
+
},
|
4400
4459
|
{
|
4401
4460
|
"docs": {
|
4402
4461
|
"stability": "experimental",
|
@@ -5679,7 +5738,7 @@
|
|
5679
5738
|
},
|
5680
5739
|
"locationInModule": {
|
5681
5740
|
"filename": "src/monitoring/api.ts",
|
5682
|
-
"line":
|
5741
|
+
"line": 33
|
5683
5742
|
},
|
5684
5743
|
"name": "addLowSeverityAlarm",
|
5685
5744
|
"parameters": [
|
@@ -5702,6 +5761,39 @@
|
|
5702
5761
|
}
|
5703
5762
|
}
|
5704
5763
|
]
|
5764
|
+
},
|
5765
|
+
{
|
5766
|
+
"abstract": true,
|
5767
|
+
"docs": {
|
5768
|
+
"remarks": "If this alarm goes off, the action specified in\n`mediumSeverityAlarmAction` is triggered.",
|
5769
|
+
"stability": "experimental",
|
5770
|
+
"summary": "Adds a medium-severity alarm."
|
5771
|
+
},
|
5772
|
+
"locationInModule": {
|
5773
|
+
"filename": "src/monitoring/api.ts",
|
5774
|
+
"line": 24
|
5775
|
+
},
|
5776
|
+
"name": "addMediumSeverityAlarm",
|
5777
|
+
"parameters": [
|
5778
|
+
{
|
5779
|
+
"docs": {
|
5780
|
+
"summary": "a user-friendly title for the alarm (not currently used)."
|
5781
|
+
},
|
5782
|
+
"name": "title",
|
5783
|
+
"type": {
|
5784
|
+
"primitive": "string"
|
5785
|
+
}
|
5786
|
+
},
|
5787
|
+
{
|
5788
|
+
"docs": {
|
5789
|
+
"summary": "the alarm to be added."
|
5790
|
+
},
|
5791
|
+
"name": "alarm",
|
5792
|
+
"type": {
|
5793
|
+
"fqn": "aws-cdk-lib.aws_cloudwatch.AlarmBase"
|
5794
|
+
}
|
5795
|
+
}
|
5796
|
+
]
|
5705
5797
|
}
|
5706
5798
|
],
|
5707
5799
|
"name": "IMonitoring",
|
@@ -5902,7 +5994,7 @@
|
|
5902
5994
|
"kind": "enum",
|
5903
5995
|
"locationInModule": {
|
5904
5996
|
"filename": "src/construct-hub.ts",
|
5905
|
-
"line":
|
5997
|
+
"line": 730
|
5906
5998
|
},
|
5907
5999
|
"members": [
|
5908
6000
|
{
|
@@ -21212,6 +21304,6 @@
|
|
21212
21304
|
"symbolId": "src/package-sources/npmjs:NpmJsProps"
|
21213
21305
|
}
|
21214
21306
|
},
|
21215
|
-
"version": "0.4.
|
21216
|
-
"fingerprint": "
|
21307
|
+
"version": "0.4.413",
|
21308
|
+
"fingerprint": "YzPBRynUJc7Q6pKweloZF+oB+FX8mHtKfbaLtAL8xko="
|
21217
21309
|
}
|
package/.jsii.tabl.json
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":"2","toolVersion":"5.8.10","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,"210":1,"214":3,"243":2,"244":1,"260":2,"261":2,"272":2,"273":2,"275":2,"276":3,"307":1},"fqnsFingerprint":"140de4219087b35c5b252ee3e94f05d2b54398ef55dccba8d2c7b9c9ef254420"},"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,"209":1,"210":4,"211":3,"214":6,"243":3,"244":1,"260":3,"261":3,"272":3,"273":3,"274":1,"275":2,"276":4,"303":3,"304":1,"307":1},"fqnsFingerprint":"04e88435145a775a254bd50a14d48ead9783a5342929b3f74d4656ce8cd7b93e"},"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,"209":1,"210":4,"214":3,"243":2,"244":1,"260":2,"261":2,"272":2,"273":2,"275":2,"276":3,"303":6,"307":1},"fqnsFingerprint":"6cc2564261ff8059b2412288df102a0bf5a572119ce5ad7f56381dff95b8294b"},"4d197b3af4e5af3c177e46123bb5bc4475ca36b348d16ac0159ad83618562f7c":{"translations":{"python":{"source":"import 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,"209":1,"210":3,"211":2,"213":1,"214":1,"243":1,"244":1,"260":1,"261":1,"272":1,"273":1,"274":1,"303":4,"307":1},"fqnsFingerprint":"446bb465f628ec3b3fea914924c84c5cdaef4fe5460054129b181650308d8de0"},"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,"209":1,"210":3,"211":2,"213":1,"214":4,"243":2,"244":1,"260":2,"261":2,"272":3,"273":3,"274":1,"275":2,"276":5,"303":4,"307":1},"fqnsFingerprint":"ccc7a64f281a2e89ac70dd3f65c5002f0e66aa25cbdc0d269ec954a50fd73a78"},"e78bdd3f6618080d2d205f53de8bfbcd0ea2a0baeb0c4388572e52231545ee68":{"translations":{"python":{"source":"ConstructHub(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,"209":1,"210":4,"211":2,"213":2,"214":1,"244":1,"303":9},"fqnsFingerprint":"178d0a6c4a04bdbab8c179f318cf33015f2d29e59df5670b93ca908813c18c02"},"dadbf82a659becce57c566dbc5c0d7a91712450bc8ce2fffad6a1ea87476741c":{"translations":{"python":{"source":"authors_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,"209":1,"210":6,"211":4,"213":4,"214":2,"243":2,"244":1,"260":2,"261":2,"303":14},"fqnsFingerprint":"047828d8aa0dc078254ae18b200a2c65a6f492a6365416dbac846c9b8f43f1e2"},"e0dd3e5b738240f26f98ed431cfb14b215241c724e0957fe0ddc33d74164d53c":{"translations":{"python":{"source":"ConstructHub(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,"209":1,"210":3,"211":5,"213":5,"214":1,"244":1,"303":6},"fqnsFingerprint":"51b70d57041d2fb35ad96d68f79c1ee37d39f85890d0b4e646dfd46f874efdc2"},"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,"211":2,"213":2,"244":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,"210":1,"211":4,"213":4,"244":2,"303":2},"fqnsFingerprint":"8a39e20c1f736f1f7df2eab53d028b6462b3b2069aa97b45d97fce44e3088e5b"},"d5eba64f81f60d90c405b4259df295944332dc664fb3b64c44d9976aa3dd3aff":{"translations":{"python":{"source":"ConstructHub(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,"209":2,"210":3,"214":1,"244":1,"303":7},"fqnsFingerprint":"8b1ba2ce7bf7ed53a0986c765fe90ea87cf3f7b720f445f73bf31e004331f59e"},"b5216fc62f03b6fe1438a302d0375c35f0ecd730f3606dae58919ea52374ed91":{"translations":{"python":{"source":"ConstructHub(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,"210":2,"211":2,"213":1,"214":1,"244":1,"303":4},"fqnsFingerprint":"6b3a76b0e366918193f1c67edb3e88efc88a34db7d30e68df97185ebc0a34831"},"a7a46b5b6e6ba5c8ed9306cc089dcbb161c9550c9296be34309e708257f1f622":{"translations":{"python":{"source":"ConstructHub(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,"209":2,"210":8,"214":1,"244":1,"303":12},"fqnsFingerprint":"1c7ba78e8881237a95a10922c7c35d3c005e9edaf5b4cc6896f4d1d6ed67fe8a"},"8ff5b711c8eaa11aeba183a5910aafb33b9250d444225e98bbf647f0f6ba12bf":{"translations":{"python":{"source":"ConstructHub(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,"209":1,"210":4,"214":1,"244":1,"303":7},"fqnsFingerprint":"8b1ba2ce7bf7ed53a0986c765fe90ea87cf3f7b720f445f73bf31e004331f59e"},"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,"244":1},"fqnsFingerprint":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"}}}
|
1
|
+
{"version":"2","toolVersion":"5.8.10","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,"210":1,"214":3,"243":2,"244":1,"260":2,"261":2,"272":2,"273":2,"275":2,"276":3,"307":1},"fqnsFingerprint":"2f9fe98f7bc1d238e085919ac1296d71386f48c668983f5916264c4d270eaee0"},"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,"209":1,"210":4,"211":3,"214":6,"243":3,"244":1,"260":3,"261":3,"272":3,"273":3,"274":1,"275":2,"276":4,"303":3,"304":1,"307":1},"fqnsFingerprint":"2247ec310d98239c26b91e5af4fb52af34bb21d9702a60e9ce6bff0f2992e604"},"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,"209":1,"210":4,"214":3,"243":2,"244":1,"260":2,"261":2,"272":2,"273":2,"275":2,"276":3,"303":6,"307":1},"fqnsFingerprint":"3c2273b1107170c14b31f0d11eef995a18339115a7995260d3af3dbf009e3e99"},"4d197b3af4e5af3c177e46123bb5bc4475ca36b348d16ac0159ad83618562f7c":{"translations":{"python":{"source":"import 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,"209":1,"210":3,"211":2,"213":1,"214":1,"243":1,"244":1,"260":1,"261":1,"272":1,"273":1,"274":1,"303":4,"307":1},"fqnsFingerprint":"a500b372a28b100a51718f0534d294822966aff658033038d0991b025f4791b2"},"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,"209":1,"210":3,"211":2,"213":1,"214":4,"243":2,"244":1,"260":2,"261":2,"272":3,"273":3,"274":1,"275":2,"276":5,"303":4,"307":1},"fqnsFingerprint":"65bdb21aceb6b7cbc8fc9e9a4289adc80d846008ea77a0e7a24f4fcfe53f13c7"},"e78bdd3f6618080d2d205f53de8bfbcd0ea2a0baeb0c4388572e52231545ee68":{"translations":{"python":{"source":"ConstructHub(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,"209":1,"210":4,"211":2,"213":2,"214":1,"244":1,"303":9},"fqnsFingerprint":"f792b5a2f4561cca026b9846b8d8e35de9ff599e5a17d25ab9a82413b9936814"},"dadbf82a659becce57c566dbc5c0d7a91712450bc8ce2fffad6a1ea87476741c":{"translations":{"python":{"source":"authors_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,"209":1,"210":6,"211":4,"213":4,"214":2,"243":2,"244":1,"260":2,"261":2,"303":14},"fqnsFingerprint":"477a807d9866e7334a90fd7557e572bc162ed425dfa06c47fb5055c7c2fad6e8"},"e0dd3e5b738240f26f98ed431cfb14b215241c724e0957fe0ddc33d74164d53c":{"translations":{"python":{"source":"ConstructHub(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,"209":1,"210":3,"211":5,"213":5,"214":1,"244":1,"303":6},"fqnsFingerprint":"3a7f4e6a7448fc208674d6538a94ba3a94f00932396dca7fce0acc0105694426"},"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,"211":2,"213":2,"244":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,"210":1,"211":4,"213":4,"244":2,"303":2},"fqnsFingerprint":"8a39e20c1f736f1f7df2eab53d028b6462b3b2069aa97b45d97fce44e3088e5b"},"d5eba64f81f60d90c405b4259df295944332dc664fb3b64c44d9976aa3dd3aff":{"translations":{"python":{"source":"ConstructHub(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,"209":2,"210":3,"214":1,"244":1,"303":7},"fqnsFingerprint":"49041513eead52d733da66375168be7767ab29d8189613f4e93a36650ff9bc3b"},"b5216fc62f03b6fe1438a302d0375c35f0ecd730f3606dae58919ea52374ed91":{"translations":{"python":{"source":"ConstructHub(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,"210":2,"211":2,"213":1,"214":1,"244":1,"303":4},"fqnsFingerprint":"e5355eb61b2582ef8c2e1a8bb3ca6db38f1f00112e6fd4f5538373b741c749a9"},"a7a46b5b6e6ba5c8ed9306cc089dcbb161c9550c9296be34309e708257f1f622":{"translations":{"python":{"source":"ConstructHub(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,"209":2,"210":8,"214":1,"244":1,"303":12},"fqnsFingerprint":"fc6c1b008c9e8723792216a70ca74f4a9c547eaf36358946c2ba08fb0c8ecc65"},"8ff5b711c8eaa11aeba183a5910aafb33b9250d444225e98bbf647f0f6ba12bf":{"translations":{"python":{"source":"ConstructHub(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,"209":1,"210":4,"214":1,"244":1,"303":7},"fqnsFingerprint":"49041513eead52d733da66375168be7767ab29d8189613f4e93a36650ff9bc3b"},"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,"244":1},"fqnsFingerprint":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"}}}
|