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.540.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 139738e1cd68caf06be3528c56b4a34652260074d785d34f486e35fb1e9cd5b3 |
|
MD5 | 49b5a9da079ae5ab09087231fa402046 |
|
BLAKE2b-256 | c07119ba7db81bcd9a019072f883a600c14795ad57cb9323d9c6676948e6ac4d |
Close
Hashes for cdk_lambda_layer_curl-2.0.540-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5fca8dcad7479f45730d8797649aefe23c1fd231d6f67dc839bb4c39dff32efc |
|
MD5 | 36560ff71b29b13668fa9bcfadf24bb9 |
|
BLAKE2b-256 | 14a6c973009c0e1ecfb222655149ecb24a4887700e6fd08f08bb55af6b98a410 |