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.194.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 773d4b4af29547158dee0beb82baf0bae23f4fc163867928b35e81d1d82ed79f |
|
MD5 | b69448ab8dfa339068896f71ebc1af55 |
|
BLAKE2b-256 | f0efba7a9e8daa3b75b671bc4a880bc177a929ed1c70d4050f83398dc673ce58 |
Close
Hashes for cdk_lambda_layer_zip-1.0.194-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 155def8a068ebc6011217a95d3682a248d3899b462ae01c2d2d63aa73ac449a7 |
|
MD5 | 7ffc40e233346bde63440a3b492ea141 |
|
BLAKE2b-256 | 2837b1467880721c7e08fb6e71469bff14ae0173ffd3a7b1a187d724a01def6b |