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.251.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5cf55ad951b57458a2020963be45d6e99ccb88a8087d7d614a556b44feb4a7ff |
|
MD5 | fe51662ee6eacc6daab68e059f0f9273 |
|
BLAKE2b-256 | c2b5d3e6af5865f9150e3c92fdfdaa3911f7dc7832593c8dac155027dc57ed9e |
Close
Hashes for cdk_lambda_layer_curl-2.0.251-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a2ffbbf734b7facf28170628c2293c2b5a01a4b3769b7ec6d928eb6fff046575 |
|
MD5 | cead9a9360031c033d4b9b04b8bb5a4e |
|
BLAKE2b-256 | a48c00098ba9dee64a73f6241e05fdf3d4c6e072288bcb4c3d16abfad0fe7a64 |