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.817.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | df8012f497fada8005f49381af520c7f203c19e445605f27d053335ee5f20792 |
|
MD5 | 2946451c9765853af758682164b4a8fd |
|
BLAKE2b-256 | b9c1ce72a4908c1d0c370d3a078b880dcf15428b10d15530832b1a15529818ae |
Close
Hashes for cdk_lambda_layer_curl-1.0.817-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 13879e0b1257dc7c79bd49287b16b1e32d1f6094784c5de08e0cd98a9f169d2a |
|
MD5 | 0dea3e90eaede199d9d35d7a84672251 |
|
BLAKE2b-256 | 4b4a856680e343c26246fb784cb969639ca26be978641fcefe0277b2a118e80a |