@cdklabs/cdk-appmod-catalog-blueprints 1.7.0 → 1.8.0

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.
Files changed (38) hide show
  1. package/.jsii +263 -42
  2. package/lib/document-processing/adapter/queued-s3-adapter.js +1 -1
  3. package/lib/document-processing/agentic-document-processing.js +1 -1
  4. package/lib/document-processing/base-document-processing.js +1 -1
  5. package/lib/document-processing/bedrock-document-processing.js +1 -1
  6. package/lib/document-processing/default-document-processing-config.js +1 -1
  7. package/lib/framework/agents/base-agent.d.ts +82 -5
  8. package/lib/framework/agents/base-agent.js +108 -2
  9. package/lib/framework/agents/batch-agent.js +27 -4
  10. package/lib/framework/agents/default-agent-config.js +1 -1
  11. package/lib/framework/agents/knowledge-base/base-knowledge-base.d.ts +11 -0
  12. package/lib/framework/agents/knowledge-base/base-knowledge-base.js +14 -2
  13. package/lib/framework/agents/knowledge-base/bedrock-knowledge-base.js +1 -1
  14. package/lib/framework/agents/knowledge-base/i-knowledge-base.d.ts +15 -0
  15. package/lib/framework/agents/knowledge-base/i-knowledge-base.js +1 -1
  16. package/lib/framework/agents/resources/default-strands-agent/requirements.txt +2 -1
  17. package/lib/framework/bedrock/bedrock.js +1 -1
  18. package/lib/framework/custom-resource/default-runtimes.js +1 -1
  19. package/lib/framework/foundation/access-log.js +1 -1
  20. package/lib/framework/foundation/eventbridge-broker.js +1 -1
  21. package/lib/framework/foundation/network.js +1 -1
  22. package/lib/tsconfig.tsbuildinfo +1 -1
  23. package/lib/utilities/data-loader.js +1 -1
  24. package/lib/utilities/lambda-iam-utils.js +1 -1
  25. package/lib/utilities/observability/cloudfront-distribution-observability-property-injector.js +1 -1
  26. package/lib/utilities/observability/cloudwatch-transaction-search.d.ts +48 -0
  27. package/lib/utilities/observability/cloudwatch-transaction-search.js +158 -0
  28. package/lib/utilities/observability/default-observability-config.js +1 -1
  29. package/lib/utilities/observability/index.d.ts +1 -0
  30. package/lib/utilities/observability/index.js +2 -1
  31. package/lib/utilities/observability/lambda-observability-property-injector.js +1 -1
  32. package/lib/utilities/observability/log-group-data-protection-utils.js +1 -1
  33. package/lib/utilities/observability/powertools-config.js +1 -1
  34. package/lib/utilities/observability/resources/transaction-search-handler/index.py +194 -0
  35. package/lib/utilities/observability/resources/transaction-search-handler/requirements.txt +2 -0
  36. package/lib/utilities/observability/state-machine-observability-property-injector.js +1 -1
  37. package/lib/webapp/frontend-construct.js +1 -1
  38. package/package.json +4 -4
package/.jsii CHANGED
@@ -4114,7 +4114,7 @@
4114
4114
  "stability": "experimental"
4115
4115
  },
4116
4116
  "homepage": "https://github.com/cdklabs/cdk-appmod-catalog-blueprints.git",
4117
- "jsiiVersion": "5.9.22 (build b81c634)",
4117
+ "jsiiVersion": "5.9.25 (build bd30271)",
4118
4118
  "keywords": [
4119
4119
  "cdk"
4120
4120
  ],
@@ -5126,7 +5126,10 @@
5126
5126
  "assembly": "@cdklabs/cdk-appmod-catalog-blueprints",
5127
5127
  "base": "constructs.Construct",
5128
5128
  "docs": {
5129
- "stability": "experimental"
5129
+ "remarks": "Provides common infrastructure for AI agents including:\n- IAM role and permissions management\n- Encryption key for environment variables\n- Tool integration and S3 asset management\n- Knowledge base integration for RAG (Retrieval-Augmented Generation)\n- Observability configuration (Lambda Powertools + AgentCore)\n\nSubclasses must implement the agent-specific Lambda function creation.\n\n**Observability**: When `enableObservability: true`, BaseAgent configures both\nLambda Powertools (function-level) and AWS Bedrock AgentCore (agent-level)\nobservability. Both systems work together to provide complete visibility:\n- Lambda Powertools captures function execution, logs, and custom metrics\n- AgentCore captures agent reasoning, tool usage, and token consumption\n- Both publish to CloudWatch with correlated service names for unified monitoring\n\nThe observability integration includes:\n- Automatic IAM permission grants for CloudWatch Logs and X-Ray\n- Environment variable configuration for OpenTelemetry\n- ADOT Lambda Layer attachment (handled by concrete implementations)",
5130
+ "see": "https://docs.aws.amazon.com/bedrock-agentcore/latest/devguide/observability-configure.html",
5131
+ "stability": "experimental",
5132
+ "summary": "Base class for all agent types in the framework."
5130
5133
  },
5131
5134
  "fqn": "@cdklabs/cdk-appmod-catalog-blueprints.BaseAgent",
5132
5135
  "initializer": {
@@ -5135,7 +5138,7 @@
5135
5138
  },
5136
5139
  "locationInModule": {
5137
5140
  "filename": "use-cases/framework/agents/base-agent.ts",
5138
- "line": 153
5141
+ "line": 218
5139
5142
  },
5140
5143
  "parameters": [
5141
5144
  {
@@ -5161,8 +5164,32 @@
5161
5164
  "kind": "class",
5162
5165
  "locationInModule": {
5163
5166
  "filename": "use-cases/framework/agents/base-agent.ts",
5164
- "line": 129
5167
+ "line": 186
5165
5168
  },
5169
+ "methods": [
5170
+ {
5171
+ "docs": {
5172
+ "custom": {
5173
+ "throws": "Error if the region is not supported"
5174
+ },
5175
+ "remarks": "The ADOT layer provides automatic instrumentation for observability.\nLayer versions vary by region - some regions have newer versions with\nbetter Python 3.13 support. If you encounter compatibility issues,\nthe layer ARNs can be found at:\nhttps://aws-otel.github.io/docs/getting-started/lambda#adot-lambda-layer-arns",
5176
+ "returns": "The ADOT Lambda Layer for the current region",
5177
+ "stability": "experimental",
5178
+ "summary": "Creates the AWS Distro for OpenTelemetry (ADOT) Lambda Layer."
5179
+ },
5180
+ "locationInModule": {
5181
+ "filename": "use-cases/framework/agents/base-agent.ts",
5182
+ "line": 369
5183
+ },
5184
+ "name": "createADOTLayer",
5185
+ "protected": true,
5186
+ "returns": {
5187
+ "type": {
5188
+ "fqn": "aws-cdk-lib.aws_lambda.ILayerVersion"
5189
+ }
5190
+ }
5191
+ }
5192
+ ],
5166
5193
  "name": "BaseAgent",
5167
5194
  "properties": [
5168
5195
  {
@@ -5173,7 +5200,7 @@
5173
5200
  "immutable": true,
5174
5201
  "locationInModule": {
5175
5202
  "filename": "use-cases/framework/agents/base-agent.ts",
5176
- "line": 130
5203
+ "line": 187
5177
5204
  },
5178
5205
  "name": "agentFunction",
5179
5206
  "type": {
@@ -5187,7 +5214,7 @@
5187
5214
  "immutable": true,
5188
5215
  "locationInModule": {
5189
5216
  "filename": "use-cases/framework/agents/base-agent.ts",
5190
- "line": 132
5217
+ "line": 189
5191
5218
  },
5192
5219
  "name": "agentRole",
5193
5220
  "type": {
@@ -5201,7 +5228,7 @@
5201
5228
  "immutable": true,
5202
5229
  "locationInModule": {
5203
5230
  "filename": "use-cases/framework/agents/base-agent.ts",
5204
- "line": 136
5231
+ "line": 193
5205
5232
  },
5206
5233
  "name": "agentToolsLocationDefinitions",
5207
5234
  "protected": true,
@@ -5221,7 +5248,7 @@
5221
5248
  "immutable": true,
5222
5249
  "locationInModule": {
5223
5250
  "filename": "use-cases/framework/agents/base-agent.ts",
5224
- "line": 133
5251
+ "line": 190
5225
5252
  },
5226
5253
  "name": "encryptionKey",
5227
5254
  "type": {
@@ -5237,7 +5264,7 @@
5237
5264
  "immutable": true,
5238
5265
  "locationInModule": {
5239
5266
  "filename": "use-cases/framework/agents/base-agent.ts",
5240
- "line": 144
5267
+ "line": 201
5241
5268
  },
5242
5269
  "name": "knowledgeBaseConfigs",
5243
5270
  "protected": true,
@@ -5250,6 +5277,28 @@
5250
5277
  }
5251
5278
  }
5252
5279
  },
5280
+ {
5281
+ "docs": {
5282
+ "remarks": "This array contains Lambda layers from all configured knowledge bases.\nSubclasses should add these layers to the agent Lambda function to\nensure retrieval tools have access to required dependencies.",
5283
+ "stability": "experimental",
5284
+ "summary": "Lambda layers required by knowledge base retrieval tools."
5285
+ },
5286
+ "immutable": true,
5287
+ "locationInModule": {
5288
+ "filename": "use-cases/framework/agents/base-agent.ts",
5289
+ "line": 216
5290
+ },
5291
+ "name": "knowledgeBaseLayers",
5292
+ "protected": true,
5293
+ "type": {
5294
+ "collection": {
5295
+ "elementtype": {
5296
+ "fqn": "aws-cdk-lib.aws_lambda.LayerVersion"
5297
+ },
5298
+ "kind": "array"
5299
+ }
5300
+ }
5301
+ },
5253
5302
  {
5254
5303
  "docs": {
5255
5304
  "stability": "experimental",
@@ -5258,7 +5307,7 @@
5258
5307
  "immutable": true,
5259
5308
  "locationInModule": {
5260
5309
  "filename": "use-cases/framework/agents/base-agent.ts",
5261
- "line": 135
5310
+ "line": 192
5262
5311
  },
5263
5312
  "name": "logGroupDataProtection",
5264
5313
  "protected": true,
@@ -5273,7 +5322,7 @@
5273
5322
  "immutable": true,
5274
5323
  "locationInModule": {
5275
5324
  "filename": "use-cases/framework/agents/base-agent.ts",
5276
- "line": 131
5325
+ "line": 188
5277
5326
  },
5278
5327
  "name": "bedrockModel",
5279
5328
  "optional": true,
@@ -5290,7 +5339,7 @@
5290
5339
  "immutable": true,
5291
5340
  "locationInModule": {
5292
5341
  "filename": "use-cases/framework/agents/base-agent.ts",
5293
- "line": 151
5342
+ "line": 208
5294
5343
  },
5295
5344
  "name": "knowledgeBaseToolAsset",
5296
5345
  "optional": true,
@@ -5351,17 +5400,37 @@
5351
5400
  "primitive": "string"
5352
5401
  }
5353
5402
  },
5403
+ {
5404
+ "abstract": true,
5405
+ "docs": {
5406
+ "default": "Architecture.ARM_64",
5407
+ "stability": "experimental",
5408
+ "summary": "The architecture used by the Lambda function where the agent is hosted."
5409
+ },
5410
+ "immutable": true,
5411
+ "locationInModule": {
5412
+ "filename": "use-cases/framework/agents/base-agent.ts",
5413
+ "line": 157
5414
+ },
5415
+ "name": "agentArchitecture",
5416
+ "optional": true,
5417
+ "type": {
5418
+ "fqn": "aws-cdk-lib.aws_lambda.Architecture"
5419
+ }
5420
+ },
5354
5421
  {
5355
5422
  "abstract": true,
5356
5423
  "docs": {
5357
5424
  "default": "false",
5425
+ "remarks": "When enabled, configures both Lambda Powertools and AWS Bedrock AgentCore observability:\n- **Lambda Powertools**: Provides function-level observability including structured logging,\n distributed tracing with X-Ray, and custom metrics\n- **AgentCore Observability**: Provides agent-specific observability including agent invocations,\n reasoning steps, tool usage, token consumption, and agent latency\n\nBoth systems publish to Amazon CloudWatch and use the same service name and namespace\nfor correlation. This provides complete visibility at both function and agent levels.\n\n**Environment Variables Set** (AgentCore):\n- `AGENT_OBSERVABILITY_ENABLED`: Enables AgentCore observability\n- `OTEL_RESOURCE_ATTRIBUTES`: Service identification for OpenTelemetry\n- `OTEL_EXPORTER_OTLP_LOGS_HEADERS`: Agent identification headers\n- `AWS_LAMBDA_EXEC_WRAPPER`: ADOT wrapper for automatic instrumentation\n\n**IAM Permissions Granted** (AgentCore):\n- CloudWatch Logs: `logs:CreateLogGroup`, `logs:CreateLogStream`, `logs:PutLogEvents`\n- X-Ray: `xray:PutTraceSegments`, `xray:PutTelemetryRecords`\n\n**Additional Requirements**:\n- BatchAgent automatically adds ADOT (AWS Distro for OpenTelemetry) Lambda Layer",
5426
+ "see": "https://docs.aws.amazon.com/bedrock-agentcore/latest/devguide/observability-configure.html",
5358
5427
  "stability": "experimental",
5359
- "summary": "Enable observability."
5428
+ "summary": "Enable observability for the agent."
5360
5429
  },
5361
5430
  "immutable": true,
5362
5431
  "locationInModule": {
5363
5432
  "filename": "use-cases/framework/agents/base-agent.ts",
5364
- "line": 104
5433
+ "line": 127
5365
5434
  },
5366
5435
  "name": "enableObservability",
5367
5436
  "optional": true,
@@ -5379,7 +5448,7 @@
5379
5448
  "immutable": true,
5380
5449
  "locationInModule": {
5381
5450
  "filename": "use-cases/framework/agents/base-agent.ts",
5382
- "line": 118
5451
+ "line": 141
5383
5452
  },
5384
5453
  "name": "encryptionKey",
5385
5454
  "optional": true,
@@ -5397,7 +5466,7 @@
5397
5466
  "immutable": true,
5398
5467
  "locationInModule": {
5399
5468
  "filename": "use-cases/framework/agents/base-agent.ts",
5400
- "line": 111
5469
+ "line": 134
5401
5470
  },
5402
5471
  "name": "network",
5403
5472
  "optional": true,
@@ -5415,7 +5484,7 @@
5415
5484
  "immutable": true,
5416
5485
  "locationInModule": {
5417
5486
  "filename": "use-cases/framework/agents/base-agent.ts",
5418
- "line": 126
5487
+ "line": 149
5419
5488
  },
5420
5489
  "name": "removalPolicy",
5421
5490
  "optional": true,
@@ -6055,7 +6124,7 @@
6055
6124
  },
6056
6125
  "locationInModule": {
6057
6126
  "filename": "use-cases/framework/agents/knowledge-base/base-knowledge-base.ts",
6058
- "line": 74
6127
+ "line": 75
6059
6128
  },
6060
6129
  "parameters": [
6061
6130
  {
@@ -6093,7 +6162,7 @@
6093
6162
  "kind": "class",
6094
6163
  "locationInModule": {
6095
6164
  "filename": "use-cases/framework/agents/knowledge-base/base-knowledge-base.ts",
6096
- "line": 32
6165
+ "line": 33
6097
6166
  },
6098
6167
  "methods": [
6099
6168
  {
@@ -6105,7 +6174,7 @@
6105
6174
  },
6106
6175
  "locationInModule": {
6107
6176
  "filename": "use-cases/framework/agents/knowledge-base/base-knowledge-base.ts",
6108
- "line": 125
6177
+ "line": 126
6109
6178
  },
6110
6179
  "name": "exportConfiguration",
6111
6180
  "overrides": "@cdklabs/cdk-appmod-catalog-blueprints.IKnowledgeBase",
@@ -6125,7 +6194,7 @@
6125
6194
  },
6126
6195
  "locationInModule": {
6127
6196
  "filename": "use-cases/framework/agents/knowledge-base/base-knowledge-base.ts",
6128
- "line": 113
6197
+ "line": 114
6129
6198
  },
6130
6199
  "name": "generateIamPermissions",
6131
6200
  "overrides": "@cdklabs/cdk-appmod-catalog-blueprints.IKnowledgeBase",
@@ -6149,7 +6218,7 @@
6149
6218
  },
6150
6219
  "locationInModule": {
6151
6220
  "filename": "use-cases/framework/agents/knowledge-base/base-knowledge-base.ts",
6152
- "line": 143
6221
+ "line": 144
6153
6222
  },
6154
6223
  "name": "retrievalToolAsset",
6155
6224
  "overrides": "@cdklabs/cdk-appmod-catalog-blueprints.IKnowledgeBase",
@@ -6160,6 +6229,31 @@
6160
6229
  }
6161
6230
  }
6162
6231
  },
6232
+ {
6233
+ "docs": {
6234
+ "remarks": "By default, returns undefined indicating no additional layers are needed.\nSubclasses can override this method to provide Lambda layers containing\ndependencies required by their retrieval tool.",
6235
+ "returns": "undefined indicating no additional layers needed",
6236
+ "stability": "experimental",
6237
+ "summary": "Provide Lambda layers required by the retrieval tool."
6238
+ },
6239
+ "locationInModule": {
6240
+ "filename": "use-cases/framework/agents/knowledge-base/base-knowledge-base.ts",
6241
+ "line": 157
6242
+ },
6243
+ "name": "retrievalToolLayers",
6244
+ "overrides": "@cdklabs/cdk-appmod-catalog-blueprints.IKnowledgeBase",
6245
+ "returns": {
6246
+ "optional": true,
6247
+ "type": {
6248
+ "collection": {
6249
+ "elementtype": {
6250
+ "fqn": "aws-cdk-lib.aws_lambda.LayerVersion"
6251
+ },
6252
+ "kind": "array"
6253
+ }
6254
+ }
6255
+ }
6256
+ },
6163
6257
  {
6164
6258
  "docs": {
6165
6259
  "custom": {
@@ -6171,7 +6265,7 @@
6171
6265
  },
6172
6266
  "locationInModule": {
6173
6267
  "filename": "use-cases/framework/agents/knowledge-base/base-knowledge-base.ts",
6174
- "line": 96
6268
+ "line": 97
6175
6269
  },
6176
6270
  "name": "validateProps",
6177
6271
  "parameters": [
@@ -6199,7 +6293,7 @@
6199
6293
  "immutable": true,
6200
6294
  "locationInModule": {
6201
6295
  "filename": "use-cases/framework/agents/knowledge-base/base-knowledge-base.ts",
6202
- "line": 47
6296
+ "line": 48
6203
6297
  },
6204
6298
  "name": "description",
6205
6299
  "overrides": "@cdklabs/cdk-appmod-catalog-blueprints.IKnowledgeBase",
@@ -6216,7 +6310,7 @@
6216
6310
  "immutable": true,
6217
6311
  "locationInModule": {
6218
6312
  "filename": "use-cases/framework/agents/knowledge-base/base-knowledge-base.ts",
6219
- "line": 39
6313
+ "line": 40
6220
6314
  },
6221
6315
  "name": "name",
6222
6316
  "overrides": "@cdklabs/cdk-appmod-catalog-blueprints.IKnowledgeBase",
@@ -6233,7 +6327,7 @@
6233
6327
  "immutable": true,
6234
6328
  "locationInModule": {
6235
6329
  "filename": "use-cases/framework/agents/knowledge-base/base-knowledge-base.ts",
6236
- "line": 55
6330
+ "line": 56
6237
6331
  },
6238
6332
  "name": "retrievalConfig",
6239
6333
  "protected": true,
@@ -6250,7 +6344,7 @@
6250
6344
  "immutable": true,
6251
6345
  "locationInModule": {
6252
6346
  "filename": "use-cases/framework/agents/knowledge-base/base-knowledge-base.ts",
6253
- "line": 63
6347
+ "line": 64
6254
6348
  },
6255
6349
  "name": "aclConfig",
6256
6350
  "optional": true,
@@ -6368,7 +6462,7 @@
6368
6462
  },
6369
6463
  "locationInModule": {
6370
6464
  "filename": "use-cases/framework/agents/batch-agent.ts",
6371
- "line": 76
6465
+ "line": 77
6372
6466
  },
6373
6467
  "parameters": [
6374
6468
  {
@@ -6394,7 +6488,7 @@
6394
6488
  "kind": "class",
6395
6489
  "locationInModule": {
6396
6490
  "filename": "use-cases/framework/agents/batch-agent.ts",
6397
- "line": 73
6491
+ "line": 74
6398
6492
  },
6399
6493
  "name": "BatchAgent",
6400
6494
  "properties": [
@@ -6405,7 +6499,7 @@
6405
6499
  "immutable": true,
6406
6500
  "locationInModule": {
6407
6501
  "filename": "use-cases/framework/agents/batch-agent.ts",
6408
- "line": 74
6502
+ "line": 75
6409
6503
  },
6410
6504
  "name": "agentFunction",
6411
6505
  "overrides": "@cdklabs/cdk-appmod-catalog-blueprints.BaseAgent",
@@ -6429,7 +6523,7 @@
6429
6523
  "kind": "interface",
6430
6524
  "locationInModule": {
6431
6525
  "filename": "use-cases/framework/agents/batch-agent.ts",
6432
- "line": 17
6526
+ "line": 18
6433
6527
  },
6434
6528
  "name": "BatchAgentProps",
6435
6529
  "properties": [
@@ -6441,7 +6535,7 @@
6441
6535
  "immutable": true,
6442
6536
  "locationInModule": {
6443
6537
  "filename": "use-cases/framework/agents/batch-agent.ts",
6444
- "line": 18
6538
+ "line": 19
6445
6539
  },
6446
6540
  "name": "prompt",
6447
6541
  "type": {
@@ -6456,7 +6550,7 @@
6456
6550
  "immutable": true,
6457
6551
  "locationInModule": {
6458
6552
  "filename": "use-cases/framework/agents/batch-agent.ts",
6459
- "line": 19
6553
+ "line": 20
6460
6554
  },
6461
6555
  "name": "expectJson",
6462
6556
  "optional": true,
@@ -6475,7 +6569,7 @@
6475
6569
  "immutable": true,
6476
6570
  "locationInModule": {
6477
6571
  "filename": "use-cases/framework/agents/batch-agent.ts",
6478
- "line": 28
6572
+ "line": 29
6479
6573
  },
6480
6574
  "name": "invokeType",
6481
6575
  "optional": true,
@@ -8741,6 +8835,108 @@
8741
8835
  ],
8742
8836
  "symbolId": "use-cases/document-processing/chunking-config:CleanupResponse"
8743
8837
  },
8838
+ "@cdklabs/cdk-appmod-catalog-blueprints.CloudWatchTransactionSearch": {
8839
+ "assembly": "@cdklabs/cdk-appmod-catalog-blueprints",
8840
+ "base": "constructs.Construct",
8841
+ "docs": {
8842
+ "remarks": "This construct configures account-level settings to enable cost-effective\ncollection of all X-Ray spans through CloudWatch Logs. It performs three steps:\n\n1. Creates a CloudWatch Logs resource-based policy allowing X-Ray to send traces\n2. Configures X-Ray to send trace segments to CloudWatch Logs\n3. Sets the sampling percentage for span indexing (default 1%)\n\nThe construct checks if Transaction Search is already enabled and only applies\nconfiguration if needed. It's idempotent and safe to deploy multiple times.\n\n## Benefits\n- Cost-effective: Uses CloudWatch Logs pricing instead of X-Ray pricing\n- Full visibility: All spans are collected and searchable\n- Automatic indexing: 1% of spans indexed by default for trace summaries\n\n## Usage\n```typescript\nnew CloudWatchTransactionSearch(this, 'TransactionSearch', {\n samplingPercentage: 1 // Optional: 1% is default\n});\n```",
8843
+ "see": "https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Enable-TransactionSearch.html",
8844
+ "stability": "experimental",
8845
+ "summary": "Enables CloudWatch Transaction Search for X-Ray traces."
8846
+ },
8847
+ "fqn": "@cdklabs/cdk-appmod-catalog-blueprints.CloudWatchTransactionSearch",
8848
+ "initializer": {
8849
+ "docs": {
8850
+ "stability": "experimental"
8851
+ },
8852
+ "locationInModule": {
8853
+ "filename": "use-cases/utilities/observability/cloudwatch-transaction-search.ts",
8854
+ "line": 58
8855
+ },
8856
+ "parameters": [
8857
+ {
8858
+ "name": "scope",
8859
+ "type": {
8860
+ "fqn": "constructs.Construct"
8861
+ }
8862
+ },
8863
+ {
8864
+ "name": "id",
8865
+ "type": {
8866
+ "primitive": "string"
8867
+ }
8868
+ },
8869
+ {
8870
+ "name": "props",
8871
+ "optional": true,
8872
+ "type": {
8873
+ "fqn": "@cdklabs/cdk-appmod-catalog-blueprints.CloudWatchTransactionSearchProps"
8874
+ }
8875
+ }
8876
+ ]
8877
+ },
8878
+ "kind": "class",
8879
+ "locationInModule": {
8880
+ "filename": "use-cases/utilities/observability/cloudwatch-transaction-search.ts",
8881
+ "line": 57
8882
+ },
8883
+ "name": "CloudWatchTransactionSearch",
8884
+ "symbolId": "use-cases/utilities/observability/cloudwatch-transaction-search:CloudWatchTransactionSearch"
8885
+ },
8886
+ "@cdklabs/cdk-appmod-catalog-blueprints.CloudWatchTransactionSearchProps": {
8887
+ "assembly": "@cdklabs/cdk-appmod-catalog-blueprints",
8888
+ "datatype": true,
8889
+ "docs": {
8890
+ "stability": "experimental",
8891
+ "summary": "Configuration properties for CloudWatch Transaction Search."
8892
+ },
8893
+ "fqn": "@cdklabs/cdk-appmod-catalog-blueprints.CloudWatchTransactionSearchProps",
8894
+ "kind": "interface",
8895
+ "locationInModule": {
8896
+ "filename": "use-cases/utilities/observability/cloudwatch-transaction-search.ts",
8897
+ "line": 14
8898
+ },
8899
+ "name": "CloudWatchTransactionSearchProps",
8900
+ "properties": [
8901
+ {
8902
+ "abstract": true,
8903
+ "docs": {
8904
+ "default": "'TransactionSearchXRayAccess'",
8905
+ "stability": "experimental",
8906
+ "summary": "Name of the CloudWatch Logs resource policy."
8907
+ },
8908
+ "immutable": true,
8909
+ "locationInModule": {
8910
+ "filename": "use-cases/utilities/observability/cloudwatch-transaction-search.ts",
8911
+ "line": 27
8912
+ },
8913
+ "name": "policyName",
8914
+ "optional": true,
8915
+ "type": {
8916
+ "primitive": "string"
8917
+ }
8918
+ },
8919
+ {
8920
+ "abstract": true,
8921
+ "docs": {
8922
+ "default": "1 (1% of spans indexed)",
8923
+ "stability": "experimental",
8924
+ "summary": "Sampling percentage for span indexing."
8925
+ },
8926
+ "immutable": true,
8927
+ "locationInModule": {
8928
+ "filename": "use-cases/utilities/observability/cloudwatch-transaction-search.ts",
8929
+ "line": 20
8930
+ },
8931
+ "name": "samplingPercentage",
8932
+ "optional": true,
8933
+ "type": {
8934
+ "primitive": "number"
8935
+ }
8936
+ }
8937
+ ],
8938
+ "symbolId": "use-cases/utilities/observability/cloudwatch-transaction-search:CloudWatchTransactionSearchProps"
8939
+ },
8744
8940
  "@cdklabs/cdk-appmod-catalog-blueprints.CloudfrontDistributionObservabilityPropertyInjector": {
8745
8941
  "assembly": "@cdklabs/cdk-appmod-catalog-blueprints",
8746
8942
  "docs": {
@@ -10972,7 +11168,7 @@
10972
11168
  "kind": "interface",
10973
11169
  "locationInModule": {
10974
11170
  "filename": "use-cases/framework/agents/knowledge-base/i-knowledge-base.ts",
10975
- "line": 21
11171
+ "line": 22
10976
11172
  },
10977
11173
  "methods": [
10978
11174
  {
@@ -10985,7 +11181,7 @@
10985
11181
  },
10986
11182
  "locationInModule": {
10987
11183
  "filename": "use-cases/framework/agents/knowledge-base/i-knowledge-base.ts",
10988
- "line": 65
11184
+ "line": 66
10989
11185
  },
10990
11186
  "name": "exportConfiguration",
10991
11187
  "returns": {
@@ -11004,7 +11200,7 @@
11004
11200
  },
11005
11201
  "locationInModule": {
11006
11202
  "filename": "use-cases/framework/agents/knowledge-base/i-knowledge-base.ts",
11007
- "line": 54
11203
+ "line": 55
11008
11204
  },
11009
11205
  "name": "generateIamPermissions",
11010
11206
  "returns": {
@@ -11028,7 +11224,7 @@
11028
11224
  },
11029
11225
  "locationInModule": {
11030
11226
  "filename": "use-cases/framework/agents/knowledge-base/i-knowledge-base.ts",
11031
- "line": 76
11227
+ "line": 77
11032
11228
  },
11033
11229
  "name": "retrievalToolAsset",
11034
11230
  "returns": {
@@ -11037,6 +11233,31 @@
11037
11233
  "fqn": "aws-cdk-lib.aws_s3_assets.Asset"
11038
11234
  }
11039
11235
  }
11236
+ },
11237
+ {
11238
+ "abstract": true,
11239
+ "docs": {
11240
+ "remarks": "This optional method allows knowledge base implementations to provide\nLambda layers containing dependencies needed by their retrieval tool.\nFor example, a knowledge base might need specific boto3 versions,\ncustom libraries, or SDK extensions.\n\nThe layers will be added to the agent's Lambda function, making the\ndependencies available to the retrieval tool at runtime.",
11241
+ "returns": "Array of Lambda LayerVersion objects, or undefined if no layers needed",
11242
+ "stability": "experimental",
11243
+ "summary": "Provide Lambda layers required by the retrieval tool."
11244
+ },
11245
+ "locationInModule": {
11246
+ "filename": "use-cases/framework/agents/knowledge-base/i-knowledge-base.ts",
11247
+ "line": 92
11248
+ },
11249
+ "name": "retrievalToolLayers",
11250
+ "returns": {
11251
+ "optional": true,
11252
+ "type": {
11253
+ "collection": {
11254
+ "elementtype": {
11255
+ "fqn": "aws-cdk-lib.aws_lambda.LayerVersion"
11256
+ },
11257
+ "kind": "array"
11258
+ }
11259
+ }
11260
+ }
11040
11261
  }
11041
11262
  ],
11042
11263
  "name": "IKnowledgeBase",
@@ -11052,7 +11273,7 @@
11052
11273
  "immutable": true,
11053
11274
  "locationInModule": {
11054
11275
  "filename": "use-cases/framework/agents/knowledge-base/i-knowledge-base.ts",
11055
- "line": 43
11276
+ "line": 44
11056
11277
  },
11057
11278
  "name": "description",
11058
11279
  "type": {
@@ -11070,7 +11291,7 @@
11070
11291
  "immutable": true,
11071
11292
  "locationInModule": {
11072
11293
  "filename": "use-cases/framework/agents/knowledge-base/i-knowledge-base.ts",
11073
- "line": 31
11294
+ "line": 32
11074
11295
  },
11075
11296
  "name": "name",
11076
11297
  "type": {
@@ -13666,6 +13887,6 @@
13666
13887
  "usedFeatures": [
13667
13888
  "class-covariant-overrides"
13668
13889
  ],
13669
- "version": "1.7.0",
13670
- "fingerprint": "LgCZEzgklok8vyM/7Y8S0XMXBDqyg7hr8qyVLe4P9xM="
13890
+ "version": "1.8.0",
13891
+ "fingerprint": "CW/GLUUsXU7ov54HZOTjbxdZu1sPRbz3xC9vS0OSABY="
13671
13892
  }