For lambda layer use curl
Project description
AWS Lambda Layer with curl
Usage:
// CurlLayer bundles the curl in a lambda layer
import { CurlLayer } from 'cdk-lambda-layer-curl';
declare const fn: lambda.Function;
fn.addLayers(new CurlLayer(this, 'CurlLayer'));
import { CurlLayer } from 'cdk-lambda-layer-curl'
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 CurlLayer(this, 'CurlLayer')]
});
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-curl-2.0.561.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2426fd923810a25d1ebf0230227d3bb18d7f5c9112d1715a75e350f85518669a |
|
MD5 | 4ba03705169f9b9d2cf3cd6ea13728eb |
|
BLAKE2b-256 | 580cc86e86d1aef9e0bcacdb72b758ad88d68ea8911358a234dae18c75d2b846 |
Close
Hashes for cdk_lambda_layer_curl-2.0.561-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 13156d2b2c93d95a4cd5a5be836c8019090b362ec9e0583101f7a5d4126c0ff6 |
|
MD5 | 9e332328d6e8c45a865f52530d41a813 |
|
BLAKE2b-256 | 0b96ae3fbb4bb46a344a4d88c0d8b9d2d90ed679133ce7639981e7c98126e1a3 |