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.193.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 92227bc855d39cdff3645570a6123a48aa05acba71bc704a033e25216a808ad7 |
|
MD5 | 23b34c24e525bb9fd1b963dd59b36714 |
|
BLAKE2b-256 | d32cdcd680a32ca21c06e15f3b5b9b8d9af0e1efd0b9c48d0e3860fc272e067e |
Close
Hashes for cdk_lambda_layer_curl-2.0.193-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 28ee79544215131b90d0ba664c6ce533177c8603704f2ca2e49dfec2f8c1353f |
|
MD5 | 1f0e4395057b9107596623630445a6a5 |
|
BLAKE2b-256 | bcf67bbbeb81a50aa762f785133701417886309b30f368fa09a79bb6332d4590 |