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.216.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8ba54eb7b04213e8e342843ad05682f4b2c9f8dbdbd5d992c17bf2d7593e7a5a |
|
MD5 | 5e2139426cfcc476b466ef565567d2b6 |
|
BLAKE2b-256 | f5d0df333cbfc011b4bc15cef9c4c3933115f6760f80c3b31cce51021bcf3eb8 |
Close
Hashes for cdk_lambda_layer_curl-2.0.216-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a88514177c5b57ecfea8bf0dfcb9e6da33c483b34ad227173f9b884ee186a72f |
|
MD5 | 7c79fae7ba73e3c7cc16429efff7fc6b |
|
BLAKE2b-256 | a052b1d78700d3fc5052db1381dfa209565d858a0e87a9ec0f2c75bcfa85b5da |