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.153.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8feed8df76a3cea720dd3dc8177b03975bcc158dcd90c7330f6177e960c4df01 |
|
MD5 | e698124a900c483e8aa5c83f7a26199e |
|
BLAKE2b-256 | 20b612171f84643923d6b89aa6326f20d2ca87fb8d37617a65cae3227908735c |
Close
Hashes for cdk_lambda_layer_zip-2.0.153-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fbebb4cc5e3e24856dc5782bef53335a9495144e5f1c80a1156e1f54982147fc |
|
MD5 | df7acbb7d688473cdab7e69131df24b6 |
|
BLAKE2b-256 | ebf91177e4ca639a8a79fa84020dc78ee2378625c63b52f2660e813e4cb5f6e0 |