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.252.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 469b87c452eaebad1390ad89e1ddd70c931410e3e8a663610b85f5ecf88784f0 |
|
MD5 | 3a4168ca9eef6d5c66b71870b7e6edf0 |
|
BLAKE2b-256 | 84152ecb5085b072b96f4e46751f5f5f7d96b2238149cbac5714a5ef9ae11e96 |
Close
Hashes for cdk_lambda_layer_curl-2.0.252-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4d7b1317e7fee1238ebc2510f6e4c250e9f46e1a603dd78589dff1c6c3857261 |
|
MD5 | 98733f701e8ad3d7f74e3d3d565ceedc |
|
BLAKE2b-256 | 1aa4adac72a9f168ce53f32fbc5bb3c50f2ceaf82845983f128e602eaa7b0733 |