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-1.0.690.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | bf973d42f5fee4703fdaa2d31776c5420773fea571fc8d2a04d4e4a44b7adc78 |
|
MD5 | 9391419ee807e613650829deb8811246 |
|
BLAKE2b-256 | 7e3cc873b3ae684d492a7c99223fabf55151dac216fb9c22fe4dcb6904c06018 |
Close
Hashes for cdk_lambda_layer_curl-1.0.690-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1561466b47c8d0e020edbb7bbef5618373211c7ce7f8101256a0e96d746835c7 |
|
MD5 | 8dc135610cbe854c6160e0b740b318bd |
|
BLAKE2b-256 | c545c18279c476b785634ac02afb00fbba700b9ca208609b927b209db46297b8 |