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.616.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 183b124894833c66c820894548b1a412fe928bd51d1df54e0e550c5cb3842ee6 |
|
MD5 | 14755b3cc428e9e683ce76e5366396a6 |
|
BLAKE2b-256 | 98726efbd157058050c1e18d8ed66762bed1abf36587c55c134be634ee6f6ae5 |
Close
Hashes for cdk_lambda_layer_curl-1.0.616-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9c6095eab3bee2b0ac3be55187acc0fb851589d90d3096433b42f2ba001cfe7e |
|
MD5 | 57f78c9827c4551eaf709029936ae3b2 |
|
BLAKE2b-256 | 03dd7d0c4f7c6ce2afb39fa986502f748672539ec9d8543ffcc0d25c3bcd030f |