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.591.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | bf2487c2d82d545d1915a9d429ea39043b0c55ce183ec7aaceed547fc20faceb |
|
MD5 | 6c8458a421ad7f0821dbf08bcb3a0902 |
|
BLAKE2b-256 | c6994de08428837cdcbafac7d2353ada97a3624c21ec104ecc7c71387918037e |
Close
Hashes for cdk_lambda_layer_curl-1.0.591-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4539531f9543aabddcc5072ddcbc54c7c2c6e4dd4353263dc5e3e6230d2c8d9a |
|
MD5 | 674a39666782d7aaf930b42f890c5b75 |
|
BLAKE2b-256 | b7b6bad92fecd3f44ad1a209570201bd7b3b40a614814cc8d3ed811f3fdf6808 |