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.433.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 11587d1c75d1a0b325c0339e092bf91ed25ae6af424baff9ed3b980a0f1c6679 |
|
MD5 | bd3697a5bacdfc988f2da02e90252191 |
|
BLAKE2b-256 | 99204f10031a2898996a815c8e07cc6335b04a2eadeefa2953f6f37d021a8684 |
Close
Hashes for cdk_lambda_layer_curl-2.0.433-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fb4e9387d18513ed1ba9763a2af88045cb5e6a4b0bacb945bf3ed216a9822218 |
|
MD5 | 0d42b5396e4dc666efa89039b7c1f404 |
|
BLAKE2b-256 | 04e80eda2f57bf49e985cd07eb2049611b6acfe945aaf705df6fc2f92833ac45 |