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.452.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4388d29ee3e6e402ea25e4c2fcc458738cc77fb3072aaea69ebb677378eea499 |
|
MD5 | dda6caac2bcdf7dc001940d5dc3c31ea |
|
BLAKE2b-256 | 45f902c586b548877b10fd314af7ab2058d13a2024308fcd8d04a825b349db4e |
Close
Hashes for cdk_lambda_layer_curl-2.0.452-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d467a354be41675b7ea683957bcc31fe6c3e880cc4bec4466e8b9a8a59948856 |
|
MD5 | 231071c2cba812fafede8f993051a842 |
|
BLAKE2b-256 | 6da706da91957c60a331c891c8414d556034e5f3a0f57f38d566969f1860eac8 |