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.121.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | d84eabef04c67ba7a1b9f7383a210f91d483fb3281b0d72e577653c7ffd07b1d |
|
MD5 | 8845f840097beb39d95dde40193c9cb7 |
|
BLAKE2b-256 | 0def1181d297eace6bd660528b9c9db5af58044f94074c8c8a0d6680ce723fcb |
Close
Hashes for cdk_lambda_layer_curl-2.0.121-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 54391bd8f94101b09db03a425c45a51cc860c995126168300a7d56e7a6fb863a |
|
MD5 | 21145d7ee78ef6a24c9ac47619e6bc4b |
|
BLAKE2b-256 | 687114569a9ee74eb0617572aa1226994ddab1faae8556ba956911443acff978 |