@cdklabs/cdk-appmod-catalog-blueprints 1.13.0 → 1.14.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 (35) hide show
  1. package/.jsii +573 -136
  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/document-processing/resources/default-image-validator/package-lock.json +45 -45
  8. package/lib/document-processing/resources/default-image-validator/package.json +1 -1
  9. package/lib/framework/agents/base-agent.js +1 -1
  10. package/lib/framework/agents/batch-agent.js +4 -2
  11. package/lib/framework/agents/default-agent-config.js +1 -1
  12. package/lib/framework/agents/interactive-agent.d.ts +159 -2
  13. package/lib/framework/agents/interactive-agent.js +139 -19
  14. package/lib/framework/agents/knowledge-base/base-knowledge-base.js +1 -1
  15. package/lib/framework/agents/knowledge-base/bedrock-knowledge-base.js +1 -1
  16. package/lib/framework/agents/resources/interactive-agent-handler/index.py +561 -52
  17. package/lib/framework/agents/resources/interactive-agent-handler/requirements.txt +1 -0
  18. package/lib/framework/bedrock/bedrock.js +1 -1
  19. package/lib/framework/custom-resource/default-runtimes.js +1 -1
  20. package/lib/framework/foundation/access-log.js +1 -1
  21. package/lib/framework/foundation/eventbridge-broker.js +1 -1
  22. package/lib/framework/foundation/network.js +1 -1
  23. package/lib/framework/tests/framework-nag.test.js +2 -1
  24. package/lib/tsconfig.tsbuildinfo +1 -1
  25. package/lib/utilities/data-loader.js +1 -1
  26. package/lib/utilities/lambda-iam-utils.js +1 -1
  27. package/lib/utilities/observability/cloudfront-distribution-observability-property-injector.js +1 -1
  28. package/lib/utilities/observability/cloudwatch-transaction-search.js +1 -1
  29. package/lib/utilities/observability/default-observability-config.js +1 -1
  30. package/lib/utilities/observability/lambda-observability-property-injector.js +1 -1
  31. package/lib/utilities/observability/log-group-data-protection-utils.js +1 -1
  32. package/lib/utilities/observability/powertools-config.js +1 -1
  33. package/lib/utilities/observability/state-machine-observability-property-injector.js +1 -1
  34. package/lib/webapp/frontend-construct.js +1 -1
  35. 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.26 (build f85d3df)",
4117
+ "jsiiVersion": "5.9.34 (build 8773a22)",
4118
4118
  "keywords": [
4119
4119
  "cdk"
4120
4120
  ],
@@ -4577,7 +4577,7 @@
4577
4577
  "kind": "interface",
4578
4578
  "locationInModule": {
4579
4579
  "filename": "use-cases/framework/agents/interactive-agent.ts",
4580
- "line": 1063
4580
+ "line": 1254
4581
4581
  },
4582
4582
  "name": "AgentCoreJwtAuthorizerConfig",
4583
4583
  "properties": [
@@ -4590,7 +4590,7 @@
4590
4590
  "immutable": true,
4591
4591
  "locationInModule": {
4592
4592
  "filename": "use-cases/framework/agents/interactive-agent.ts",
4593
- "line": 1065
4593
+ "line": 1256
4594
4594
  },
4595
4595
  "name": "discoveryUrl",
4596
4596
  "type": {
@@ -4606,7 +4606,7 @@
4606
4606
  "immutable": true,
4607
4607
  "locationInModule": {
4608
4608
  "filename": "use-cases/framework/agents/interactive-agent.ts",
4609
- "line": 1067
4609
+ "line": 1258
4610
4610
  },
4611
4611
  "name": "allowedAudience",
4612
4612
  "optional": true,
@@ -4628,7 +4628,7 @@
4628
4628
  "immutable": true,
4629
4629
  "locationInModule": {
4630
4630
  "filename": "use-cases/framework/agents/interactive-agent.ts",
4631
- "line": 1069
4631
+ "line": 1260
4632
4632
  },
4633
4633
  "name": "allowedClients",
4634
4634
  "optional": true,
@@ -4658,7 +4658,7 @@
4658
4658
  },
4659
4659
  "locationInModule": {
4660
4660
  "filename": "use-cases/framework/agents/interactive-agent.ts",
4661
- "line": 1151
4661
+ "line": 1342
4662
4662
  },
4663
4663
  "parameters": [
4664
4664
  {
@@ -4676,7 +4676,7 @@
4676
4676
  "kind": "class",
4677
4677
  "locationInModule": {
4678
4678
  "filename": "use-cases/framework/agents/interactive-agent.ts",
4679
- "line": 1148
4679
+ "line": 1339
4680
4680
  },
4681
4681
  "methods": [
4682
4682
  {
@@ -4686,7 +4686,7 @@
4686
4686
  },
4687
4687
  "locationInModule": {
4688
4688
  "filename": "use-cases/framework/agents/interactive-agent.ts",
4689
- "line": 1160
4689
+ "line": 1351
4690
4690
  },
4691
4691
  "name": "deploy",
4692
4692
  "overrides": "@cdklabs/cdk-appmod-catalog-blueprints.IHostingAdapter",
@@ -4716,7 +4716,7 @@
4716
4716
  "immutable": true,
4717
4717
  "locationInModule": {
4718
4718
  "filename": "use-cases/framework/agents/interactive-agent.ts",
4719
- "line": 1155
4719
+ "line": 1346
4720
4720
  },
4721
4721
  "name": "servicePrincipal",
4722
4722
  "overrides": "@cdklabs/cdk-appmod-catalog-blueprints.IHostingAdapter",
@@ -4738,7 +4738,7 @@
4738
4738
  "kind": "interface",
4739
4739
  "locationInModule": {
4740
4740
  "filename": "use-cases/framework/agents/interactive-agent.ts",
4741
- "line": 1075
4741
+ "line": 1266
4742
4742
  },
4743
4743
  "name": "AgentCoreRuntimeHostingAdapterProps",
4744
4744
  "properties": [
@@ -4753,7 +4753,7 @@
4753
4753
  "immutable": true,
4754
4754
  "locationInModule": {
4755
4755
  "filename": "use-cases/framework/agents/interactive-agent.ts",
4756
- "line": 1081
4756
+ "line": 1272
4757
4757
  },
4758
4758
  "name": "containerImageUri",
4759
4759
  "optional": true,
@@ -4771,7 +4771,7 @@
4771
4771
  "immutable": true,
4772
4772
  "locationInModule": {
4773
4773
  "filename": "use-cases/framework/agents/interactive-agent.ts",
4774
- "line": 1094
4774
+ "line": 1285
4775
4775
  },
4776
4776
  "name": "customJwtAuthorizer",
4777
4777
  "optional": true,
@@ -4789,7 +4789,7 @@
4789
4789
  "immutable": true,
4790
4790
  "locationInModule": {
4791
4791
  "filename": "use-cases/framework/agents/interactive-agent.ts",
4792
- "line": 1108
4792
+ "line": 1299
4793
4793
  },
4794
4794
  "name": "endpointName",
4795
4795
  "optional": true,
@@ -4807,7 +4807,7 @@
4807
4807
  "immutable": true,
4808
4808
  "locationInModule": {
4809
4809
  "filename": "use-cases/framework/agents/interactive-agent.ts",
4810
- "line": 1088
4810
+ "line": 1279
4811
4811
  },
4812
4812
  "name": "networkMode",
4813
4813
  "optional": true,
@@ -4825,7 +4825,7 @@
4825
4825
  "immutable": true,
4826
4826
  "locationInModule": {
4827
4827
  "filename": "use-cases/framework/agents/interactive-agent.ts",
4828
- "line": 1101
4828
+ "line": 1292
4829
4829
  },
4830
4830
  "name": "protocolConfiguration",
4831
4831
  "optional": true,
@@ -5012,7 +5012,7 @@
5012
5012
  "kind": "interface",
5013
5013
  "locationInModule": {
5014
5014
  "filename": "use-cases/framework/agents/interactive-agent.ts",
5015
- "line": 758
5015
+ "line": 939
5016
5016
  },
5017
5017
  "name": "AgentHostingConfig",
5018
5018
  "properties": [
@@ -5025,7 +5025,7 @@
5025
5025
  "immutable": true,
5026
5026
  "locationInModule": {
5027
5027
  "filename": "use-cases/framework/agents/interactive-agent.ts",
5028
- "line": 762
5028
+ "line": 943
5029
5029
  },
5030
5030
  "name": "agentName",
5031
5031
  "type": {
@@ -5041,7 +5041,7 @@
5041
5041
  "immutable": true,
5042
5042
  "locationInModule": {
5043
5043
  "filename": "use-cases/framework/agents/interactive-agent.ts",
5044
- "line": 764
5044
+ "line": 945
5045
5045
  },
5046
5046
  "name": "agentRole",
5047
5047
  "type": {
@@ -5057,7 +5057,7 @@
5057
5057
  "immutable": true,
5058
5058
  "locationInModule": {
5059
5059
  "filename": "use-cases/framework/agents/interactive-agent.ts",
5060
- "line": 768
5060
+ "line": 949
5061
5061
  },
5062
5062
  "name": "encryptionKey",
5063
5063
  "type": {
@@ -5073,7 +5073,7 @@
5073
5073
  "immutable": true,
5074
5074
  "locationInModule": {
5075
5075
  "filename": "use-cases/framework/agents/interactive-agent.ts",
5076
- "line": 766
5076
+ "line": 947
5077
5077
  },
5078
5078
  "name": "environment",
5079
5079
  "type": {
@@ -5094,7 +5094,7 @@
5094
5094
  "immutable": true,
5095
5095
  "locationInModule": {
5096
5096
  "filename": "use-cases/framework/agents/interactive-agent.ts",
5097
- "line": 760
5097
+ "line": 941
5098
5098
  },
5099
5099
  "name": "scope",
5100
5100
  "type": {
@@ -5110,7 +5110,7 @@
5110
5110
  "immutable": true,
5111
5111
  "locationInModule": {
5112
5112
  "filename": "use-cases/framework/agents/interactive-agent.ts",
5113
- "line": 788
5113
+ "line": 969
5114
5114
  },
5115
5115
  "name": "systemPromptBucket",
5116
5116
  "type": {
@@ -5126,7 +5126,7 @@
5126
5126
  "immutable": true,
5127
5127
  "locationInModule": {
5128
5128
  "filename": "use-cases/framework/agents/interactive-agent.ts",
5129
- "line": 790
5129
+ "line": 971
5130
5130
  },
5131
5131
  "name": "systemPromptKey",
5132
5132
  "type": {
@@ -5142,7 +5142,7 @@
5142
5142
  "immutable": true,
5143
5143
  "locationInModule": {
5144
5144
  "filename": "use-cases/framework/agents/interactive-agent.ts",
5145
- "line": 786
5145
+ "line": 967
5146
5146
  },
5147
5147
  "name": "toolsConfig",
5148
5148
  "type": {
@@ -5158,7 +5158,7 @@
5158
5158
  "immutable": true,
5159
5159
  "locationInModule": {
5160
5160
  "filename": "use-cases/framework/agents/interactive-agent.ts",
5161
- "line": 772
5161
+ "line": 953
5162
5162
  },
5163
5163
  "name": "architecture",
5164
5164
  "optional": true,
@@ -5175,7 +5175,7 @@
5175
5175
  "immutable": true,
5176
5176
  "locationInModule": {
5177
5177
  "filename": "use-cases/framework/agents/interactive-agent.ts",
5178
- "line": 784
5178
+ "line": 965
5179
5179
  },
5180
5180
  "name": "enableObservability",
5181
5181
  "optional": true,
@@ -5192,7 +5192,7 @@
5192
5192
  "immutable": true,
5193
5193
  "locationInModule": {
5194
5194
  "filename": "use-cases/framework/agents/interactive-agent.ts",
5195
- "line": 792
5195
+ "line": 973
5196
5196
  },
5197
5197
  "name": "knowledgeBaseConfigs",
5198
5198
  "optional": true,
@@ -5209,7 +5209,7 @@
5209
5209
  "immutable": true,
5210
5210
  "locationInModule": {
5211
5211
  "filename": "use-cases/framework/agents/interactive-agent.ts",
5212
- "line": 782
5212
+ "line": 963
5213
5213
  },
5214
5214
  "name": "knowledgeBaseLayers",
5215
5215
  "optional": true,
@@ -5231,7 +5231,7 @@
5231
5231
  "immutable": true,
5232
5232
  "locationInModule": {
5233
5233
  "filename": "use-cases/framework/agents/interactive-agent.ts",
5234
- "line": 794
5234
+ "line": 975
5235
5235
  },
5236
5236
  "name": "knowledgeBaseSystemPromptAddition",
5237
5237
  "optional": true,
@@ -5248,7 +5248,7 @@
5248
5248
  "immutable": true,
5249
5249
  "locationInModule": {
5250
5250
  "filename": "use-cases/framework/agents/interactive-agent.ts",
5251
- "line": 780
5251
+ "line": 961
5252
5252
  },
5253
5253
  "name": "lambdaLayers",
5254
5254
  "optional": true,
@@ -5270,7 +5270,7 @@
5270
5270
  "immutable": true,
5271
5271
  "locationInModule": {
5272
5272
  "filename": "use-cases/framework/agents/interactive-agent.ts",
5273
- "line": 774
5273
+ "line": 955
5274
5274
  },
5275
5275
  "name": "memorySize",
5276
5276
  "optional": true,
@@ -5287,7 +5287,7 @@
5287
5287
  "immutable": true,
5288
5288
  "locationInModule": {
5289
5289
  "filename": "use-cases/framework/agents/interactive-agent.ts",
5290
- "line": 770
5290
+ "line": 951
5291
5291
  },
5292
5292
  "name": "network",
5293
5293
  "optional": true,
@@ -5304,7 +5304,7 @@
5304
5304
  "immutable": true,
5305
5305
  "locationInModule": {
5306
5306
  "filename": "use-cases/framework/agents/interactive-agent.ts",
5307
- "line": 796
5307
+ "line": 977
5308
5308
  },
5309
5309
  "name": "removalPolicy",
5310
5310
  "optional": true,
@@ -5321,7 +5321,7 @@
5321
5321
  "immutable": true,
5322
5322
  "locationInModule": {
5323
5323
  "filename": "use-cases/framework/agents/interactive-agent.ts",
5324
- "line": 778
5324
+ "line": 959
5325
5325
  },
5326
5326
  "name": "reservedConcurrentExecutions",
5327
5327
  "optional": true,
@@ -5338,7 +5338,7 @@
5338
5338
  "immutable": true,
5339
5339
  "locationInModule": {
5340
5340
  "filename": "use-cases/framework/agents/interactive-agent.ts",
5341
- "line": 776
5341
+ "line": 957
5342
5342
  },
5343
5343
  "name": "timeout",
5344
5344
  "optional": true,
@@ -5360,7 +5360,7 @@
5360
5360
  "kind": "interface",
5361
5361
  "locationInModule": {
5362
5362
  "filename": "use-cases/framework/agents/interactive-agent.ts",
5363
- "line": 802
5363
+ "line": 983
5364
5364
  },
5365
5365
  "name": "AgentHostingResult",
5366
5366
  "properties": [
@@ -5373,7 +5373,7 @@
5373
5373
  "immutable": true,
5374
5374
  "locationInModule": {
5375
5375
  "filename": "use-cases/framework/agents/interactive-agent.ts",
5376
- "line": 804
5376
+ "line": 985
5377
5377
  },
5378
5378
  "name": "endpoint",
5379
5379
  "type": {
@@ -5389,7 +5389,7 @@
5389
5389
  "immutable": true,
5390
5390
  "locationInModule": {
5391
5391
  "filename": "use-cases/framework/agents/interactive-agent.ts",
5392
- "line": 806
5392
+ "line": 987
5393
5393
  },
5394
5394
  "name": "agentFunction",
5395
5395
  "optional": true,
@@ -5406,7 +5406,7 @@
5406
5406
  "immutable": true,
5407
5407
  "locationInModule": {
5408
5408
  "filename": "use-cases/framework/agents/interactive-agent.ts",
5409
- "line": 808
5409
+ "line": 989
5410
5410
  },
5411
5411
  "name": "cfnRuntime",
5412
5412
  "optional": true,
@@ -9739,7 +9739,7 @@
9739
9739
  },
9740
9740
  "locationInModule": {
9741
9741
  "filename": "use-cases/framework/agents/interactive-agent.ts",
9742
- "line": 629
9742
+ "line": 651
9743
9743
  },
9744
9744
  "parameters": [
9745
9745
  {
@@ -9757,7 +9757,7 @@
9757
9757
  "kind": "class",
9758
9758
  "locationInModule": {
9759
9759
  "filename": "use-cases/framework/agents/interactive-agent.ts",
9760
- "line": 615
9760
+ "line": 637
9761
9761
  },
9762
9762
  "methods": [
9763
9763
  {
@@ -9767,7 +9767,7 @@
9767
9767
  },
9768
9768
  "locationInModule": {
9769
9769
  "filename": "use-cases/framework/agents/interactive-agent.ts",
9770
- "line": 663
9770
+ "line": 685
9771
9771
  },
9772
9772
  "name": "environmentVariables",
9773
9773
  "overrides": "@cdklabs/cdk-appmod-catalog-blueprints.IAuthenticator",
@@ -9790,7 +9790,7 @@
9790
9790
  },
9791
9791
  "locationInModule": {
9792
9792
  "filename": "use-cases/framework/agents/interactive-agent.ts",
9793
- "line": 639
9793
+ "line": 661
9794
9794
  },
9795
9795
  "name": "grantAuthenticate",
9796
9796
  "overrides": "@cdklabs/cdk-appmod-catalog-blueprints.IAuthenticator",
@@ -9814,7 +9814,7 @@
9814
9814
  "immutable": true,
9815
9815
  "locationInModule": {
9816
9816
  "filename": "use-cases/framework/agents/interactive-agent.ts",
9817
- "line": 619
9817
+ "line": 641
9818
9818
  },
9819
9819
  "name": "userPool",
9820
9820
  "optional": true,
@@ -9830,7 +9830,7 @@
9830
9830
  "immutable": true,
9831
9831
  "locationInModule": {
9832
9832
  "filename": "use-cases/framework/agents/interactive-agent.ts",
9833
- "line": 624
9833
+ "line": 646
9834
9834
  },
9835
9835
  "name": "userPoolClient",
9836
9836
  "optional": true,
@@ -9852,7 +9852,7 @@
9852
9852
  "kind": "interface",
9853
9853
  "locationInModule": {
9854
9854
  "filename": "use-cases/framework/agents/interactive-agent.ts",
9855
- "line": 559
9855
+ "line": 581
9856
9856
  },
9857
9857
  "name": "CognitoAuthenticatorProps",
9858
9858
  "properties": [
@@ -9866,7 +9866,7 @@
9866
9866
  "immutable": true,
9867
9867
  "locationInModule": {
9868
9868
  "filename": "use-cases/framework/agents/interactive-agent.ts",
9869
- "line": 579
9869
+ "line": 601
9870
9870
  },
9871
9871
  "name": "removalPolicy",
9872
9872
  "optional": true,
@@ -9884,7 +9884,7 @@
9884
9884
  "immutable": true,
9885
9885
  "locationInModule": {
9886
9886
  "filename": "use-cases/framework/agents/interactive-agent.ts",
9887
- "line": 565
9887
+ "line": 587
9888
9888
  },
9889
9889
  "name": "userPool",
9890
9890
  "optional": true,
@@ -9902,7 +9902,7 @@
9902
9902
  "immutable": true,
9903
9903
  "locationInModule": {
9904
9904
  "filename": "use-cases/framework/agents/interactive-agent.ts",
9905
- "line": 572
9905
+ "line": 594
9906
9906
  },
9907
9907
  "name": "userPoolClient",
9908
9908
  "optional": true,
@@ -10825,6 +10825,224 @@
10825
10825
  ],
10826
10826
  "symbolId": "use-cases/document-processing/chunking-config:DocumentContent"
10827
10827
  },
10828
+ "@cdklabs/cdk-appmod-catalog-blueprints.DynamoDBSessionIndex": {
10829
+ "assembly": "@cdklabs/cdk-appmod-catalog-blueprints",
10830
+ "docs": {
10831
+ "remarks": "Creates a DynamoDB table indexed by user_id (partition key) and session_id (sort key)\nfor efficient querying of a user's sessions. The table stores session metadata\nincluding creation time, last update time, and optional TTL for automatic cleanup.\n\n## Table Schema\n\n- **Partition Key**: user_id (String) - User identifier from authentication\n- **Sort Key**: session_id (String) - Unique session identifier\n- **Attributes**: created_at, updated_at, last_message, expires_at (optional)\n\n## Features\n\n- **Fast Lookups**: Query all sessions for a user in O(1) using partition key\n- **Automatic Expiration**: Optional TTL removes stale sessions automatically\n- **On-Demand Capacity**: Pay-per-request billing, no capacity planning needed\n- **Encryption**: AWS managed or customer-managed KMS encryption\n\n## Usage\n\n```typescript\nimport { Asset } from 'aws-cdk-lib/aws-s3-assets';\nimport { Duration } from 'aws-cdk-lib';\nimport { InteractiveAgent, DynamoDBSessionIndex } from '@cdklabs/cdk-appmod-catalog-blueprints';\n\nconst myPrompt = new Asset(this, 'Prompt', { path: './prompt.txt' });\nconst sessionIndex = new DynamoDBSessionIndex(this, 'SessionIndex', {\n sessionTTL: Duration.days(7)\n});\n\nconst agent = new InteractiveAgent(this, 'Agent', {\n agentName: 'ChatAgent',\n agentDefinition: { bedrockModel: {}, systemPrompt: myPrompt },\n sessionIndex\n});\n```",
10832
+ "stability": "experimental",
10833
+ "summary": "DynamoDB-based session index for fast user to session lookups."
10834
+ },
10835
+ "fqn": "@cdklabs/cdk-appmod-catalog-blueprints.DynamoDBSessionIndex",
10836
+ "initializer": {
10837
+ "docs": {
10838
+ "stability": "experimental"
10839
+ },
10840
+ "locationInModule": {
10841
+ "filename": "use-cases/framework/agents/interactive-agent.ts",
10842
+ "line": 854
10843
+ },
10844
+ "parameters": [
10845
+ {
10846
+ "name": "scope",
10847
+ "type": {
10848
+ "fqn": "constructs.Construct"
10849
+ }
10850
+ },
10851
+ {
10852
+ "name": "id",
10853
+ "type": {
10854
+ "primitive": "string"
10855
+ }
10856
+ },
10857
+ {
10858
+ "name": "props",
10859
+ "optional": true,
10860
+ "type": {
10861
+ "fqn": "@cdklabs/cdk-appmod-catalog-blueprints.DynamoDBSessionIndexProps"
10862
+ }
10863
+ }
10864
+ ]
10865
+ },
10866
+ "interfaces": [
10867
+ "@cdklabs/cdk-appmod-catalog-blueprints.ISessionIndex"
10868
+ ],
10869
+ "kind": "class",
10870
+ "locationInModule": {
10871
+ "filename": "use-cases/framework/agents/interactive-agent.ts",
10872
+ "line": 843
10873
+ },
10874
+ "methods": [
10875
+ {
10876
+ "docs": {
10877
+ "stability": "experimental",
10878
+ "summary": "Get environment variables for Lambda configuration."
10879
+ },
10880
+ "locationInModule": {
10881
+ "filename": "use-cases/framework/agents/interactive-agent.ts",
10882
+ "line": 893
10883
+ },
10884
+ "name": "environmentVariables",
10885
+ "overrides": "@cdklabs/cdk-appmod-catalog-blueprints.ISessionIndex",
10886
+ "returns": {
10887
+ "type": {
10888
+ "collection": {
10889
+ "elementtype": {
10890
+ "primitive": "string"
10891
+ },
10892
+ "kind": "map"
10893
+ }
10894
+ }
10895
+ }
10896
+ },
10897
+ {
10898
+ "docs": {
10899
+ "stability": "experimental",
10900
+ "summary": "Grant read/write permissions to a grantee."
10901
+ },
10902
+ "locationInModule": {
10903
+ "filename": "use-cases/framework/agents/interactive-agent.ts",
10904
+ "line": 886
10905
+ },
10906
+ "name": "grantReadWrite",
10907
+ "overrides": "@cdklabs/cdk-appmod-catalog-blueprints.ISessionIndex",
10908
+ "parameters": [
10909
+ {
10910
+ "name": "grantee",
10911
+ "type": {
10912
+ "fqn": "aws-cdk-lib.aws_iam.IGrantable"
10913
+ }
10914
+ }
10915
+ ]
10916
+ }
10917
+ ],
10918
+ "name": "DynamoDBSessionIndex",
10919
+ "properties": [
10920
+ {
10921
+ "docs": {
10922
+ "stability": "experimental",
10923
+ "summary": "The DynamoDB table used for session index storage."
10924
+ },
10925
+ "immutable": true,
10926
+ "locationInModule": {
10927
+ "filename": "use-cases/framework/agents/interactive-agent.ts",
10928
+ "line": 847
10929
+ },
10930
+ "name": "table",
10931
+ "type": {
10932
+ "fqn": "aws-cdk-lib.aws_dynamodb.ITable"
10933
+ }
10934
+ },
10935
+ {
10936
+ "docs": {
10937
+ "stability": "experimental",
10938
+ "summary": "The session TTL duration (if configured)."
10939
+ },
10940
+ "immutable": true,
10941
+ "locationInModule": {
10942
+ "filename": "use-cases/framework/agents/interactive-agent.ts",
10943
+ "line": 852
10944
+ },
10945
+ "name": "sessionTTL",
10946
+ "optional": true,
10947
+ "type": {
10948
+ "fqn": "aws-cdk-lib.Duration"
10949
+ }
10950
+ }
10951
+ ],
10952
+ "symbolId": "use-cases/framework/agents/interactive-agent:DynamoDBSessionIndex"
10953
+ },
10954
+ "@cdklabs/cdk-appmod-catalog-blueprints.DynamoDBSessionIndexProps": {
10955
+ "assembly": "@cdklabs/cdk-appmod-catalog-blueprints",
10956
+ "datatype": true,
10957
+ "docs": {
10958
+ "stability": "experimental",
10959
+ "summary": "Configuration properties for DynamoDBSessionIndex."
10960
+ },
10961
+ "fqn": "@cdklabs/cdk-appmod-catalog-blueprints.DynamoDBSessionIndexProps",
10962
+ "kind": "interface",
10963
+ "locationInModule": {
10964
+ "filename": "use-cases/framework/agents/interactive-agent.ts",
10965
+ "line": 772
10966
+ },
10967
+ "name": "DynamoDBSessionIndexProps",
10968
+ "properties": [
10969
+ {
10970
+ "abstract": true,
10971
+ "docs": {
10972
+ "default": "AWS managed encryption",
10973
+ "stability": "experimental",
10974
+ "summary": "KMS key for table encryption."
10975
+ },
10976
+ "immutable": true,
10977
+ "locationInModule": {
10978
+ "filename": "use-cases/framework/agents/interactive-agent.ts",
10979
+ "line": 794
10980
+ },
10981
+ "name": "encryptionKey",
10982
+ "optional": true,
10983
+ "type": {
10984
+ "fqn": "aws-cdk-lib.aws_kms.IKey"
10985
+ }
10986
+ },
10987
+ {
10988
+ "abstract": true,
10989
+ "docs": {
10990
+ "default": "RemovalPolicy.DESTROY",
10991
+ "stability": "experimental",
10992
+ "summary": "Removal policy for the DynamoDB table."
10993
+ },
10994
+ "immutable": true,
10995
+ "locationInModule": {
10996
+ "filename": "use-cases/framework/agents/interactive-agent.ts",
10997
+ "line": 801
10998
+ },
10999
+ "name": "removalPolicy",
11000
+ "optional": true,
11001
+ "type": {
11002
+ "fqn": "aws-cdk-lib.RemovalPolicy"
11003
+ }
11004
+ },
11005
+ {
11006
+ "abstract": true,
11007
+ "docs": {
11008
+ "default": "No TTL (sessions persist until explicitly deleted)",
11009
+ "remarks": "When set, expired records are automatically removed by DynamoDB TTL.",
11010
+ "stability": "experimental",
11011
+ "summary": "Time-to-live for session index records."
11012
+ },
11013
+ "immutable": true,
11014
+ "locationInModule": {
11015
+ "filename": "use-cases/framework/agents/interactive-agent.ts",
11016
+ "line": 787
11017
+ },
11018
+ "name": "sessionTTL",
11019
+ "optional": true,
11020
+ "type": {
11021
+ "fqn": "aws-cdk-lib.Duration"
11022
+ }
11023
+ },
11024
+ {
11025
+ "abstract": true,
11026
+ "docs": {
11027
+ "default": "Auto-created table",
11028
+ "remarks": "Table must have partition key 'user_id' (String) and sort key 'session_id' (String).",
11029
+ "stability": "experimental",
11030
+ "summary": "Existing DynamoDB table to use."
11031
+ },
11032
+ "immutable": true,
11033
+ "locationInModule": {
11034
+ "filename": "use-cases/framework/agents/interactive-agent.ts",
11035
+ "line": 779
11036
+ },
11037
+ "name": "table",
11038
+ "optional": true,
11039
+ "type": {
11040
+ "fqn": "aws-cdk-lib.aws_dynamodb.ITable"
11041
+ }
11042
+ }
11043
+ ],
11044
+ "symbolId": "use-cases/framework/agents/interactive-agent:DynamoDBSessionIndexProps"
11045
+ },
10828
11046
  "@cdklabs/cdk-appmod-catalog-blueprints.Entity": {
10829
11047
  "assembly": "@cdklabs/cdk-appmod-catalog-blueprints",
10830
11048
  "datatype": true,
@@ -12067,7 +12285,7 @@
12067
12285
  "kind": "interface",
12068
12286
  "locationInModule": {
12069
12287
  "filename": "use-cases/framework/agents/interactive-agent.ts",
12070
- "line": 544
12288
+ "line": 566
12071
12289
  },
12072
12290
  "methods": [
12073
12291
  {
@@ -12078,7 +12296,7 @@
12078
12296
  },
12079
12297
  "locationInModule": {
12080
12298
  "filename": "use-cases/framework/agents/interactive-agent.ts",
12081
- "line": 553
12299
+ "line": 575
12082
12300
  },
12083
12301
  "name": "environmentVariables",
12084
12302
  "returns": {
@@ -12100,7 +12318,7 @@
12100
12318
  },
12101
12319
  "locationInModule": {
12102
12320
  "filename": "use-cases/framework/agents/interactive-agent.ts",
12103
- "line": 548
12321
+ "line": 570
12104
12322
  },
12105
12323
  "name": "grantAuthenticate",
12106
12324
  "parameters": [
@@ -12127,7 +12345,7 @@
12127
12345
  "kind": "interface",
12128
12346
  "locationInModule": {
12129
12347
  "filename": "use-cases/framework/agents/interactive-agent.ts",
12130
- "line": 36
12348
+ "line": 38
12131
12349
  },
12132
12350
  "methods": [
12133
12351
  {
@@ -12139,7 +12357,7 @@
12139
12357
  },
12140
12358
  "locationInModule": {
12141
12359
  "filename": "use-cases/framework/agents/interactive-agent.ts",
12142
- "line": 41
12360
+ "line": 43
12143
12361
  },
12144
12362
  "name": "attachToFunction",
12145
12363
  "parameters": [
@@ -12164,7 +12382,7 @@
12164
12382
  },
12165
12383
  "locationInModule": {
12166
12384
  "filename": "use-cases/framework/agents/interactive-agent.ts",
12167
- "line": 46
12385
+ "line": 48
12168
12386
  },
12169
12387
  "name": "grantInvoke",
12170
12388
  "parameters": [
@@ -12192,7 +12410,7 @@
12192
12410
  "kind": "interface",
12193
12411
  "locationInModule": {
12194
12412
  "filename": "use-cases/framework/agents/interactive-agent.ts",
12195
- "line": 439
12413
+ "line": 461
12196
12414
  },
12197
12415
  "methods": [
12198
12416
  {
@@ -12204,7 +12422,7 @@
12204
12422
  },
12205
12423
  "locationInModule": {
12206
12424
  "filename": "use-cases/framework/agents/interactive-agent.ts",
12207
- "line": 445
12425
+ "line": 467
12208
12426
  },
12209
12427
  "name": "environmentVariables",
12210
12428
  "returns": {
@@ -12233,7 +12451,7 @@
12233
12451
  "kind": "interface",
12234
12452
  "locationInModule": {
12235
12453
  "filename": "use-cases/framework/agents/interactive-agent.ts",
12236
- "line": 818
12454
+ "line": 999
12237
12455
  },
12238
12456
  "methods": [
12239
12457
  {
@@ -12245,7 +12463,7 @@
12245
12463
  },
12246
12464
  "locationInModule": {
12247
12465
  "filename": "use-cases/framework/agents/interactive-agent.ts",
12248
- "line": 834
12466
+ "line": 1015
12249
12467
  },
12250
12468
  "name": "deploy",
12251
12469
  "parameters": [
@@ -12278,7 +12496,7 @@
12278
12496
  "immutable": true,
12279
12497
  "locationInModule": {
12280
12498
  "filename": "use-cases/framework/agents/interactive-agent.ts",
12281
- "line": 826
12499
+ "line": 1007
12282
12500
  },
12283
12501
  "name": "servicePrincipal",
12284
12502
  "type": {
@@ -12517,6 +12735,70 @@
12517
12735
  ],
12518
12736
  "symbolId": "use-cases/utilities/observability/observable:IObservable"
12519
12737
  },
12738
+ "@cdklabs/cdk-appmod-catalog-blueprints.ISessionIndex": {
12739
+ "assembly": "@cdklabs/cdk-appmod-catalog-blueprints",
12740
+ "docs": {
12741
+ "remarks": "Session indexes provide fast user to session lookups for listing and managing sessions.\nThe default implementation (DynamoDBSessionIndex) uses DynamoDB for efficient queries.",
12742
+ "stability": "experimental",
12743
+ "summary": "Strategy interface for session index storage."
12744
+ },
12745
+ "fqn": "@cdklabs/cdk-appmod-catalog-blueprints.ISessionIndex",
12746
+ "kind": "interface",
12747
+ "locationInModule": {
12748
+ "filename": "use-cases/framework/agents/interactive-agent.ts",
12749
+ "line": 753
12750
+ },
12751
+ "methods": [
12752
+ {
12753
+ "abstract": true,
12754
+ "docs": {
12755
+ "returns": "Environment variables to configure the session index",
12756
+ "stability": "experimental",
12757
+ "summary": "Get environment variables for Lambda configuration."
12758
+ },
12759
+ "locationInModule": {
12760
+ "filename": "use-cases/framework/agents/interactive-agent.ts",
12761
+ "line": 766
12762
+ },
12763
+ "name": "environmentVariables",
12764
+ "returns": {
12765
+ "type": {
12766
+ "collection": {
12767
+ "elementtype": {
12768
+ "primitive": "string"
12769
+ },
12770
+ "kind": "map"
12771
+ }
12772
+ }
12773
+ }
12774
+ },
12775
+ {
12776
+ "abstract": true,
12777
+ "docs": {
12778
+ "stability": "experimental",
12779
+ "summary": "Grant read/write permissions to a grantee."
12780
+ },
12781
+ "locationInModule": {
12782
+ "filename": "use-cases/framework/agents/interactive-agent.ts",
12783
+ "line": 759
12784
+ },
12785
+ "name": "grantReadWrite",
12786
+ "parameters": [
12787
+ {
12788
+ "docs": {
12789
+ "summary": "- The principal that needs access to the session index."
12790
+ },
12791
+ "name": "grantee",
12792
+ "type": {
12793
+ "fqn": "aws-cdk-lib.aws_iam.IGrantable"
12794
+ }
12795
+ }
12796
+ ]
12797
+ }
12798
+ ],
12799
+ "name": "ISessionIndex",
12800
+ "symbolId": "use-cases/framework/agents/interactive-agent:ISessionIndex"
12801
+ },
12520
12802
  "@cdklabs/cdk-appmod-catalog-blueprints.ISessionStore": {
12521
12803
  "assembly": "@cdklabs/cdk-appmod-catalog-blueprints",
12522
12804
  "docs": {
@@ -12529,7 +12811,7 @@
12529
12811
  "kind": "interface",
12530
12812
  "locationInModule": {
12531
12813
  "filename": "use-cases/framework/agents/interactive-agent.ts",
12532
- "line": 290
12814
+ "line": 312
12533
12815
  },
12534
12816
  "methods": [
12535
12817
  {
@@ -12540,7 +12822,7 @@
12540
12822
  },
12541
12823
  "locationInModule": {
12542
12824
  "filename": "use-cases/framework/agents/interactive-agent.ts",
12543
- "line": 301
12825
+ "line": 323
12544
12826
  },
12545
12827
  "name": "grantReadWrite",
12546
12828
  "parameters": [
@@ -12567,7 +12849,7 @@
12567
12849
  "immutable": true,
12568
12850
  "locationInModule": {
12569
12851
  "filename": "use-cases/framework/agents/interactive-agent.ts",
12570
- "line": 294
12852
+ "line": 316
12571
12853
  },
12572
12854
  "name": "sessionBucket",
12573
12855
  "optional": true,
@@ -12593,7 +12875,7 @@
12593
12875
  },
12594
12876
  "locationInModule": {
12595
12877
  "filename": "use-cases/framework/agents/interactive-agent.ts",
12596
- "line": 1486
12878
+ "line": 1706
12597
12879
  },
12598
12880
  "parameters": [
12599
12881
  {
@@ -12619,7 +12901,7 @@
12619
12901
  "kind": "class",
12620
12902
  "locationInModule": {
12621
12903
  "filename": "use-cases/framework/agents/interactive-agent.ts",
12622
- "line": 1476
12904
+ "line": 1684
12623
12905
  },
12624
12906
  "name": "InteractiveAgent",
12625
12907
  "properties": [
@@ -12630,7 +12912,7 @@
12630
12912
  "immutable": true,
12631
12913
  "locationInModule": {
12632
12914
  "filename": "use-cases/framework/agents/interactive-agent.ts",
12633
- "line": 1482
12915
+ "line": 1690
12634
12916
  },
12635
12917
  "name": "apiEndpoint",
12636
12918
  "type": {
@@ -12644,7 +12926,7 @@
12644
12926
  "immutable": true,
12645
12927
  "locationInModule": {
12646
12928
  "filename": "use-cases/framework/agents/interactive-agent.ts",
12647
- "line": 1478
12929
+ "line": 1686
12648
12930
  },
12649
12931
  "name": "adapter",
12650
12932
  "optional": true,
@@ -12661,7 +12943,7 @@
12661
12943
  "immutable": true,
12662
12944
  "locationInModule": {
12663
12945
  "filename": "use-cases/framework/agents/interactive-agent.ts",
12664
- "line": 1477
12946
+ "line": 1685
12665
12947
  },
12666
12948
  "name": "agentFunction",
12667
12949
  "optional": true,
@@ -12677,7 +12959,7 @@
12677
12959
  "immutable": true,
12678
12960
  "locationInModule": {
12679
12961
  "filename": "use-cases/framework/agents/interactive-agent.ts",
12680
- "line": 1481
12962
+ "line": 1689
12681
12963
  },
12682
12964
  "name": "authenticator",
12683
12965
  "optional": true,
@@ -12692,7 +12974,7 @@
12692
12974
  "immutable": true,
12693
12975
  "locationInModule": {
12694
12976
  "filename": "use-cases/framework/agents/interactive-agent.ts",
12695
- "line": 1484
12977
+ "line": 1692
12696
12978
  },
12697
12979
  "name": "cfnRuntime",
12698
12980
  "optional": true,
@@ -12700,6 +12982,22 @@
12700
12982
  "fqn": "aws-cdk-lib.aws_bedrockagentcore.CfnRuntime"
12701
12983
  }
12702
12984
  },
12985
+ {
12986
+ "docs": {
12987
+ "stability": "experimental",
12988
+ "summary": "The Cognito User Pools authorizer (only available when using LambdaHostingAdapter with CognitoAuthenticator)."
12989
+ },
12990
+ "immutable": true,
12991
+ "locationInModule": {
12992
+ "filename": "use-cases/framework/agents/interactive-agent.ts",
12993
+ "line": 1704
12994
+ },
12995
+ "name": "cognitoAuthorizer",
12996
+ "optional": true,
12997
+ "type": {
12998
+ "fqn": "aws-cdk-lib.aws_apigateway.CognitoUserPoolsAuthorizer"
12999
+ }
13000
+ },
12703
13001
  {
12704
13002
  "docs": {
12705
13003
  "stability": "experimental"
@@ -12707,7 +13005,7 @@
12707
13005
  "immutable": true,
12708
13006
  "locationInModule": {
12709
13007
  "filename": "use-cases/framework/agents/interactive-agent.ts",
12710
- "line": 1480
13008
+ "line": 1688
12711
13009
  },
12712
13010
  "name": "contextStrategy",
12713
13011
  "optional": true,
@@ -12715,6 +13013,22 @@
12715
13013
  "fqn": "@cdklabs/cdk-appmod-catalog-blueprints.IContextStrategy"
12716
13014
  }
12717
13015
  },
13016
+ {
13017
+ "docs": {
13018
+ "stability": "experimental",
13019
+ "summary": "The REST API Gateway (only available when using LambdaHostingAdapter with StreamingHttpAdapter)."
13020
+ },
13021
+ "immutable": true,
13022
+ "locationInModule": {
13023
+ "filename": "use-cases/framework/agents/interactive-agent.ts",
13024
+ "line": 1700
13025
+ },
13026
+ "name": "restApi",
13027
+ "optional": true,
13028
+ "type": {
13029
+ "fqn": "aws-cdk-lib.aws_apigateway.RestApi"
13030
+ }
13031
+ },
12718
13032
  {
12719
13033
  "docs": {
12720
13034
  "stability": "experimental"
@@ -12722,7 +13036,7 @@
12722
13036
  "immutable": true,
12723
13037
  "locationInModule": {
12724
13038
  "filename": "use-cases/framework/agents/interactive-agent.ts",
12725
- "line": 1483
13039
+ "line": 1691
12726
13040
  },
12727
13041
  "name": "sessionBucket",
12728
13042
  "optional": true,
@@ -12730,6 +13044,22 @@
12730
13044
  "fqn": "aws-cdk-lib.aws_s3.IBucket"
12731
13045
  }
12732
13046
  },
13047
+ {
13048
+ "docs": {
13049
+ "stability": "experimental",
13050
+ "summary": "The session index for fast user to session lookups."
13051
+ },
13052
+ "immutable": true,
13053
+ "locationInModule": {
13054
+ "filename": "use-cases/framework/agents/interactive-agent.ts",
13055
+ "line": 1696
13056
+ },
13057
+ "name": "sessionIndex",
13058
+ "optional": true,
13059
+ "type": {
13060
+ "fqn": "@cdklabs/cdk-appmod-catalog-blueprints.ISessionIndex"
13061
+ }
13062
+ },
12733
13063
  {
12734
13064
  "docs": {
12735
13065
  "stability": "experimental"
@@ -12737,7 +13067,7 @@
12737
13067
  "immutable": true,
12738
13068
  "locationInModule": {
12739
13069
  "filename": "use-cases/framework/agents/interactive-agent.ts",
12740
- "line": 1479
13070
+ "line": 1687
12741
13071
  },
12742
13072
  "name": "sessionStore",
12743
13073
  "optional": true,
@@ -12763,7 +13093,7 @@
12763
13093
  "kind": "interface",
12764
13094
  "locationInModule": {
12765
13095
  "filename": "use-cases/framework/agents/interactive-agent.ts",
12766
- "line": 1323
13096
+ "line": 1514
12767
13097
  },
12768
13098
  "name": "InteractiveAgentProps",
12769
13099
  "properties": [
@@ -12777,7 +13107,7 @@
12777
13107
  "immutable": true,
12778
13108
  "locationInModule": {
12779
13109
  "filename": "use-cases/framework/agents/interactive-agent.ts",
12780
- "line": 1415
13110
+ "line": 1623
12781
13111
  },
12782
13112
  "name": "architecture",
12783
13113
  "optional": true,
@@ -12795,7 +13125,7 @@
12795
13125
  "immutable": true,
12796
13126
  "locationInModule": {
12797
13127
  "filename": "use-cases/framework/agents/interactive-agent.ts",
12798
- "line": 1394
13128
+ "line": 1593
12799
13129
  },
12800
13130
  "name": "authenticator",
12801
13131
  "optional": true,
@@ -12813,7 +13143,7 @@
12813
13143
  "immutable": true,
12814
13144
  "locationInModule": {
12815
13145
  "filename": "use-cases/framework/agents/interactive-agent.ts",
12816
- "line": 1342
13146
+ "line": 1533
12817
13147
  },
12818
13148
  "name": "communicationAdapter",
12819
13149
  "optional": true,
@@ -12832,7 +13162,7 @@
12832
13162
  "immutable": true,
12833
13163
  "locationInModule": {
12834
13164
  "filename": "use-cases/framework/agents/interactive-agent.ts",
12835
- "line": 1376
13165
+ "line": 1575
12836
13166
  },
12837
13167
  "name": "contextStrategy",
12838
13168
  "optional": true,
@@ -12840,6 +13170,30 @@
12840
13170
  "fqn": "@cdklabs/cdk-appmod-catalog-blueprints.IContextStrategy"
12841
13171
  }
12842
13172
  },
13173
+ {
13174
+ "abstract": true,
13175
+ "docs": {
13176
+ "default": "['POST', 'OPTIONS']",
13177
+ "remarks": "Use this to enable additional methods (GET, DELETE, PUT) for custom routes\nadded to the REST API.",
13178
+ "stability": "experimental",
13179
+ "summary": "HTTP methods to allow in CORS preflight responses."
13180
+ },
13181
+ "immutable": true,
13182
+ "locationInModule": {
13183
+ "filename": "use-cases/framework/agents/interactive-agent.ts",
13184
+ "line": 1602
13185
+ },
13186
+ "name": "corsAllowMethods",
13187
+ "optional": true,
13188
+ "type": {
13189
+ "collection": {
13190
+ "elementtype": {
13191
+ "primitive": "string"
13192
+ },
13193
+ "kind": "array"
13194
+ }
13195
+ }
13196
+ },
12843
13197
  {
12844
13198
  "abstract": true,
12845
13199
  "docs": {
@@ -12851,7 +13205,7 @@
12851
13205
  "immutable": true,
12852
13206
  "locationInModule": {
12853
13207
  "filename": "use-cases/framework/agents/interactive-agent.ts",
12854
- "line": 1336
13208
+ "line": 1527
12855
13209
  },
12856
13210
  "name": "hostingAdapter",
12857
13211
  "optional": true,
@@ -12869,7 +13223,7 @@
12869
13223
  "immutable": true,
12870
13224
  "locationInModule": {
12871
13225
  "filename": "use-cases/framework/agents/interactive-agent.ts",
12872
- "line": 1401
13226
+ "line": 1609
12873
13227
  },
12874
13228
  "name": "memorySize",
12875
13229
  "optional": true,
@@ -12889,7 +13243,7 @@
12889
13243
  "immutable": true,
12890
13244
  "locationInModule": {
12891
13245
  "filename": "use-cases/framework/agents/interactive-agent.ts",
12892
- "line": 1387
13246
+ "line": 1586
12893
13247
  },
12894
13248
  "name": "messageHistoryLimit",
12895
13249
  "optional": true,
@@ -12907,7 +13261,7 @@
12907
13261
  "immutable": true,
12908
13262
  "locationInModule": {
12909
13263
  "filename": "use-cases/framework/agents/interactive-agent.ts",
12910
- "line": 1422
13264
+ "line": 1630
12911
13265
  },
12912
13266
  "name": "reservedConcurrentExecutions",
12913
13267
  "optional": true,
@@ -12926,7 +13280,7 @@
12926
13280
  "immutable": true,
12927
13281
  "locationInModule": {
12928
13282
  "filename": "use-cases/framework/agents/interactive-agent.ts",
12929
- "line": 1360
13283
+ "line": 1551
12930
13284
  },
12931
13285
  "name": "sessionBucket",
12932
13286
  "optional": true,
@@ -12934,6 +13288,25 @@
12934
13288
  "fqn": "aws-cdk-lib.aws_s3.IBucket"
12935
13289
  }
12936
13290
  },
13291
+ {
13292
+ "abstract": true,
13293
+ "docs": {
13294
+ "default": "DynamoDBSessionIndex (auto-created)",
13295
+ "remarks": "Provides efficient querying of a user's sessions for listing and management.",
13296
+ "stability": "experimental",
13297
+ "summary": "Session index for fast user to session lookups."
13298
+ },
13299
+ "immutable": true,
13300
+ "locationInModule": {
13301
+ "filename": "use-cases/framework/agents/interactive-agent.ts",
13302
+ "line": 1566
13303
+ },
13304
+ "name": "sessionIndex",
13305
+ "optional": true,
13306
+ "type": {
13307
+ "fqn": "@cdklabs/cdk-appmod-catalog-blueprints.ISessionIndex"
13308
+ }
13309
+ },
12937
13310
  {
12938
13311
  "abstract": true,
12939
13312
  "docs": {
@@ -12946,7 +13319,7 @@
12946
13319
  "immutable": true,
12947
13320
  "locationInModule": {
12948
13321
  "filename": "use-cases/framework/agents/interactive-agent.ts",
12949
- "line": 1352
13322
+ "line": 1543
12950
13323
  },
12951
13324
  "name": "sessionStore",
12952
13325
  "optional": true,
@@ -12964,7 +13337,7 @@
12964
13337
  "immutable": true,
12965
13338
  "locationInModule": {
12966
13339
  "filename": "use-cases/framework/agents/interactive-agent.ts",
12967
- "line": 1367
13340
+ "line": 1558
12968
13341
  },
12969
13342
  "name": "sessionTTL",
12970
13343
  "optional": true,
@@ -12982,7 +13355,7 @@
12982
13355
  "immutable": true,
12983
13356
  "locationInModule": {
12984
13357
  "filename": "use-cases/framework/agents/interactive-agent.ts",
12985
- "line": 1408
13358
+ "line": 1616
12986
13359
  },
12987
13360
  "name": "timeout",
12988
13361
  "optional": true,
@@ -13244,7 +13617,7 @@
13244
13617
  },
13245
13618
  "locationInModule": {
13246
13619
  "filename": "use-cases/framework/agents/interactive-agent.ts",
13247
- "line": 905
13620
+ "line": 1095
13248
13621
  },
13249
13622
  "parameters": [
13250
13623
  {
@@ -13262,7 +13635,7 @@
13262
13635
  "kind": "class",
13263
13636
  "locationInModule": {
13264
13637
  "filename": "use-cases/framework/agents/interactive-agent.ts",
13265
- "line": 897
13638
+ "line": 1087
13266
13639
  },
13267
13640
  "methods": [
13268
13641
  {
@@ -13272,7 +13645,7 @@
13272
13645
  },
13273
13646
  "locationInModule": {
13274
13647
  "filename": "use-cases/framework/agents/interactive-agent.ts",
13275
- "line": 914
13648
+ "line": 1104
13276
13649
  },
13277
13650
  "name": "deploy",
13278
13651
  "overrides": "@cdklabs/cdk-appmod-catalog-blueprints.IHostingAdapter",
@@ -13302,7 +13675,7 @@
13302
13675
  "immutable": true,
13303
13676
  "locationInModule": {
13304
13677
  "filename": "use-cases/framework/agents/interactive-agent.ts",
13305
- "line": 909
13678
+ "line": 1099
13306
13679
  },
13307
13680
  "name": "servicePrincipal",
13308
13681
  "overrides": "@cdklabs/cdk-appmod-catalog-blueprints.IHostingAdapter",
@@ -13318,7 +13691,7 @@
13318
13691
  "immutable": true,
13319
13692
  "locationInModule": {
13320
13693
  "filename": "use-cases/framework/agents/interactive-agent.ts",
13321
- "line": 901
13694
+ "line": 1091
13322
13695
  },
13323
13696
  "name": "authenticator",
13324
13697
  "optional": true,
@@ -13334,7 +13707,7 @@
13334
13707
  "immutable": true,
13335
13708
  "locationInModule": {
13336
13709
  "filename": "use-cases/framework/agents/interactive-agent.ts",
13337
- "line": 899
13710
+ "line": 1089
13338
13711
  },
13339
13712
  "name": "communicationAdapter",
13340
13713
  "optional": true,
@@ -13356,7 +13729,7 @@
13356
13729
  "kind": "interface",
13357
13730
  "locationInModule": {
13358
13731
  "filename": "use-cases/framework/agents/interactive-agent.ts",
13359
- "line": 840
13732
+ "line": 1021
13360
13733
  },
13361
13734
  "name": "LambdaHostingAdapterProps",
13362
13735
  "properties": [
@@ -13370,7 +13743,7 @@
13370
13743
  "immutable": true,
13371
13744
  "locationInModule": {
13372
13745
  "filename": "use-cases/framework/agents/interactive-agent.ts",
13373
- "line": 874
13746
+ "line": 1064
13374
13747
  },
13375
13748
  "name": "architecture",
13376
13749
  "optional": true,
@@ -13388,7 +13761,7 @@
13388
13761
  "immutable": true,
13389
13762
  "locationInModule": {
13390
13763
  "filename": "use-cases/framework/agents/interactive-agent.ts",
13391
- "line": 853
13764
+ "line": 1034
13392
13765
  },
13393
13766
  "name": "authenticator",
13394
13767
  "optional": true,
@@ -13406,7 +13779,7 @@
13406
13779
  "immutable": true,
13407
13780
  "locationInModule": {
13408
13781
  "filename": "use-cases/framework/agents/interactive-agent.ts",
13409
- "line": 846
13782
+ "line": 1027
13410
13783
  },
13411
13784
  "name": "communicationAdapter",
13412
13785
  "optional": true,
@@ -13414,6 +13787,30 @@
13414
13787
  "fqn": "@cdklabs/cdk-appmod-catalog-blueprints.ICommunicationAdapter"
13415
13788
  }
13416
13789
  },
13790
+ {
13791
+ "abstract": true,
13792
+ "docs": {
13793
+ "default": "['POST', 'OPTIONS']",
13794
+ "remarks": "Use this to enable additional methods (GET, DELETE, PUT) for custom routes\nadded to the REST API.",
13795
+ "stability": "experimental",
13796
+ "summary": "HTTP methods to allow in CORS preflight responses."
13797
+ },
13798
+ "immutable": true,
13799
+ "locationInModule": {
13800
+ "filename": "use-cases/framework/agents/interactive-agent.ts",
13801
+ "line": 1043
13802
+ },
13803
+ "name": "corsAllowMethods",
13804
+ "optional": true,
13805
+ "type": {
13806
+ "collection": {
13807
+ "elementtype": {
13808
+ "primitive": "string"
13809
+ },
13810
+ "kind": "array"
13811
+ }
13812
+ }
13813
+ },
13417
13814
  {
13418
13815
  "abstract": true,
13419
13816
  "docs": {
@@ -13424,7 +13821,7 @@
13424
13821
  "immutable": true,
13425
13822
  "locationInModule": {
13426
13823
  "filename": "use-cases/framework/agents/interactive-agent.ts",
13427
- "line": 860
13824
+ "line": 1050
13428
13825
  },
13429
13826
  "name": "memorySize",
13430
13827
  "optional": true,
@@ -13442,7 +13839,7 @@
13442
13839
  "immutable": true,
13443
13840
  "locationInModule": {
13444
13841
  "filename": "use-cases/framework/agents/interactive-agent.ts",
13445
- "line": 881
13842
+ "line": 1071
13446
13843
  },
13447
13844
  "name": "reservedConcurrentExecutions",
13448
13845
  "optional": true,
@@ -13460,7 +13857,7 @@
13460
13857
  "immutable": true,
13461
13858
  "locationInModule": {
13462
13859
  "filename": "use-cases/framework/agents/interactive-agent.ts",
13463
- "line": 867
13860
+ "line": 1057
13464
13861
  },
13465
13862
  "name": "timeout",
13466
13863
  "optional": true,
@@ -14761,7 +15158,7 @@
14761
15158
  "kind": "class",
14762
15159
  "locationInModule": {
14763
15160
  "filename": "use-cases/framework/agents/interactive-agent.ts",
14764
- "line": 736
15161
+ "line": 917
14765
15162
  },
14766
15163
  "methods": [
14767
15164
  {
@@ -14771,7 +15168,7 @@
14771
15168
  },
14772
15169
  "locationInModule": {
14773
15170
  "filename": "use-cases/framework/agents/interactive-agent.ts",
14774
- "line": 747
15171
+ "line": 928
14775
15172
  },
14776
15173
  "name": "environmentVariables",
14777
15174
  "overrides": "@cdklabs/cdk-appmod-catalog-blueprints.IAuthenticator",
@@ -14793,7 +15190,7 @@
14793
15190
  },
14794
15191
  "locationInModule": {
14795
15192
  "filename": "use-cases/framework/agents/interactive-agent.ts",
14796
- "line": 740
15193
+ "line": 921
14797
15194
  },
14798
15195
  "name": "grantAuthenticate",
14799
15196
  "overrides": "@cdklabs/cdk-appmod-catalog-blueprints.IAuthenticator",
@@ -14914,7 +15311,7 @@
14914
15311
  "kind": "class",
14915
15312
  "locationInModule": {
14916
15313
  "filename": "use-cases/framework/agents/interactive-agent.ts",
14917
- "line": 526
15314
+ "line": 548
14918
15315
  },
14919
15316
  "methods": [
14920
15317
  {
@@ -14924,7 +15321,7 @@
14924
15321
  },
14925
15322
  "locationInModule": {
14926
15323
  "filename": "use-cases/framework/agents/interactive-agent.ts",
14927
- "line": 530
15324
+ "line": 552
14928
15325
  },
14929
15326
  "name": "environmentVariables",
14930
15327
  "overrides": "@cdklabs/cdk-appmod-catalog-blueprints.IContextStrategy",
@@ -15522,7 +15919,7 @@
15522
15919
  },
15523
15920
  "locationInModule": {
15524
15921
  "filename": "use-cases/framework/agents/interactive-agent.ts",
15525
- "line": 389
15922
+ "line": 411
15526
15923
  },
15527
15924
  "parameters": [
15528
15925
  {
@@ -15552,7 +15949,7 @@
15552
15949
  "kind": "class",
15553
15950
  "locationInModule": {
15554
15951
  "filename": "use-cases/framework/agents/interactive-agent.ts",
15555
- "line": 378
15952
+ "line": 400
15556
15953
  },
15557
15954
  "methods": [
15558
15955
  {
@@ -15562,7 +15959,7 @@
15562
15959
  },
15563
15960
  "locationInModule": {
15564
15961
  "filename": "use-cases/framework/agents/interactive-agent.ts",
15565
- "line": 424
15962
+ "line": 446
15566
15963
  },
15567
15964
  "name": "grantReadWrite",
15568
15965
  "overrides": "@cdklabs/cdk-appmod-catalog-blueprints.ISessionStore",
@@ -15586,7 +15983,7 @@
15586
15983
  "immutable": true,
15587
15984
  "locationInModule": {
15588
15985
  "filename": "use-cases/framework/agents/interactive-agent.ts",
15589
- "line": 382
15986
+ "line": 404
15590
15987
  },
15591
15988
  "name": "bucket",
15592
15989
  "type": {
@@ -15601,7 +15998,7 @@
15601
15998
  "immutable": true,
15602
15999
  "locationInModule": {
15603
16000
  "filename": "use-cases/framework/agents/interactive-agent.ts",
15604
- "line": 387
16001
+ "line": 409
15605
16002
  },
15606
16003
  "name": "sessionTTL",
15607
16004
  "type": {
@@ -15616,7 +16013,7 @@
15616
16013
  "immutable": true,
15617
16014
  "locationInModule": {
15618
16015
  "filename": "use-cases/framework/agents/interactive-agent.ts",
15619
- "line": 417
16016
+ "line": 439
15620
16017
  },
15621
16018
  "name": "sessionBucket",
15622
16019
  "optional": true,
@@ -15640,7 +16037,7 @@
15640
16037
  "kind": "interface",
15641
16038
  "locationInModule": {
15642
16039
  "filename": "use-cases/framework/agents/interactive-agent.ts",
15643
- "line": 309
16040
+ "line": 331
15644
16041
  },
15645
16042
  "name": "S3SessionManagerProps",
15646
16043
  "properties": [
@@ -15654,7 +16051,7 @@
15654
16051
  "immutable": true,
15655
16052
  "locationInModule": {
15656
16053
  "filename": "use-cases/framework/agents/interactive-agent.ts",
15657
- "line": 315
16054
+ "line": 337
15658
16055
  },
15659
16056
  "name": "bucket",
15660
16057
  "optional": true,
@@ -15672,7 +16069,7 @@
15672
16069
  "immutable": true,
15673
16070
  "locationInModule": {
15674
16071
  "filename": "use-cases/framework/agents/interactive-agent.ts",
15675
- "line": 330
16072
+ "line": 352
15676
16073
  },
15677
16074
  "name": "encryptionKey",
15678
16075
  "optional": true,
@@ -15690,7 +16087,7 @@
15690
16087
  "immutable": true,
15691
16088
  "locationInModule": {
15692
16089
  "filename": "use-cases/framework/agents/interactive-agent.ts",
15693
- "line": 337
16090
+ "line": 359
15694
16091
  },
15695
16092
  "name": "removalPolicy",
15696
16093
  "optional": true,
@@ -15709,7 +16106,7 @@
15709
16106
  "immutable": true,
15710
16107
  "locationInModule": {
15711
16108
  "filename": "use-cases/framework/agents/interactive-agent.ts",
15712
- "line": 323
16109
+ "line": 345
15713
16110
  },
15714
16111
  "name": "sessionTTL",
15715
16112
  "optional": true,
@@ -15735,7 +16132,7 @@
15735
16132
  },
15736
16133
  "locationInModule": {
15737
16134
  "filename": "use-cases/framework/agents/interactive-agent.ts",
15738
- "line": 495
16135
+ "line": 517
15739
16136
  },
15740
16137
  "parameters": [
15741
16138
  {
@@ -15753,7 +16150,7 @@
15753
16150
  "kind": "class",
15754
16151
  "locationInModule": {
15755
16152
  "filename": "use-cases/framework/agents/interactive-agent.ts",
15756
- "line": 489
16153
+ "line": 511
15757
16154
  },
15758
16155
  "methods": [
15759
16156
  {
@@ -15763,7 +16160,7 @@
15763
16160
  },
15764
16161
  "locationInModule": {
15765
16162
  "filename": "use-cases/framework/agents/interactive-agent.ts",
15766
- "line": 508
16163
+ "line": 530
15767
16164
  },
15768
16165
  "name": "environmentVariables",
15769
16166
  "overrides": "@cdklabs/cdk-appmod-catalog-blueprints.IContextStrategy",
@@ -15789,7 +16186,7 @@
15789
16186
  "immutable": true,
15790
16187
  "locationInModule": {
15791
16188
  "filename": "use-cases/framework/agents/interactive-agent.ts",
15792
- "line": 493
16189
+ "line": 515
15793
16190
  },
15794
16191
  "name": "windowSize",
15795
16192
  "type": {
@@ -15811,7 +16208,7 @@
15811
16208
  "kind": "interface",
15812
16209
  "locationInModule": {
15813
16210
  "filename": "use-cases/framework/agents/interactive-agent.ts",
15814
- "line": 454
16211
+ "line": 476
15815
16212
  },
15816
16213
  "name": "SlidingWindowConversationManagerProps",
15817
16214
  "properties": [
@@ -15825,7 +16222,7 @@
15825
16222
  "immutable": true,
15826
16223
  "locationInModule": {
15827
16224
  "filename": "use-cases/framework/agents/interactive-agent.ts",
15828
- "line": 460
16225
+ "line": 482
15829
16226
  },
15830
16227
  "name": "windowSize",
15831
16228
  "optional": true,
@@ -15949,7 +16346,7 @@
15949
16346
  },
15950
16347
  "locationInModule": {
15951
16348
  "filename": "use-cases/framework/agents/interactive-agent.ts",
15952
- "line": 145
16349
+ "line": 161
15953
16350
  },
15954
16351
  "parameters": [
15955
16352
  {
@@ -15967,7 +16364,7 @@
15967
16364
  "kind": "class",
15968
16365
  "locationInModule": {
15969
16366
  "filename": "use-cases/framework/agents/interactive-agent.ts",
15970
- "line": 131
16367
+ "line": 142
15971
16368
  },
15972
16369
  "methods": [
15973
16370
  {
@@ -15978,7 +16375,7 @@
15978
16375
  },
15979
16376
  "locationInModule": {
15980
16377
  "filename": "use-cases/framework/agents/interactive-agent.ts",
15981
- "line": 153
16378
+ "line": 169
15982
16379
  },
15983
16380
  "name": "attachToFunction",
15984
16381
  "overrides": "@cdklabs/cdk-appmod-catalog-blueprints.ICommunicationAdapter",
@@ -16004,7 +16401,7 @@
16004
16401
  },
16005
16402
  "locationInModule": {
16006
16403
  "filename": "use-cases/framework/agents/interactive-agent.ts",
16007
- "line": 265
16404
+ "line": 287
16008
16405
  },
16009
16406
  "name": "grantInvoke",
16010
16407
  "overrides": "@cdklabs/cdk-appmod-catalog-blueprints.ICommunicationAdapter",
@@ -16028,7 +16425,7 @@
16028
16425
  "immutable": true,
16029
16426
  "locationInModule": {
16030
16427
  "filename": "use-cases/framework/agents/interactive-agent.ts",
16031
- "line": 140
16428
+ "line": 156
16032
16429
  },
16033
16430
  "name": "apiEndpoint",
16034
16431
  "optional": true,
@@ -16036,6 +16433,22 @@
16036
16433
  "primitive": "string"
16037
16434
  }
16038
16435
  },
16436
+ {
16437
+ "docs": {
16438
+ "stability": "experimental",
16439
+ "summary": "The Cognito User Pools authorizer (if Cognito authentication is enabled)."
16440
+ },
16441
+ "immutable": true,
16442
+ "locationInModule": {
16443
+ "filename": "use-cases/framework/agents/interactive-agent.ts",
16444
+ "line": 151
16445
+ },
16446
+ "name": "cognitoAuthorizer",
16447
+ "optional": true,
16448
+ "type": {
16449
+ "fqn": "aws-cdk-lib.aws_apigateway.CognitoUserPoolsAuthorizer"
16450
+ }
16451
+ },
16039
16452
  {
16040
16453
  "docs": {
16041
16454
  "stability": "experimental",
@@ -16044,7 +16457,7 @@
16044
16457
  "immutable": true,
16045
16458
  "locationInModule": {
16046
16459
  "filename": "use-cases/framework/agents/interactive-agent.ts",
16047
- "line": 135
16460
+ "line": 146
16048
16461
  },
16049
16462
  "name": "restApi",
16050
16463
  "optional": true,
@@ -16066,7 +16479,7 @@
16066
16479
  "kind": "interface",
16067
16480
  "locationInModule": {
16068
16481
  "filename": "use-cases/framework/agents/interactive-agent.ts",
16069
- "line": 67
16482
+ "line": 69
16070
16483
  },
16071
16484
  "name": "StreamingHttpAdapterProps",
16072
16485
  "properties": [
@@ -16080,7 +16493,7 @@
16080
16493
  "immutable": true,
16081
16494
  "locationInModule": {
16082
16495
  "filename": "use-cases/framework/agents/interactive-agent.ts",
16083
- "line": 87
16496
+ "line": 89
16084
16497
  },
16085
16498
  "name": "authenticator",
16086
16499
  "optional": true,
@@ -16088,6 +16501,30 @@
16088
16501
  "fqn": "@cdklabs/cdk-appmod-catalog-blueprints.IAuthenticator"
16089
16502
  }
16090
16503
  },
16504
+ {
16505
+ "abstract": true,
16506
+ "docs": {
16507
+ "default": "['POST', 'OPTIONS']",
16508
+ "remarks": "Use this to enable additional methods (GET, DELETE, PUT) for custom routes\nadded to the REST API.",
16509
+ "stability": "experimental",
16510
+ "summary": "HTTP methods to allow in CORS preflight responses."
16511
+ },
16512
+ "immutable": true,
16513
+ "locationInModule": {
16514
+ "filename": "use-cases/framework/agents/interactive-agent.ts",
16515
+ "line": 98
16516
+ },
16517
+ "name": "corsAllowMethods",
16518
+ "optional": true,
16519
+ "type": {
16520
+ "collection": {
16521
+ "elementtype": {
16522
+ "primitive": "string"
16523
+ },
16524
+ "kind": "array"
16525
+ }
16526
+ }
16527
+ },
16091
16528
  {
16092
16529
  "abstract": true,
16093
16530
  "docs": {
@@ -16098,7 +16535,7 @@
16098
16535
  "immutable": true,
16099
16536
  "locationInModule": {
16100
16537
  "filename": "use-cases/framework/agents/interactive-agent.ts",
16101
- "line": 73
16538
+ "line": 75
16102
16539
  },
16103
16540
  "name": "stageName",
16104
16541
  "optional": true,
@@ -16116,7 +16553,7 @@
16116
16553
  "immutable": true,
16117
16554
  "locationInModule": {
16118
16555
  "filename": "use-cases/framework/agents/interactive-agent.ts",
16119
- "line": 80
16556
+ "line": 82
16120
16557
  },
16121
16558
  "name": "throttle",
16122
16559
  "optional": true,
@@ -16138,7 +16575,7 @@
16138
16575
  "kind": "interface",
16139
16576
  "locationInModule": {
16140
16577
  "filename": "use-cases/framework/agents/interactive-agent.ts",
16141
- "line": 52
16578
+ "line": 54
16142
16579
  },
16143
16580
  "name": "ThrottleSettings",
16144
16581
  "properties": [
@@ -16151,7 +16588,7 @@
16151
16588
  "immutable": true,
16152
16589
  "locationInModule": {
16153
16590
  "filename": "use-cases/framework/agents/interactive-agent.ts",
16154
- "line": 61
16591
+ "line": 63
16155
16592
  },
16156
16593
  "name": "burstLimit",
16157
16594
  "optional": true,
@@ -16168,7 +16605,7 @@
16168
16605
  "immutable": true,
16169
16606
  "locationInModule": {
16170
16607
  "filename": "use-cases/framework/agents/interactive-agent.ts",
16171
- "line": 56
16608
+ "line": 58
16172
16609
  },
16173
16610
  "name": "rateLimit",
16174
16611
  "optional": true,
@@ -16425,6 +16862,6 @@
16425
16862
  "usedFeatures": [
16426
16863
  "class-covariant-overrides"
16427
16864
  ],
16428
- "version": "1.13.0",
16429
- "fingerprint": "RHQOIz6VLIJJ6kW40RxH6bUHCTFCS9LE6RqxWQkJWMY="
16865
+ "version": "1.14.0",
16866
+ "fingerprint": "oxOGj5dgk8vyVPUWyy66mkcPFqrXQxGeSP8NEFs1flg="
16430
16867
  }