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.36.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | eba9fc53de531636a044aefc4de372e21c89124e5aa074d29915a55cdeadd8dc |
|
MD5 | 8ed0a44cd7d593cbe59843c2a1f0caec |
|
BLAKE2b-256 | 4e656fc0b66af3467f28eeae6530516f4a5b10ddd7132df3aba39ffe36e29bc2 |
Close
Hashes for cdk_lambda_layer_zip-2.0.36-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6084d8cf6906e87520f9227ba5e1a41cd763c9448d9f74c5f138f561cd3052e8 |
|
MD5 | fa3fef72d669506697af8c1abaae0b00 |
|
BLAKE2b-256 | 5f9aa9a82b7d5392565ef9a0adc15dcfa6591d2310e2fd8eda6deb2c88ebb348 |