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.709.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 505409dbb90cab221690ef63d11168e0b62d2d3669e239b00a4f56ba454d3e04 |
|
MD5 | 1bf05db7931d9ed941f4ea0275089ff5 |
|
BLAKE2b-256 | 8c2262e22c4d7266932aeb8a525d0276012b7f4ba253fbfe187dd6540a9a4c6e |
Close
Hashes for cdk_lambda_layer_curl-2.0.709-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 691c871468691711919a486083461117d8bd3d436697976a852abc2f183d7018 |
|
MD5 | 6bebefe210973bbbf09ef6f9d9e1e5db |
|
BLAKE2b-256 | 84b661e64c7d07d983680d695fef7b266765a1c17eed07fd9f4202e551dc2863 |