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.39.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1d229633325109b3494f11b34f2d9cc0b62d1b0dd9d4857c45c1aaf6c369f2dc |
|
MD5 | 99958539cbc19e9bf591ff35ab6d69ce |
|
BLAKE2b-256 | a83dbd6d105aedf2d693aae9033136e05f1b52529f2201b9895cc21f58722907 |
Close
Hashes for cdk_lambda_layer_curl-1.0.39-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 640917bba62c85e5fdac3251de060ac38ac1a4831a813c03fb75c87408b530b1 |
|
MD5 | afaa04121c186f39ea9555242aaec43b |
|
BLAKE2b-256 | e1ed29b047341108792c847a9264a7a33e2173a27bee31f499455ce6a288b151 |