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.697.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7018706af66f1397084f9025366f331f56ffee2d375193f0d632faa2c420f09d |
|
MD5 | fd2e1df714e470539fc0023dc0ccfbe8 |
|
BLAKE2b-256 | d303839933e08b24fe0218bb28be371855eb8647a1dd1b80f50bfb24b0d0b05a |
Close
Hashes for cdk_lambda_layer_curl-1.0.697-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 407976b530794c9860f79ce05f9313e1700285cdaf3dffb56c668fdf75966df9 |
|
MD5 | 09ef9d1018fb7b8b0c7f999c5b8148fe |
|
BLAKE2b-256 | 297d7efa5ad79d02858b073877d89340b3ce6ca68a3e4b58fa4e89b35580223a |