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.328.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.328-py3-none-any.whl (6.8 MB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for cdk-lambda-layer-zip-1.0.328.tar.gz
Algorithm Hash digest
SHA256 8984512dd19032e032698e28b6a6f590a4842203f14e488c9e4ab7dded1330b2
MD5 11a0245f0b6f475e9c188e42262007fd
BLAKE2b-256 eb4fe9a37e52e8de094d027f5011e275cd8c6973bfe2828a8a7f9a2dd2809515

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cdk_lambda_layer_zip-1.0.328-py3-none-any.whl
Algorithm Hash digest
SHA256 680b483a8485f9cfbb4cb4ae3e954d1d85c8f474044d12bea83980af40d42f45
MD5 3e5540954d8634269fb017fe6ab6bc74
BLAKE2b-256 261d7717a20eab6ce080485b7ab9496e2aaad6ba33048bc1f00f4b0071f4edad

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