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.776.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 88cbc41fbadd3ac43012c1a893a9f0c980b140aef782c101faad2756daab24a3 |
|
MD5 | 592678088982b2f7f4a8e24193df4aad |
|
BLAKE2b-256 | ab2d8134e3bbdbf85efc30bab7d0ced3acf36f90075df543bdc56b502a675e8a |
Close
Hashes for cdk_lambda_layer_curl-2.0.776-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ab877df31aa0a7d359b89ae64d108f7919819c0b61e3c37987b81321c5ab5774 |
|
MD5 | acdc1d5a7ab8a5cd2d08ab408de02578 |
|
BLAKE2b-256 | 745e1d3df24416f865654689868a8f7651a028dc7e943f0fa3a554dbdb7b9e1c |