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.161.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | d17fb775b224fd411f5b90ca2ed0c6aac722f0e83e35c2ff5b06c0cfc23a212e |
|
MD5 | f1e406f026991d1512e10e778e11356d |
|
BLAKE2b-256 | ed55d10f0656cda945dc7f7661fd0bf7f1a3a26d8fa902db7bd9558116e670ba |
Close
Hashes for cdk_lambda_layer_curl-2.0.161-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3a21adad31c21533676a8054c91f170a2090c704d65d02f951fcf8a3283f9262 |
|
MD5 | ff00def7ca87c593a9d486294543e6b7 |
|
BLAKE2b-256 | e2898f9b903fc1b1912591f44f545161f451cde4ed66cf6499fc7cd45fca7da9 |