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.516.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | a730b03db56cc56345224bc3632b49a41e06c50856fb82af3e32c589b852f809 |
|
MD5 | 01a6df5c7d22b942a353e12ac41f24b7 |
|
BLAKE2b-256 | bb2e0c3cc395901334c768696eaaa982a0414b16edea828a0f249e6daceabecd |
Close
Hashes for cdk_lambda_layer_curl-1.0.516-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | dc0db34b67487a80300fd90d633a17bf0a0d0df634758d05afa321f18f2fcc88 |
|
MD5 | 60268c9b45d1ff5924dff273e22a097f |
|
BLAKE2b-256 | c804691feb1ce3a56327531878afb2afabe2840e5727b6f6cd271305d8d2c0f7 |