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.756.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 77145802e5f1c67287b88faf455c1d23e58db1348dd5b5c8a628740acb13805a |
|
MD5 | 6acc226b89f093139752127d05409bd1 |
|
BLAKE2b-256 | 46896cf9703249878360cf2fa261440e180e41e314e258887d83e61a12fd02a4 |
Close
Hashes for cdk_lambda_layer_curl-2.0.756-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ac8455f1ea5b314ce579e4ef5c8634513a55b910be0bad3df23fec598a8dea08 |
|
MD5 | 0b9013c77cdc8606479d58895d9e23da |
|
BLAKE2b-256 | f1be5d9aecd672ae1ad12637112de7f3b09ff8b9be2b797d90dddd4fcc6422d0 |