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.362.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | e12994a2dee0eea5a4ae388c8764401dd1e2f56b8fe7f856ec5f2d5c37a15001 |
|
MD5 | e8002221a5024ee8d7b14e10775db957 |
|
BLAKE2b-256 | 1102da2b4736dab894b8ecd5e27040df9df4cb4aa9945b612f2c6c98ab1bfa4d |
Close
Hashes for cdk_lambda_layer_curl-1.0.362-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 38c2c240724551be51049b9c54b0658268a5c29ae345f514efcd111910bebd53 |
|
MD5 | 018297662d85b659b76540be03a65a8c |
|
BLAKE2b-256 | c18ac72364c9b6fd13925ec2d0b11535b72fc998d0c5f9d3e70603800402bbf8 |