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.89.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4fe25d9c81989390d642be4e60b2533dd718ed0d0c46837a04dfeb359d49c71d |
|
MD5 | 1709736e911d5619671b7d8b06187732 |
|
BLAKE2b-256 | bcb73f4c02e0f8030af5dc8f5bdaa0911896595bd65d62cbb7a975650be47e76 |
Close
Hashes for cdk_lambda_layer_curl-1.0.89-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1893fe1d4fc20d11f7ca701f8e0d90a396b38f176842788ec8ac3f291f6b2f85 |
|
MD5 | 4e9e5e2df8038a370dedf929924bf786 |
|
BLAKE2b-256 | fc82f061f4f576c7658bc05dde71e3eb5e9fd0fd50e4685744bf29b398cea774 |