Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/biomapas/b.lambdalayercommon
An AWS CDK based lambda layer that contains a ton of useful functionalities.
https://github.com/biomapas/b.lambdalayercommon
aws aws-cdk aws-cdk-python aws-cloudformation aws-lambda aws-lambda-layer aws-lambda-python cloudformation python3
Last synced: 1 day ago
JSON representation
An AWS CDK based lambda layer that contains a ton of useful functionalities.
- Host: GitHub
- URL: https://github.com/biomapas/b.lambdalayercommon
- Owner: Biomapas
- License: apache-2.0
- Created: 2020-08-13T14:21:13.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2024-05-02T12:24:29.000Z (6 months ago)
- Last Synced: 2024-10-12T22:57:41.913Z (26 days ago)
- Topics: aws, aws-cdk, aws-cdk-python, aws-cloudformation, aws-lambda, aws-lambda-layer, aws-lambda-python, cloudformation, python3
- Language: Python
- Homepage:
- Size: 233 KB
- Stars: 2
- Watchers: 3
- Forks: 6
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: HISTORY.md
- License: LICENSE
Awesome Lists containing this project
README
# B.LambdaLayerCommon
![Pipeline](https://github.com/Biomapas/B.LambdaLayerCommon/workflows/Pipeline/badge.svg?branch=master)
> **DEPRECATION WARNING !!!**
> This library no longer supports lambda layers and eventually will be moved to another repository.
> It is a simple python library of common methods to develop in AWS environment.
> Create your own lambda layer using ![B.CfnLambdaLayer](https://github.com/Biomapas/B.CfnLambdaLayer)
> and specify this library as a dependency. Example given below.
> ```python
> from b_cfn_lambda_layer.lambda_layer import LambdaLayer
> layer = LambdaLayer(
> ...,
> dependencies={
> 'b-lambda_layer_common': PackageVersion.from_string_version('4.0.0'),
> }
> )
> ```### Description
This is a simple python library, that contains various useful methods that will make infrastructure development
much easier.### Remarks
[Biomapas](https://www.biomapas.com/) aims to modernise life-science industry by sharing its IT knowledge with other companies and the community.
This is an open source library intended to be used by anyone.
Improvements and pull requests are welcome.### Related technology
- Python3
- Docker
- AWS CDK
- AWS Lambda### Assumptions
This project assumes you have good knowledge in AWS.
- Good Python skills and basis of OOP.
### Useful sources
- None.
### Install
Before installing this library, ensure you have these tools setup:
- Python / Pip
To install this project from source run:
```
pip install .
```Or you can install it from a PyPi repository:
```
pip install b-lambda_layer_common
```### Usage & Examples
Main modules:
- _api_gateway_
Contains various functionalities related to API Gateway service and integrations.
- _cache_
Contains caching mechanisms for lambda functions.
- _events_
Contains functionality that supports event-driven architectures.
- _exceptions_
Contains advanced exception handling and propagation between lambda function chains.
- _ssm_
Contains SSM parameter store handling logic.
- _util_
Contains random fun stuff ;)
- _validation_
Various value validations for python.
- _ws_api_gateway_
Contains various functionalities related to API Gateway websocket service and integrations.### Testing
This package has unit tests based on **pytest**.
To run tests simply run:```
pytest --cov=b_lambda_layer_common b_lambda_layer_common_test/unit --cov-fail-under=80
```### Contribution
Found a bug? Want to add or suggest a new feature?
Contributions of any kind are gladly welcome.
You may contact us directly, create a pull-request or an issue in github platform.
Lets modernize the world together.