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.359.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 21d3a920d6191a19c76f8658b61ee2d12e468dab71756b92a32a828051d26a47 |
|
MD5 | 09364583e954cd8f1fce32894ef7bc3d |
|
BLAKE2b-256 | 7250884d2b5b8a0bd44bc7b1147918dfdb209f90d2b77f08499f4cd64f17c672 |
Close
Hashes for cdk_lambda_layer_curl-2.0.359-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f07a47888b3d16172a5df8156c097968f57baed8061d1533f06ed0e8efd56d4f |
|
MD5 | ca0ce9219eb752eca55c49ea00bedd3b |
|
BLAKE2b-256 | 0567df83d50a468372a2ebe1bd0ae9c550d411b777a1c13b59db0df775bdb134 |