Skip to content

Commit e1f64ba

Browse files
authored
feat(deprecation): remove lambda layer construct (#852)
1 parent 6eff956 commit e1f64ba

File tree

19 files changed

+1
-896
lines changed

19 files changed

+1
-896
lines changed

.eslintrc.json

-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.gitattributes

-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.gitignore

-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.projen/files.json

-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.projenrc.ts

-6
Original file line numberDiff line numberDiff line change
@@ -234,16 +234,10 @@ project.eslint?.addRules({
234234
});
235235
project.eslint?.addRules({ 'space-infix-ops': ['error', { int32Hint: false }] });
236236

237-
project.eslint?.addIgnorePattern('LangchainProps.ts');
238237
project.eslint?.addIgnorePattern('AdapterProps.ts');
239238
project.eslint?.addIgnorePattern('DockerLambdaCustomProps.ts');
240239

241240
// Shared interfaces extending pre-existing CDK interfaces
242-
new ProjenStruct(project, { name: 'LangchainProps', filePath: 'src/common/props/LangchainProps.ts' })
243-
.mixin(Struct.fromFqn('aws-cdk-lib.aws_lambda.LayerVersionProps'))
244-
.withoutDeprecated()
245-
.omit('code', 'compatibleRuntimes', 'compatibleArchitectures');
246-
247241
new ProjenStruct(project, { name: 'DockerLambdaCustomProps', filePath: 'src/common/props/DockerLambdaCustomProps.ts' })
248242
.mixin(Struct.fromFqn('aws-cdk-lib.aws_lambda.DockerImageFunctionProps'))
249243
.withoutDeprecated()

README.md

-1
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,6 @@ The following constructs are available in the library:
144144

145145
| **Construct** |Description| AWS Services used |
146146
|:-------------|:-------------|:-------------|
147-
| [Lambda layer](./src/patterns/gen-ai/aws-langchain-common-layer/README.md) | Python Lambda layer providing dependencies and utilities to develop generative AI applications on AWS. | AWS Lambda, Amazon Bedrock, Amazon SageMaker |
148147
| [Amazon Bedrock](./src/cdk-lib/bedrock/README.md) | CDK L2 Constructs for Amazon Bedrock. | Amazon Bedrock, Amazon OpenSearch Serverless, AWS Lambda |
149148
| [Amazon OpenSearch Serverless Vector Collection](./src/cdk-lib/opensearchserverless/README.md) | CDK L2 Constructs to create a vector collection. | Amazon OpenSearch Vector Index |
150149
| [Amazon OpenSearch Vector Index](./src/cdk-lib/opensearch-vectorindex/README.md) | CDK L1 Custom Resource to create a vector index. | Amazon OpenSearch Serverless, AWS Lambda |

apidocs/README.md

-3
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@
3030
- [HuggingFaceSageMakerEndpoint](classes/HuggingFaceSageMakerEndpoint.md)
3131
- [JumpStartModel](classes/JumpStartModel.md)
3232
- [JumpStartSageMakerEndpoint](classes/JumpStartSageMakerEndpoint.md)
33-
- [LangchainCommonDepsLayer](classes/LangchainCommonDepsLayer.md)
3433
- [LlamaIndexDataLoader](classes/LlamaIndexDataLoader.md)
3534
- [QaAppsyncOpensearch](classes/QaAppsyncOpensearch.md)
3635
- [RagAppsyncStepfnOpensearch](classes/RagAppsyncStepfnOpensearch.md)
@@ -56,8 +55,6 @@
5655
- [IJumpStartModelSpec](interfaces/IJumpStartModelSpec.md)
5756
- [IndexMonitoringProps](interfaces/IndexMonitoringProps.md)
5857
- [JumpStartSageMakerEndpointProps](interfaces/JumpStartSageMakerEndpointProps.md)
59-
- [LangchainLayerProps](interfaces/LangchainLayerProps.md)
60-
- [LangchainProps](interfaces/LangchainProps.md)
6158
- [LlamaIndexDataLoaderProps](interfaces/LlamaIndexDataLoaderProps.md)
6259
- [ModelMonitoringProps](interfaces/ModelMonitoringProps.md)
6360
- [QaAppsyncOpensearchProps](interfaces/QaAppsyncOpensearchProps.md)

apidocs/classes/LangchainCommonDepsLayer.md

-129
This file was deleted.

apidocs/interfaces/LangchainLayerProps.md

-162
This file was deleted.

0 commit comments

Comments
 (0)