Skip to content

Commit 8f48a7f

Browse files
authored
Merge branch 'main' into bug_fixes
Signed-off-by: Dinesh Sajwan <sajwandinesh03@gmail.com>
2 parents 898c2b7 + 3458c69 commit 8f48a7f

File tree

125 files changed

+15914
-2658
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

125 files changed

+15914
-2658
lines changed

.gitignore

Lines changed: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.npmignore

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.projen/deps.json

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.projen/tasks.json

Lines changed: 69 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.projenrc.ts

Lines changed: 69 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ import {
2929
const GITHUB_USER = 'awslabs';
3030
const PUBLICATION_NAMESPACE = 'cdklabs';
3131
const PROJECT_NAME = 'generative-ai-cdk-constructs';
32-
const CDK_VERSION: string = '2.187.0';
32+
const CDK_VERSION: string = '2.189.0';
3333

3434
function camelCaseIt(input: string): string {
3535
// Hypens and dashes to spaces and then CamelCase...
@@ -46,7 +46,8 @@ const project = new awscdk.AwsCdkConstructLibrary({
4646
author: 'Amazon Web Services - Prototyping and Cloud Engineering',
4747
authorAddress: 'https://aws.amazon.com',
4848
authorOrganization: true,
49-
description: 'AWS Generative AI CDK Constructs is a library for well-architected generative AI patterns.',
49+
description:
50+
'AWS Generative AI CDK Constructs is a library for well-architected generative AI patterns.',
5051
cdkVersion: CDK_VERSION,
5152
projenVersion: '~0.91.5',
5253
constructsVersion: '10.3.0',
@@ -72,10 +73,7 @@ const project = new awscdk.AwsCdkConstructLibrary({
7273
`@aws-cdk/integ-tests-alpha@${CDK_VERSION}-alpha.0`,
7374
],
7475
deps: ['cdk-nag'],
75-
bundledDeps: [
76-
'deepmerge',
77-
`@aws-cdk/aws-lambda-python-alpha@${CDK_VERSION}-alpha.0`,
78-
],
76+
bundledDeps: ['deepmerge', `@aws-cdk/aws-lambda-python-alpha@${CDK_VERSION}-alpha.0`],
7977
// Keep synchronized with https://github.com/nodejs/release#release-schedule
8078
minNodeVersion: '18.12.0', // 'MAINTENANCE' (first LTS)
8179
maxNodeVersion: '22.x', // 'CURRENT'
@@ -131,7 +129,15 @@ const project = new awscdk.AwsCdkConstructLibrary({
131129
license: 'Apache-2.0',
132130
copyrightPeriod: '2023-',
133131
copyrightOwner: 'Amazon.com, Inc. or its affiliates. All Rights Reserved.',
134-
gitignore: ['*.DS_STORE', '!.node-version', '*.pyc', '__pycache__/', '!.ort.yml', '.idea', '.vscode'],
132+
gitignore: [
133+
'*.DS_STORE',
134+
'!.node-version',
135+
'*.pyc',
136+
'__pycache__/',
137+
'!.ort.yml',
138+
'.idea',
139+
'.vscode',
140+
],
135141
stability: 'experimental',
136142
sampleCode: false,
137143
stale: true,
@@ -163,8 +169,14 @@ if (workflowUpgradeMain) {
163169
project.upgradeWorkflow?.postUpgradeTask.spawn(project.tasks.tryFind('integ:snapshot-all')!);
164170

165171
// Add specific overrides https://projen.io/docs/integrations/github/#actions-versions
166-
project.github?.actions.set('actions/checkout@v3', 'actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11'); // https://github.com/projen/projen/issues/3529
167-
project.github?.actions.set('actions/checkout@v4', 'actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11');
172+
project.github?.actions.set(
173+
'actions/checkout@v3',
174+
'actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11',
175+
); // https://github.com/projen/projen/issues/3529
176+
project.github?.actions.set(
177+
'actions/checkout@v4',
178+
'actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11',
179+
);
168180
project.github?.actions.set(
169181
'actions/download-artifact@v3',
170182
'actions/download-artifact@b4aefff88e83a2676a730654e1ce3dce61880379',
@@ -177,16 +189,46 @@ project.github?.actions.set(
177189
'actions/github-script@v6',
178190
'actions/github-script@d7906e4ad0b1822421a7e6a35d5ca353c962f410',
179191
);
180-
project.github?.actions.set('actions/setup-dotnet@v3', 'actions/setup-dotnet@4d6c8fcf3c8f7a60068d26b594648e99df24cee3');
181-
project.github?.actions.set('actions/setup-dotnet@v4', 'actions/setup-dotnet@4d6c8fcf3c8f7a60068d26b594648e99df24cee3');
182-
project.github?.actions.set('actions/setup-go@v5', 'actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32');
183-
project.github?.actions.set('actions/setup-node@v3', 'actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8'); // https://github.com/projen/projen/issues/3529
184-
project.github?.actions.set('actions/setup-node@v4', 'actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8');
185-
project.github?.actions.set('actions/setup-python@v4', 'actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d'); // https://github.com/projen/projen/issues/3529
186-
project.github?.actions.set('actions/setup-python@v5', 'actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d');
187-
project.github?.actions.set('actions/setup-java@v3', 'actions/setup-java@99b8673ff64fbf99d8d325f52d9a5bdedb8483e9');
188-
project.github?.actions.set('actions/setup-java@v4', 'actions/setup-java@99b8673ff64fbf99d8d325f52d9a5bdedb8483e9');
189-
project.github?.actions.set('actions/stale@v4', 'actions/stale@a20b814fb01b71def3bd6f56e7494d667ddf28da');
192+
project.github?.actions.set(
193+
'actions/setup-dotnet@v3',
194+
'actions/setup-dotnet@4d6c8fcf3c8f7a60068d26b594648e99df24cee3',
195+
);
196+
project.github?.actions.set(
197+
'actions/setup-dotnet@v4',
198+
'actions/setup-dotnet@4d6c8fcf3c8f7a60068d26b594648e99df24cee3',
199+
);
200+
project.github?.actions.set(
201+
'actions/setup-go@v5',
202+
'actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32',
203+
);
204+
project.github?.actions.set(
205+
'actions/setup-node@v3',
206+
'actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8',
207+
); // https://github.com/projen/projen/issues/3529
208+
project.github?.actions.set(
209+
'actions/setup-node@v4',
210+
'actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8',
211+
);
212+
project.github?.actions.set(
213+
'actions/setup-python@v4',
214+
'actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d',
215+
); // https://github.com/projen/projen/issues/3529
216+
project.github?.actions.set(
217+
'actions/setup-python@v5',
218+
'actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d',
219+
);
220+
project.github?.actions.set(
221+
'actions/setup-java@v3',
222+
'actions/setup-java@99b8673ff64fbf99d8d325f52d9a5bdedb8483e9',
223+
);
224+
project.github?.actions.set(
225+
'actions/setup-java@v4',
226+
'actions/setup-java@99b8673ff64fbf99d8d325f52d9a5bdedb8483e9',
227+
);
228+
project.github?.actions.set(
229+
'actions/stale@v4',
230+
'actions/stale@a20b814fb01b71def3bd6f56e7494d667ddf28da',
231+
);
190232
project.github?.actions.set(
191233
'actions/upload-artifact@v3',
192234
'actions/upload-artifact@18bf333cd2249fbbbdb605fd9d9ed57efd7adf34',
@@ -219,7 +261,10 @@ project.github?.actions.set(
219261
'codecov/codecov-action@v4',
220262
'codecov/codecov-action@84508663e988701840491b86de86b666e8a86bed',
221263
);
222-
project.github?.actions.set('github/issue-metrics@v2', 'github/issue-metrics@6bc5254e72971dbb7462db077779f1643f772afd');
264+
project.github?.actions.set(
265+
'github/issue-metrics@v2',
266+
'github/issue-metrics@6bc5254e72971dbb7462db077779f1643f772afd',
267+
);
223268
project.github?.actions.set(
224269
'hmarr/auto-approve-action@v4.0.0',
225270
'hmarr/auto-approve-action@f0939ea97e9205ef24d872e76833fa908a770363',
@@ -256,7 +301,10 @@ project.github?.actions.set(
256301
'aws-actions/configure-aws-credentials@v4.0.2',
257302
'aws-actions/configure-aws-credentials@e3dd6a429d7300a6a4c196c26e071d42e0343502',
258303
);
259-
project.github?.actions.set('imjohnbo/issue-bot@v3', 'imjohnbo/issue-bot@3daae12aa54d38685d7ff8459fc8a2aee8cea98b');
304+
project.github?.actions.set(
305+
'imjohnbo/issue-bot@v3',
306+
'imjohnbo/issue-bot@3daae12aa54d38685d7ff8459fc8a2aee8cea98b',
307+
);
260308

261309
// We don't want to package certain things
262310
project.npmignore?.addPatterns(

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
# CDK Generative AI Constructs V0.1.302 (2025-04-11)
2+
3+
Based on CDK library version 2.189.0
4+
5+
# CDK Generative AI Constructs V0.1.300 (2025-04-04)
6+
7+
Based on CDK library version 2.188.0
8+
19
# CDK Generative AI Constructs V0.1.299 (2025-04-01)
210

311
Based on CDK library version 2.187.0

DEVELOPER_GUIDE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Default output format [None]: json
1616
```
1717

1818
- [Node](https://nodejs.org/en) >= v20.9.0
19-
- [AWS CDK](https://github.com/aws/aws-cdk/releases/tag/v2.187.0) >= 2.187.0
19+
- [AWS CDK](https://github.com/aws/aws-cdk/releases/tag/v2.189.0) >= 2.189.0
2020
- [Python](https://www.python.org/downloads/) >=3.9
2121
- [Projen](https://github.com/projen/projen) >= 0.91.5
2222
- [Yarn](https://classic.yarnpkg.com/lang/en/docs/cli/install/) >= 1.22.19

apidocs/@cdklabs/namespaces/bedrock/README.md

Lines changed: 23 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,16 +30,19 @@
3030
- [InferenceProfileType](enumerations/InferenceProfileType.md)
3131
- [KnowledgeBaseType](enumerations/KnowledgeBaseType.md)
3232
- [ManagedWordFilterType](enumerations/ManagedWordFilterType.md)
33+
- [ModalityType](enumerations/ModalityType.md)
3334
- [OrchestrationType](enumerations/OrchestrationType.md)
3435
- [ParsingModality](enumerations/ParsingModality.md)
35-
- [ParsingStategyType](enumerations/ParsingStategyType.md)
36+
- [ParsingStrategyType](enumerations/ParsingStrategyType.md)
3637
- [PromptTemplateType](enumerations/PromptTemplateType.md)
3738
- [RelayConversationHistoryType](enumerations/RelayConversationHistoryType.md)
3839
- [SalesforceDataSourceAuthType](enumerations/SalesforceDataSourceAuthType.md)
3940
- [SalesforceObjectType](enumerations/SalesforceObjectType.md)
4041
- [SharePointDataSourceAuthType](enumerations/SharePointDataSourceAuthType.md)
4142
- [SharePointObjectType](enumerations/SharePointObjectType.md)
43+
- [SupplementalDataStorageLocationType](enumerations/SupplementalDataStorageLocationType.md)
4244
- [TransformationStep](enumerations/TransformationStep.md)
45+
- [VectorStoreType](enumerations/VectorStoreType.md)
4346
- [VectorType](enumerations/VectorType.md)
4447

4548
## Classes
@@ -65,6 +68,8 @@
6568
- [DataSourceBase](classes/DataSourceBase.md)
6669
- [DataSourceNew](classes/DataSourceNew.md)
6770
- [DefaultPromptRouterIdentifier](classes/DefaultPromptRouterIdentifier.md)
71+
- [GraphKnowledgeBase](classes/GraphKnowledgeBase.md)
72+
- [GraphKnowledgeBaseBase](classes/GraphKnowledgeBaseBase.md)
6873
- [Guardrail](classes/Guardrail.md)
6974
- [GuardrailBase](classes/GuardrailBase.md)
7075
- [InferenceProfileBase](classes/InferenceProfileBase.md)
@@ -75,7 +80,7 @@
7580
- [Memory](classes/Memory.md)
7681
- [OrchestrationExecutor](classes/OrchestrationExecutor.md)
7782
- [ParentActionGroupSignature](classes/ParentActionGroupSignature.md)
78-
- [ParsingStategy](classes/ParsingStategy.md)
83+
- [ParsingStrategy](classes/ParsingStrategy.md)
7984
- [Prompt](classes/Prompt.md)
8085
- [PromptBase](classes/PromptBase.md)
8186
- [PromptOverrideConfiguration](classes/PromptOverrideConfiguration.md)
@@ -86,9 +91,11 @@
8691
- [S3DataSource](classes/S3DataSource.md)
8792
- [SalesforceDataSource](classes/SalesforceDataSource.md)
8893
- [SharePointDataSource](classes/SharePointDataSource.md)
94+
- [SupplementalDataStorageLocation](classes/SupplementalDataStorageLocation.md)
8995
- [ToolChoice](classes/ToolChoice.md)
9096
- [Topic](classes/Topic.md)
9197
- [VectorKnowledgeBase](classes/VectorKnowledgeBase.md)
98+
- [VectorKnowledgeBaseBase](classes/VectorKnowledgeBaseBase.md)
9299
- [WebCrawlerDataSource](classes/WebCrawlerDataSource.md)
93100

94101
## Interfaces
@@ -121,13 +128,16 @@
121128
- [CustomTopicProps](interfaces/CustomTopicProps.md)
122129
- [DataSourceAssociationProps](interfaces/DataSourceAssociationProps.md)
123130
- [FoundationModelContextEnrichmentProps](interfaces/FoundationModelContextEnrichmentProps.md)
124-
- [FoundationModelParsingStategyProps](interfaces/FoundationModelParsingStategyProps.md)
131+
- [FoundationModelParsingStrategyProps](interfaces/FoundationModelParsingStrategyProps.md)
132+
- [GraphKnowledgeBaseAttributes](interfaces/GraphKnowledgeBaseAttributes.md)
133+
- [GraphKnowledgeBaseProps](interfaces/GraphKnowledgeBaseProps.md)
125134
- [GuardrailAttributes](interfaces/GuardrailAttributes.md)
126135
- [GuardrailProps](interfaces/GuardrailProps.md)
127136
- [HierarchicalChunkingProps](interfaces/HierarchicalChunkingProps.md)
128137
- [IAgent](interfaces/IAgent.md)
129138
- [IAgentAlias](interfaces/IAgentAlias.md)
130139
- [IDataSource](interfaces/IDataSource.md)
140+
- [IGraphKnowledgeBase](interfaces/IGraphKnowledgeBase.md)
131141
- [IGuardrail](interfaces/IGuardrail.md)
132142
- [IInferenceProfile](interfaces/IInferenceProfile.md)
133143
- [IInvokable](interfaces/IInvokable.md)
@@ -157,13 +167,23 @@
157167
- [SharePointCrawlingFilters](interfaces/SharePointCrawlingFilters.md)
158168
- [SharePointDataSourceAssociationProps](interfaces/SharePointDataSourceAssociationProps.md)
159169
- [SharePointDataSourceProps](interfaces/SharePointDataSourceProps.md)
170+
- [SupplementalDataStorageS3Config](interfaces/SupplementalDataStorageS3Config.md)
160171
- [TextPromptVariantProps](interfaces/TextPromptVariantProps.md)
161172
- [ToolConfiguration](interfaces/ToolConfiguration.md)
173+
- [VectorFieldMapping](interfaces/VectorFieldMapping.md)
162174
- [VectorKnowledgeBaseAttributes](interfaces/VectorKnowledgeBaseAttributes.md)
163175
- [VectorKnowledgeBaseProps](interfaces/VectorKnowledgeBaseProps.md)
164176
- [WebCrawlerDataSourceAssociationProps](interfaces/WebCrawlerDataSourceAssociationProps.md)
165177
- [WebCrawlerDataSourceProps](interfaces/WebCrawlerDataSourceProps.md)
166178

179+
## Type Aliases
180+
181+
- [SupplementalDataStorageLocationConfig](type-aliases/SupplementalDataStorageLocationConfig.md)
182+
167183
## Variables
168184

169185
- [REGION\_TO\_GEO\_AREA](variables/REGION_TO_GEO_AREA.md)
186+
187+
## Functions
188+
189+
- [createKnowledgeBaseServiceRole](functions/createKnowledgeBaseServiceRole.md)

0 commit comments

Comments
 (0)