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.673.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 75a95c751de72c5754dd56fa44883f035cac370ff1dc90e8fe2bc10ae6e0cbf5 |
|
MD5 | cf9bb05a0dd1ae8b71f513007fdd553d |
|
BLAKE2b-256 | e1ec567454f7ac31e40d4147cdd96bfdb440eab7bd0b3fb7e52c6a394db845f1 |
Close
Hashes for cdk_lambda_layer_curl-2.0.673-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 53712826b90ae6765701266b03d7d956b8e7e7edd8818787db6b3093248ddbce |
|
MD5 | 8a5c0f529a1afc49c85c71d77139d57e |
|
BLAKE2b-256 | 307769c5b2c40f17aeb34876c93b5df0984c01ef47a8db371ef0b49895631df8 |