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-1.0.263.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f26bada06375f737c0218ee8ba5ef1bfe216bebab6962392b411328e230fd600 |
|
MD5 | c7e1d0262507e05a2333c9a1abdac269 |
|
BLAKE2b-256 | a6044c165d5a6dff1387eea45d9d7d87a2c7fef47a480ead5ee4a1491cfb8507 |
Close
Hashes for cdk_lambda_layer_zip-1.0.263-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4b24bee80544b1adebdd9244d092dea8cc2e2a2d44c6c3ff522a33760d045f51 |
|
MD5 | 40d4b53e797392ae7756df6031e47ef3 |
|
BLAKE2b-256 | db4dfd6586eb20bf7ad9ecf3e1f7c3ca55fcb5299990305a82dc50a393975253 |