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.636.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4390a3cbe1279be720838d3f1bc54517894ea1b6174e128bbabbf44f5108e83b |
|
MD5 | e10f0071874e88a30b0e0ad86a455e25 |
|
BLAKE2b-256 | ac302308db65ffd5c2dfd2526c9d4c9192c7b91b7cca3453e7213496fd8a7995 |
Close
Hashes for cdk_lambda_layer_curl-2.0.636-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 681e3524c9dc29b0cfa70bb1df82ac9a2fa3b6745ca625caa27a0951a9254a4f |
|
MD5 | 5ab7c3f447d9afdea603feabf89970f9 |
|
BLAKE2b-256 | 4844e5be1427aea2fe0e6901cfba986d29bd6e64a07c61ab3c7b8991a613a8cd |