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.663.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 98f986e552f5a8857e026135e67edf9797bc138c0a2354d2a92a270624d6942e |
|
MD5 | b184b000a2c31aa0701ad66e88f7a44e |
|
BLAKE2b-256 | b9dc2aa8b8724b9901e49af0cd14168070352875f13ed5810964e81d33fd854f |
Close
Hashes for cdk_lambda_layer_curl-1.0.663-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e7f348bd54420f3de47f5fb2753f6a48c623fe4de1c58b9d0748f64a3dd424e8 |
|
MD5 | a730bd7ae5bec2b050b0fc5d21798f4f |
|
BLAKE2b-256 | a8cea4cc8c3259e5c98c4b9f76ef21edaed97aa955250e57ff61a6c873ff97f3 |