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.295.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | fad77dd81498d1299ffb2487dc5b0910f585b0109dcaaddd597fda71db15a1cf |
|
MD5 | 241aff6220eb416deecde4b94e6b1138 |
|
BLAKE2b-256 | feb52d6baec8b7cfd206b8ae09a8defde61dfd519ee32c17e18b874fa8308eaa |
Close
Hashes for cdk_lambda_layer_curl-2.0.295-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bd83c345d16e1ee454779c667242a613d7bc0a5ca222a9a6abc784417a2ff5a8 |
|
MD5 | 54bf80bd151f79d48405d755c4a989a8 |
|
BLAKE2b-256 | 1ca3a617b48c8ea6d95566e620d9ee3c18d64f5ac039bf4d78a4a12f75f96876 |