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.767.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 573164b5170717580b5a4a2128e5789baeeb0ece167900dafb928fe75083cb04 |
|
MD5 | 6145d988e4671ab3542019bda098eb14 |
|
BLAKE2b-256 | 19705d5b0965feea3bd5638c2ed6051e445ac5acedad9e5800766dd6eb772ce0 |
Close
Hashes for cdk_lambda_layer_curl-1.0.767-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e870f6bad1c4007272ee7c9a1fd67405af1a6148b86ef4b1a6392d5f8c58694f |
|
MD5 | 8d21099cdb7aabcd6692856e1ee6ab10 |
|
BLAKE2b-256 | bc12a1d06fe103e386b577a622d34a62924af0aebc0b1d62de4c77e52f34049f |