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.264.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | b6ea2565f3bd01c37e0f3527bd5e6bfa1ab5727702dc416abcd64ba9c257ecee |
|
MD5 | b74ab62f186b5d508bcbd686b6244d7c |
|
BLAKE2b-256 | b89e58fdd02f56aaa909b0765c51fc493d618e87e4e7498683733de6d7cd709a |
Close
Hashes for cdk_lambda_layer_zip-2.0.264-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d78bc6ed19ba5f79c7c97c8177af42ab50dfc20b5cc15f77e5c753a03a6f2e80 |
|
MD5 | 3c6341d6349b77086f7efcddce3cd1c5 |
|
BLAKE2b-256 | 6e01fd579891867564cceae51d39dbc70a44ac0b5bd35a452cd4b54ed0a5a089 |