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-1.0.16.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 937b9897b0edb3ed449dafa5c5a1a8fcb6e71a19b78ff9e03c92922a21c3775b |
|
MD5 | 04406b18bfeabf7b36c271fcd4a6538f |
|
BLAKE2b-256 | 0ba95e0092e0f782475acb97c7919c7c2cfe0e6b50eb52ffbdfb8609a104befe |
Close
Hashes for cdk_lambda_layer_curl-1.0.16-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c4b0d384cf56acec5b21d7ddb14227df867424395b599815df33b20194badaad |
|
MD5 | 40f73730ba86e4f29bb41ecd25ff6942 |
|
BLAKE2b-256 | c178661613a909e69ee9f68bf40341847c18a9d6c70cd00fae6e945188016b5d |