Lambda Layer for tar gz 7z
Project description
AWS Lambda Layer with zip
Usage:
# Example automatically generated from non-compiling source. May contain errors.
// ZipLayer bundles the tar gzip 7z in a lambda layer
import { ZipLayer } from 'cdk-lambda-layer-zip';
declare const fn: lambda.Function;
fn.addLayers(new ZipLayer(this, 'ZipLayer'));
# Example automatically generated from non-compiling source. May contain errors.
import { ZipLayer } from 'cdk-lambda-layer-zip'
import * as lambda from 'aws-cdk-lib/aws-lambda'
new lambda.Function(this, 'MyLambda', {
code: lambda.Code.fromAsset(path.join(__dirname, 'my-lambda-handler')),
handler: 'index.main',
runtime: lambda.Runtime.PYTHON_3_9,
layers: [new ZipLayer(this, 'ZipLayer')]
});
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for cdk-lambda-layer-zip-0.0.6.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | a0774449591492db2b74c5686a4f9aa486492a7db6e6cbc270823ac1d9ace36b |
|
MD5 | fc79c66e8052ded38945cca00fb8df14 |
|
BLAKE2b-256 | 75fff500ae5b500d578a03cebe8b968323c3a7f258e37dbc1b6f431fe4f4f42a |
Close
Hashes for cdk_lambda_layer_zip-0.0.6-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ea8616ae77fa5db5e5032c9f6eb7adf54378acdb205fe410062b5fcc5401e1fc |
|
MD5 | 0a1cb5defeab48e72c6f36c574aab47c |
|
BLAKE2b-256 | 2066733765f3d78938ce07a70ac1e83d745b9fdb39b4d58a378ef0f5c3f53fa9 |