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.371.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | d2a486f583d92096821fae1756ed2ffea869666df52fd9e9d411eb627a920342 |
|
MD5 | e44c8312b47ceb43e6bd6c0ed003a615 |
|
BLAKE2b-256 | e8e9c443498747ee0ef963af7a8d4c8e224d847ecfe1be9e9a49d6ad1905e783 |
Close
Hashes for cdk_lambda_layer_curl-2.0.371-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2106921e86ed7a3b8a47becbe60cdb0d3e8d9cc91d10bf3f0edef84a69a455f2 |
|
MD5 | d65382763e9223d9caaec229c11f32bf |
|
BLAKE2b-256 | e0a676f6fdba3f41e058464b712810dd4e3c81cd92d85da88303a88a7b45c61d |