Lambda Layer for tar gz 7z
Project description
AWS Lambda Layer with zip
Usage:
// 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'));
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-2.0.298.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5d721a2f40ff350d3d973fb7ae65cb657a8f29c456c6e85782839a70e03b2bd8 |
|
MD5 | d23613b1caa73c6497f8ca192767de14 |
|
BLAKE2b-256 | af0ec74a3bcb6893d92524d26a96831ec32247a8a4817bd5f45b398d18cb8430 |
Close
Hashes for cdk_lambda_layer_zip-2.0.298-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 371e5e70f97f47f9987a06c4f399bd382bbb6f6ea6f36c76d3d83f45e7e9df48 |
|
MD5 | 291fb486cad767fb41ec5d07e7481804 |
|
BLAKE2b-256 | 6bd889b7a5bb4fe6e19c63edbe67de7ccb9d9301a8667f93de8a8c2e4176327f |