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.573.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 867c5d3d444224d61a0076ca890d77cf895822ec424a0825bf648609c56b9706 |
|
MD5 | 841b4f5e1655797b7d1d0e0679092232 |
|
BLAKE2b-256 | a806b3ced289618198e7b6105030a6e0582298ee844dffca543b527c0fb35b00 |
Close
Hashes for cdk_lambda_layer_curl-2.0.573-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 670721de25a637fd98a6836812c49b585c8a33beebc4046c9b5e6760eb646cad |
|
MD5 | 14988c8ed2f6a61a5dd9d3ab46d7ef8a |
|
BLAKE2b-256 | 3ffe0d7987a2083887c69be43b94a4c81b4d6ae58d99176c4fb261fad460679c |