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.37.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f4b48daabb0e1bfacac18f33b1b90cb37627e86dd1440938c690c1608171b877 |
|
MD5 | c120fa84984b4df78c66602d85085fd2 |
|
BLAKE2b-256 | 860ca20200fcf87a865450e7c334d2122514329de199e4a2f1628424e4c4f4fe |
Close
Hashes for cdk_lambda_layer_curl-2.0.37-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cf4d46502e2d0c31c1d5c9017adc2d82f1f0b30d5c5adecc0fe8de5680ac676b |
|
MD5 | 121fc8c539c7ef4169095dd7a07fd407 |
|
BLAKE2b-256 | 2b081c40369a465651a53a67150148a879bdb7c07003037643fa22b685a2b7dd |