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.459.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 709b6d0a60c00166eb3c4c46cb6ab6a3f96f4b7bbc6cd5d4e9ec039989b0149d |
|
MD5 | 1ec582dbc899a73e1a8b4a647f7b8940 |
|
BLAKE2b-256 | 189b8d329683cfee537e48c574c3939f5b21f71844dc30a5e4815b615121ff77 |
Close
Hashes for cdk_lambda_layer_curl-1.0.459-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a22eec1bbe8bc94dcbef9d0c6f02d462b8a856162dbfff6fd73343d15df8e546 |
|
MD5 | ec2a18ba2bd63ef75e713e409da0f1cd |
|
BLAKE2b-256 | d8a97fb6b5f41de975163afec55be76a61e3726e031e7efe2da1d6436ec0ecb0 |