Skip to main content

Lambda Layer for tar gz 7z

Project description

AWS Lambda Layer with zip

NPM version PyPI version Release Gitpod Ready-to-Code

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

cdk-lambda-layer-zip-1.0.211.tar.gz (6.8 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

cdk_lambda_layer_zip-1.0.211-py3-none-any.whl (6.8 MB view details)

Uploaded Python 3

File details

Details for the file cdk-lambda-layer-zip-1.0.211.tar.gz.

File metadata

  • Download URL: cdk-lambda-layer-zip-1.0.211.tar.gz
  • Upload date:
  • Size: 6.8 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.7

File hashes

Hashes for cdk-lambda-layer-zip-1.0.211.tar.gz
Algorithm Hash digest
SHA256 461b3c3dec1597b4dbf536f46dabdff2b2becb64b1fdff2d396d39268bfe94a1
MD5 1b45f47899ab67e372ea7514968e3551
BLAKE2b-256 32507bdfa34dc3e4669ce600cd48937e07e170ba644581a0a8f11dfbd45ad223

See more details on using hashes here.

File details

Details for the file cdk_lambda_layer_zip-1.0.211-py3-none-any.whl.

File metadata

File hashes

Hashes for cdk_lambda_layer_zip-1.0.211-py3-none-any.whl
Algorithm Hash digest
SHA256 97c9f69974fe62e24d96c6b065f470e3fd98d7607cda4a714f653ab179f336b3
MD5 bb0549d4a554c86dd6f8b78f5e9cae0a
BLAKE2b-256 24a2b9b9c3e8e744e38010791755cbc4f4b8accef475bd8fb3d4d53f52c027c0

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page