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.290.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4d5a61638be81ff43393b25cb1031c1af1705a6aa59564116120d3dda5737194 |
|
MD5 | 02ae05851c6c35c826c78360c263eb28 |
|
BLAKE2b-256 | 510c48ac2893e13b6448854f45a23f83bededf3ab55ea826927cf7c39de36823 |
Close
Hashes for cdk_lambda_layer_curl-1.0.290-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 86f03854c14b2dd1aea31f7a18daabe968f58383d9021d7e951725b4547550d3 |
|
MD5 | 6f3524ec672fabcb3677f49027a24406 |
|
BLAKE2b-256 | 33c66fed1bd20f4942a9c5d56b11eb57f56906e4b5fd1d2047e49757568960db |