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.466.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | c09c207aa83c2a9dadd90120c507ea177417c188d32326814f33926a71b1ebbb |
|
MD5 | 6860f0faef165d4a9f3bc892a190c840 |
|
BLAKE2b-256 | bcc44f0d9142e0a40c501e5d80765d3e4995d6c7ab3d89e5f1cc23114cc7786b |
Close
Hashes for cdk_lambda_layer_curl-2.0.466-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7c8c6d2b9b84e2c1b67dbfae459b723245b4db1bc682b9985dc9c74a468abe12 |
|
MD5 | d602e2c47adfcb1080a4c8d1ef3cfbec |
|
BLAKE2b-256 | d5e7ee486c442ea4da51fd97fe43f432b451a4ce9df8c16ea71d1bfb3577ec5b |