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.622.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 953c14c1af983f8880b1e92a7def0dc2f75bd249c78a7c65d201246d6e36b3e3 |
|
MD5 | 97f43e2d63306b1731a7bb9080487847 |
|
BLAKE2b-256 | 81213ed1494b15b5208d11757e8f058949e0261fcea8b16b9db016195ca9fba1 |
Close
Hashes for cdk_lambda_layer_curl-1.0.622-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 13f42d47d04b4d674a2675fe43f20e1a2fe7f4c388faad71e164f42366c99cb6 |
|
MD5 | 25d91e4621b8debb084cf0ba2f1facd6 |
|
BLAKE2b-256 | 34eadde364ab64f0fc94db85e079fcaa055725720bbae0200bc13bc86350aa06 |