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.800.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1f1fe12b7998789f53f08a6e4c96f1598df77ca4f9a350842e10a535eaf30713 |
|
MD5 | 7cb4edd89fdd0a93a8602ab6cf5e1e49 |
|
BLAKE2b-256 | 490ab263912164faf6b672797bf8a8b6a0b5843d4a6786f505564cab7469f6f9 |
Close
Hashes for cdk_lambda_layer_curl-2.0.800-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d40c00ce97ebc7cbbed62e6fc9cf17e2589e00f10a3546afd4b11e8c4851dbd0 |
|
MD5 | e26c5bf70bc31a9d63d3b5678f949872 |
|
BLAKE2b-256 | 1c991926eb739a57d40861f6c4192508926f40378c36095b5710b73c119d529a |