Skip to content

Commit dc429d6

Browse files
authored
chore(deprecation): deprecation announcement l3 (#935)
* chore(deprecation): add deprecation message
1 parent a3268f7 commit dc429d6

File tree

21 files changed

+79
-15
lines changed

21 files changed

+79
-15
lines changed

src/cdk-lib/amazonaurora/README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@
1717
|:-------------|-----------------|
1818
|![Typescript Logo](https://docs.aws.amazon.com/cdk/api/latest/img/typescript32.png) TypeScript|`@cdklabs/generative-ai-cdk-constructs`|
1919
|![Python Logo](https://docs.aws.amazon.com/cdk/api/latest/img/python32.png) Python|`cdklabs.generative_ai_cdk_constructs`|
20+
| ![Java Logo](https://docs.aws.amazon.com/cdk/api/latest/img/java32.png) Java | `io.github.cdklabs.generative_ai_cdk_constructs`|
21+
| ![.Net](https://docs.aws.amazon.com/cdk/api/latest/img/dotnet32.png) .Net | `CdkLabs.GenerativeAICdkConstructs`|
22+
| ![Go](https://docs.aws.amazon.com/cdk/api/latest/img/go32.png) Go | `github.com/cdklabs/generative-ai-cdk-constructs-go/generative-ai-cdk-constructs`|
2023

2124
This construct library provides a class that defines a `AmazonAuroraVectorStore` construct for an Amazon Aurora to be used for a vector store for a Knowledge Base. Additionally, you can utilize `fromExistingAuroraVectorStore()` method to use your existing Aurora database as a vector DB. `AmazonAuroraVectorStore` is an L3 resource that creates a VPC with 3 subnets (public, private with NAT Gateway, private without NAT Gateway) and Amazon Aurora Serverless V2 Cluster. The cluster has 1 writer/reader instance with latest supported PostgreSQL version (currently it is 15.5) and having the following cofiguration: min capacity 0.5, max capacity 4. Lambda custom resource executes required pgvector and Amazon Bedrock Knowledge Base SQL queries (see more [here](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/AuroraPostgreSQL.VectorDB.html)) against Aurora cluster during deployment. The secret containing databases credentials is being deployed and securely stored in AWS Secrets Manager. You must specify the same embeddings model that you are going to use in KnowledgeBase construct. Due to the nature of provisioning RDS cluster it takes a long time (over 20-25 minutes) to both deploying and destroying construct so please take this in consideration.
2225

src/cdk-lib/bedrock/README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@
1818
| :--------------------------------------------------------------------------------------------- | --------------------------------------- |
1919
| ![Typescript Logo](https://docs.aws.amazon.com/cdk/api/latest/img/typescript32.png) TypeScript | `@cdklabs/generative-ai-cdk-constructs` |
2020
| ![Python Logo](https://docs.aws.amazon.com/cdk/api/latest/img/python32.png) Python | `cdklabs.generative_ai_cdk_constructs` |
21+
| ![Java Logo](https://docs.aws.amazon.com/cdk/api/latest/img/java32.png) Java | `io.github.cdklabs.generative_ai_cdk_constructs`|
22+
| ![.Net](https://docs.aws.amazon.com/cdk/api/latest/img/dotnet32.png) .Net | `CdkLabs.GenerativeAICdkConstructs`|
23+
| ![Go](https://docs.aws.amazon.com/cdk/api/latest/img/go32.png) Go | `github.com/cdklabs/generative-ai-cdk-constructs-go/generative-ai-cdk-constructs`|
2124

2225
[Amazon Bedrock](https://aws.amazon.com/bedrock/) is a fully managed service that offers a choice of high-performing foundation models (FMs) from leading AI companies and Amazon through a single API, along with a broad set of capabilities you need to build generative AI applications with security, privacy, and responsible AI.
2326

src/cdk-lib/opensearch-vectorindex/README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@
1818
| :--------------------------------------------------------------------------------------------- | --------------------------------------- |
1919
| ![Typescript Logo](https://docs.aws.amazon.com/cdk/api/latest/img/typescript32.png) TypeScript | `@cdklabs/generative-ai-cdk-constructs` |
2020
| ![Python Logo](https://docs.aws.amazon.com/cdk/api/latest/img/python32.png) Python | `cdklabs.generative_ai_cdk_constructs` |
21+
| ![Java Logo](https://docs.aws.amazon.com/cdk/api/latest/img/java32.png) Java | `io.github.cdklabs.generative_ai_cdk_constructs`|
22+
| ![.Net](https://docs.aws.amazon.com/cdk/api/latest/img/dotnet32.png) .Net | `CdkLabs.GenerativeAICdkConstructs`|
23+
| ![Go](https://docs.aws.amazon.com/cdk/api/latest/img/go32.png) Go | `github.com/cdklabs/generative-ai-cdk-constructs-go/generative-ai-cdk-constructs`|
2124

2225
This construct library provides a resource that creates a vector index on an Amazon OpenSearch Domain. It currently only supports Amazon OpenSearch Serverless.
2326

src/cdk-lib/opensearchserverless/README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@
1717
|:-------------|-----------------|
1818
|![Typescript Logo](https://docs.aws.amazon.com/cdk/api/latest/img/typescript32.png) TypeScript|`@cdklabs/generative-ai-cdk-constructs`|
1919
|![Python Logo](https://docs.aws.amazon.com/cdk/api/latest/img/python32.png) Python|`cdklabs.generative_ai_cdk_constructs`|
20+
| ![Java Logo](https://docs.aws.amazon.com/cdk/api/latest/img/java32.png) Java | `io.github.cdklabs.generative_ai_cdk_constructs`|
21+
| ![.Net](https://docs.aws.amazon.com/cdk/api/latest/img/dotnet32.png) .Net | `CdkLabs.GenerativeAICdkConstructs`|
22+
| ![Go](https://docs.aws.amazon.com/cdk/api/latest/img/go32.png) Go | `github.com/cdklabs/generative-ai-cdk-constructs-go/generative-ai-cdk-constructs`|
2023

2124
This construct library extends the [automatically generated L1 constructs](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_opensearchserverless-readme.html) to provide an L2 construct for a vector collection.
2225

src/cdk-lib/pinecone/README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@
1717
|:-------------|-----------------|
1818
|![Typescript Logo](https://docs.aws.amazon.com/cdk/api/latest/img/typescript32.png) TypeScript|`@cdklabs/generative-ai-cdk-constructs`|
1919
|![Python Logo](https://docs.aws.amazon.com/cdk/api/latest/img/python32.png) Python|`cdklabs.generative_ai_cdk_constructs`|
20+
| ![Java Logo](https://docs.aws.amazon.com/cdk/api/latest/img/java32.png) Java | `io.github.cdklabs.generative_ai_cdk_constructs`|
21+
| ![.Net](https://docs.aws.amazon.com/cdk/api/latest/img/dotnet32.png) .Net | `CdkLabs.GenerativeAICdkConstructs`|
22+
| ![Go](https://docs.aws.amazon.com/cdk/api/latest/img/go32.png) Go | `github.com/cdklabs/generative-ai-cdk-constructs-go/generative-ai-cdk-constructs`|
2023

2124
This construct library provides a class that defines an existing Pinecone database to be used for a vector store for a Knowledge Base.
2225

src/patterns/gen-ai/aws-aoss-cw-dashboard/README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@
1919
| :----------------------------------------------------------------------------------------------- | ----------------------------------------- |
2020
| ![Typescript Logo](https://docs.aws.amazon.com/cdk/api/latest/img/typescript32.png) TypeScript | `@cdklabs/generative-ai-cdk-constructs` |
2121
| ![Python Logo](https://docs.aws.amazon.com/cdk/api/latest/img/python32.png) Python | `cdklabs.generative_ai_cdk_constructs` |
22+
| ![Java Logo](https://docs.aws.amazon.com/cdk/api/latest/img/java32.png) Java | `io.github.cdklabs.generative_ai_cdk_constructs`|
23+
| ![.Net](https://docs.aws.amazon.com/cdk/api/latest/img/dotnet32.png) .Net | `CdkLabs.GenerativeAICdkConstructs`|
24+
| ![Go](https://docs.aws.amazon.com/cdk/api/latest/img/go32.png) Go | `github.com/cdklabs/generative-ai-cdk-constructs-go/generative-ai-cdk-constructs`|
2225

2326
## Table of contents
2427

src/patterns/gen-ai/aws-bedrock-cw-dashboard/README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@
1919
| :----------------------------------------------------------------------------------------------- | ----------------------------------------- |
2020
| ![Typescript Logo](https://docs.aws.amazon.com/cdk/api/latest/img/typescript32.png) TypeScript | `@cdklabs/generative-ai-cdk-constructs` |
2121
| ![Python Logo](https://docs.aws.amazon.com/cdk/api/latest/img/python32.png) Python | `cdklabs.generative_ai_cdk_constructs` |
22+
| ![Java Logo](https://docs.aws.amazon.com/cdk/api/latest/img/java32.png) Java | `io.github.cdklabs.generative_ai_cdk_constructs`|
23+
| ![.Net](https://docs.aws.amazon.com/cdk/api/latest/img/dotnet32.png) .Net | `CdkLabs.GenerativeAICdkConstructs`|
24+
| ![Go](https://docs.aws.amazon.com/cdk/api/latest/img/go32.png) Go | `github.com/cdklabs/generative-ai-cdk-constructs-go/generative-ai-cdk-constructs`|
2225

2326
## Table of contents
2427

src/patterns/gen-ai/aws-contentgen-appsync-lambda/README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,11 @@
1414

1515
| **Language** | **Package** |
1616
|:-------------|-----------------|
17-
|![Typescript Logo](https://docs.aws.amazon.com/cdk/api/latest/img/typescript32.png) Typescript|`@cdklabs/generative-ai-cdk-constructs`|
17+
| ![Typescript Logo](https://docs.aws.amazon.com/cdk/api/latest/img/typescript32.png) Typescript|`@cdklabs/generative-ai-cdk-constructs`|
18+
| ![Python Logo](https://docs.aws.amazon.com/cdk/api/latest/img/python32.png) Python|`cdklabs.generative_ai_cdk_constructs`|
19+
| ![Java Logo](https://docs.aws.amazon.com/cdk/api/latest/img/java32.png) Java | `io.github.cdklabs.generative_ai_cdk_constructs`|
20+
| ![.Net](https://docs.aws.amazon.com/cdk/api/latest/img/dotnet32.png) .Net | `CdkLabs.GenerativeAICdkConstructs`|
21+
| ![Go](https://docs.aws.amazon.com/cdk/api/latest/img/go32.png) Go | `github.com/cdklabs/generative-ai-cdk-constructs-go/generative-ai-cdk-constructs`|
1822

1923
## Table of contents
2024

src/patterns/gen-ai/aws-contentgen-appsync-lambda/index.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
*/
1313

1414
import * as path from 'path';
15-
import { Duration, Aws } from 'aws-cdk-lib';
15+
import { Duration, Aws, Annotations } from 'aws-cdk-lib';
1616
import * as appsync from 'aws-cdk-lib/aws-appsync';
1717
import * as cognito from 'aws-cdk-lib/aws-cognito';
1818
import * as ec2 from 'aws-cdk-lib/aws-ec2';
@@ -159,6 +159,9 @@ export class ContentGenerationAppSyncLambda extends BaseClass {
159159
constructor(scope: Construct, id: string, props: ContentGenerationAppSyncLambdaProps) {
160160
super(scope, id);
161161

162+
Annotations.of(scope).addWarningV2('@cdklabs/generative-ai-cdk-constructs:ContentGenerationAppSyncLambda.deprecation',
163+
'This construct is deprecated and will not receive further support. It will be removed in the next release of the library.');
164+
162165
const baseProps: BaseClassProps = {
163166
stage: props.stage,
164167
constructName: ConstructName.AWSCONTENTGENAPPSYNCLAMBDA,

src/patterns/gen-ai/aws-llama-index-data-loader/index.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
*/
1313

1414
import { join } from 'node:path';
15-
import { Duration, RemovalPolicy, Stack } from 'aws-cdk-lib';
15+
import { Annotations, Duration, RemovalPolicy, Stack } from 'aws-cdk-lib';
1616
import { FlowLogDestination, IVpc } from 'aws-cdk-lib/aws-ec2';
1717
import { DockerImageAsset, Platform } from 'aws-cdk-lib/aws-ecr-assets';
1818
import { Cluster, ContainerImage, CpuArchitecture, OperatingSystemFamily } from 'aws-cdk-lib/aws-ecs';
@@ -92,6 +92,9 @@ export class LlamaIndexDataLoader extends BaseClass {
9292
constructor(scope: Construct, id: string, props: LlamaIndexDataLoaderProps) {
9393
super(scope, id);
9494

95+
Annotations.of(scope).addWarningV2('@cdklabs/generative-ai-cdk-constructs:LlamaIndexDataLoader.deprecation',
96+
'This construct is deprecated and will not receive further support. It will be removed in the next release of the library.');
97+
9598
const baseProps: BaseClassProps = {
9699
stage: props.stage,
97100
constructName: ConstructName.AWSLLAMAINDEXDATALOADER,

src/patterns/gen-ai/aws-model-deployment-sagemaker/README_custom_sagemaker_endpoint.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@
1717
|:-------------|-----------------|
1818
|![Typescript Logo](https://docs.aws.amazon.com/cdk/api/latest/img/typescript32.png) TypeScript|`@cdklabs/generative-ai-cdk-constructs`|
1919
|![Python Logo](https://docs.aws.amazon.com/cdk/api/latest/img/python32.png) Python|`cdklabs.generative_ai_cdk_constructs`|
20+
| ![Java Logo](https://docs.aws.amazon.com/cdk/api/latest/img/java32.png) Java | `io.github.cdklabs.generative_ai_cdk_constructs`|
21+
| ![.Net](https://docs.aws.amazon.com/cdk/api/latest/img/dotnet32.png) .Net | `CdkLabs.GenerativeAICdkConstructs`|
22+
| ![Go](https://docs.aws.amazon.com/cdk/api/latest/img/go32.png) Go | `github.com/cdklabs/generative-ai-cdk-constructs-go/generative-ai-cdk-constructs`|
2023

2124
## Table of contents
2225

src/patterns/gen-ai/aws-model-deployment-sagemaker/README_hugging_face.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,11 @@
1515

1616
| **Language** | **Package** |
1717
|:-------------|-----------------|
18-
|![Typescript Logo](https://docs.aws.amazon.com/cdk/api/latest/img/typescript32.png) TypeScript|`@cdklabs/generative-ai-cdk-constructs`|
19-
|![Python Logo](https://docs.aws.amazon.com/cdk/api/latest/img/python32.png) Python|`cdklabs.generative_ai_cdk_constructs`|
18+
| ![Typescript Logo](https://docs.aws.amazon.com/cdk/api/latest/img/typescript32.png) TypeScript|`@cdklabs/generative-ai-cdk-constructs`|
19+
| ![Python Logo](https://docs.aws.amazon.com/cdk/api/latest/img/python32.png) Python|`cdklabs.generative_ai_cdk_constructs`|
20+
| ![Java Logo](https://docs.aws.amazon.com/cdk/api/latest/img/java32.png) Java | `io.github.cdklabs.generative_ai_cdk_constructs`|
21+
| ![.Net](https://docs.aws.amazon.com/cdk/api/latest/img/dotnet32.png) .Net | `CdkLabs.GenerativeAICdkConstructs`|
22+
| ![Go](https://docs.aws.amazon.com/cdk/api/latest/img/go32.png) Go | `github.com/cdklabs/generative-ai-cdk-constructs-go/generative-ai-cdk-constructs`|
2023

2124
## Table of contents
2225

src/patterns/gen-ai/aws-model-deployment-sagemaker/README_jumpstart.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,11 @@
1515

1616
| **Language** | **Package** |
1717
|:-------------|-----------------|
18-
|![Typescript Logo](https://docs.aws.amazon.com/cdk/api/latest/img/typescript32.png) TypeScript|`@cdklabs/generative-ai-cdk-constructs`|
19-
|![Python Logo](https://docs.aws.amazon.com/cdk/api/latest/img/python32.png) Python|`cdklabs.generative_ai_cdk_constructs`|
18+
| ![Typescript Logo](https://docs.aws.amazon.com/cdk/api/latest/img/typescript32.png) TypeScript|`@cdklabs/generative-ai-cdk-constructs`|
19+
| ![Python Logo](https://docs.aws.amazon.com/cdk/api/latest/img/python32.png) Python|`cdklabs.generative_ai_cdk_constructs`|
20+
| ![Java Logo](https://docs.aws.amazon.com/cdk/api/latest/img/java32.png) Java | `io.github.cdklabs.generative_ai_cdk_constructs`|
21+
| ![.Net](https://docs.aws.amazon.com/cdk/api/latest/img/dotnet32.png) .Net | `CdkLabs.GenerativeAICdkConstructs`|
22+
| ![Go](https://docs.aws.amazon.com/cdk/api/latest/img/go32.png) Go | `github.com/cdklabs/generative-ai-cdk-constructs-go/generative-ai-cdk-constructs`|
2023

2124
## Table of contents
2225

src/patterns/gen-ai/aws-qa-appsync-opensearch/README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@
1919
| :----------------------------------------------------------------------------------------------- | ----------------------------------------- |
2020
| ![Typescript Logo](https://docs.aws.amazon.com/cdk/api/latest/img/typescript32.png) TypeScript | `@cdklabs/generative-ai-cdk-constructs` |
2121
| ![Python Logo](https://docs.aws.amazon.com/cdk/api/latest/img/python32.png) Python | `cdklabs.generative_ai_cdk_constructs` |
22+
| ![Java Logo](https://docs.aws.amazon.com/cdk/api/latest/img/java32.png) Java | `io.github.cdklabs.generative_ai_cdk_constructs`|
23+
| ![.Net](https://docs.aws.amazon.com/cdk/api/latest/img/dotnet32.png) .Net | `CdkLabs.GenerativeAICdkConstructs`|
24+
| ![Go](https://docs.aws.amazon.com/cdk/api/latest/img/go32.png) Go | `github.com/cdklabs/generative-ai-cdk-constructs-go/generative-ai-cdk-constructs`|
2225

2326
## Table of contents
2427

src/patterns/gen-ai/aws-qa-appsync-opensearch/index.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
*/
1313

1414
import * as path from 'path';
15-
import { Duration, Aws } from 'aws-cdk-lib';
15+
import { Duration, Aws, Annotations } from 'aws-cdk-lib';
1616
import * as appsync from 'aws-cdk-lib/aws-appsync';
1717
import * as cognito from 'aws-cdk-lib/aws-cognito';
1818
import * as ec2 from 'aws-cdk-lib/aws-ec2';
@@ -192,6 +192,9 @@ export class QaAppsyncOpensearch extends BaseClass {
192192
constructor(scope: Construct, id: string, props: QaAppsyncOpensearchProps) {
193193
super(scope, id);
194194

195+
Annotations.of(scope).addWarningV2('@cdklabs/generative-ai-cdk-constructs:QaAppsyncOpensearch.deprecation',
196+
'This construct is deprecated and will not receive further support. It will be removed in the next release of the library.');
197+
195198
const baseProps: BaseClassProps = {
196199
stage: props.stage,
197200
constructName: ConstructName.AWSQAAPPSYNCOPENSEARCH,

src/patterns/gen-ai/aws-rag-appsync-stepfn-opensearch/README.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,11 @@
1414

1515
| **Language** | **Package** |
1616
|:-------------|-----------------|
17-
|![TypeScript Logo](https://docs.aws.amazon.com/cdk/api/latest/img/typescript32.png) TypeScript|`@cdklabs/generative-ai-cdk-constructs`|
18-
|![Python Logo](https://docs.aws.amazon.com/cdk/api/latest/img/python32.png) Python|`cdklabs.generative_ai_cdk_constructs`|
17+
| ![TypeScript Logo](https://docs.aws.amazon.com/cdk/api/latest/img/typescript32.png) TypeScript|`@cdklabs/generative-ai-cdk-constructs`|
18+
| ![Python Logo](https://docs.aws.amazon.com/cdk/api/latest/img/python32.png) Python|`cdklabs.generative_ai_cdk_constructs`|
19+
| ![Java Logo](https://docs.aws.amazon.com/cdk/api/latest/img/java32.png) Java | `io.github.cdklabs.generative_ai_cdk_constructs`|
20+
| ![.Net](https://docs.aws.amazon.com/cdk/api/latest/img/dotnet32.png) .Net | `CdkLabs.GenerativeAICdkConstructs`|
21+
| ![Go](https://docs.aws.amazon.com/cdk/api/latest/img/go32.png) Go | `github.com/cdklabs/generative-ai-cdk-constructs-go/generative-ai-cdk-constructs`|
1922

2023
## Table of contents
2124

src/patterns/gen-ai/aws-rag-appsync-stepfn-opensearch/index.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
*/
1313

1414
import * as path from 'path';
15-
import { Duration, Aws, Stack } from 'aws-cdk-lib';
15+
import { Duration, Aws, Stack, Annotations } from 'aws-cdk-lib';
1616
import * as appsync from 'aws-cdk-lib/aws-appsync';
1717
import * as cognito from 'aws-cdk-lib/aws-cognito';
1818
import * as ec2 from 'aws-cdk-lib/aws-ec2';
@@ -233,6 +233,9 @@ export class RagAppsyncStepfnOpensearch extends BaseClass {
233233
constructor(scope: Construct, id: string, props: RagAppsyncStepfnOpensearchProps) {
234234
super(scope, id);
235235

236+
Annotations.of(scope).addWarningV2('@cdklabs/generative-ai-cdk-constructs:RagAppsyncStepfnOpensearch.deprecation',
237+
'This construct is deprecated and will not receive further support. It will be removed in the next release of the library.');
238+
236239

237240
const baseProps: BaseClassProps = {
238241
stage: props.stage,

src/patterns/gen-ai/aws-summarization-appsync-stepfn/README.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,11 @@
1414

1515
| **Language** | **Package** |
1616
|:-------------|-----------------|
17-
|![Typescript Logo](https://docs.aws.amazon.com/cdk/api/latest/img/typescript32.png) TypeScript|`@cdklabs/generative-ai-cdk-constructs`|
18-
|![Python Logo](https://docs.aws.amazon.com/cdk/api/latest/img/python32.png) Python|`cdklabs.generative_ai_cdk_constructs`|
17+
| ![Typescript Logo](https://docs.aws.amazon.com/cdk/api/latest/img/typescript32.png) TypeScript|`@cdklabs/generative-ai-cdk-constructs`|
18+
| ![Python Logo](https://docs.aws.amazon.com/cdk/api/latest/img/python32.png) Python|`cdklabs.generative_ai_cdk_constructs`|
19+
| ![Java Logo](https://docs.aws.amazon.com/cdk/api/latest/img/java32.png) Java | `io.github.cdklabs.generative_ai_cdk_constructs`|
20+
| ![.Net](https://docs.aws.amazon.com/cdk/api/latest/img/dotnet32.png) .Net | `CdkLabs.GenerativeAICdkConstructs`|
21+
| ![Go](https://docs.aws.amazon.com/cdk/api/latest/img/go32.png) Go | `github.com/cdklabs/generative-ai-cdk-constructs-go/generative-ai-cdk-constructs`|
1922

2023
## Table of contents
2124

src/patterns/gen-ai/aws-summarization-appsync-stepfn/index.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
*/
1313

1414
import * as path from 'path';
15-
import { Duration, Aws, RemovalPolicy } from 'aws-cdk-lib';
15+
import { Duration, Aws, RemovalPolicy, Annotations } from 'aws-cdk-lib';
1616
import * as appsync from 'aws-cdk-lib/aws-appsync';
1717
import * as cognito from 'aws-cdk-lib/aws-cognito';
1818
import * as ec2 from 'aws-cdk-lib/aws-ec2';
@@ -244,6 +244,9 @@ export class SummarizationAppsyncStepfn extends BaseClass {
244244
constructor(scope: Construct, id: string, props: SummarizationAppsyncStepfnProps) {
245245
super(scope, id);
246246

247+
Annotations.of(scope).addWarningV2('@cdklabs/generative-ai-cdk-constructs:SummarizationAppsyncStepfn.deprecation',
248+
'This construct is deprecated and will not receive further support. It will be removed in the next release of the library.');
249+
247250
const baseProps: BaseClassProps = {
248251
stage: props.stage,
249252
constructName: ConstructName.AWSSUMMARIZATIONAPPSYNCSTEPFN,

0 commit comments

Comments
 (0)