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.736.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4226f6d92b6ea6b92bf65b57bba37430d0c80b20fd8d72189115b94ca8fbf0f6 |
|
MD5 | 7def73fbf195478ca8c69cf673b49fd7 |
|
BLAKE2b-256 | 64650cfd78d2c07aae417750d25d46b33574d627eca3c17c1377cdd1074564a2 |
Close
Hashes for cdk_lambda_layer_curl-2.0.736-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cd18106a60bdc17c4d48b34949334442f0a952fe363d6e982e5e4b5ebabc2f33 |
|
MD5 | 06ff0f0f359464e94c68c2b19a9d4d1e |
|
BLAKE2b-256 | 240170df5d741d8c47ded9035893daa904391128582581b2346246b69091f53e |