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.662.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | ee40facbe4089abba51968a2203c7c7d1b08da0401e862a88a5c89d74f6b792f |
|
MD5 | 5d58e1c9d856a63284e7e0241572a284 |
|
BLAKE2b-256 | 82a0bfb7ce8c435f2ddcda4a65643a8c033bd955a47c1ec6f230fa984b27062b |
Close
Hashes for cdk_lambda_layer_curl-2.0.662-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8b617d9ae91af7af2d0a1c93c46af7e8b98008850094cf8721f0a5e70c6725fa |
|
MD5 | 40ebf47ade49afc33d6d1c3a1e04a4c3 |
|
BLAKE2b-256 | 2e2214f359efbea405790059a21da07c52e3b88a8d08c01aca0af145e924ee63 |