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.385.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | a046c06f9e5c91e452aaa9a35686d4b64dd752d73270fa1028338863c459d8a9 |
|
MD5 | 0cf75e225a64529a595ddb9803df13c9 |
|
BLAKE2b-256 | af9260008ab857afecc9d42c251d2e6cfc7ce44ef24d46fe28b76d9ac825218d |
Close
Hashes for cdk_lambda_layer_curl-2.0.385-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b65ca6e2da6a3dc979e5bf1d3ed0b257381f625bb519603398d7407182506a24 |
|
MD5 | a96823dd478d546d3498bdf6155ee406 |
|
BLAKE2b-256 | deb1f168de1371baf4666c87b8ec3d5320012bf021a8b2197d82bb93b5d89d3c |