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.258.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 82e87adc3fb6b24ea9810a5d64726bae5195a70095c1def29cc2e625c0aae84c |
|
MD5 | 79d766d42e0dfe376699db26b2a04df5 |
|
BLAKE2b-256 | 8c974a56c34e4f2256c7e13eef0f14e3ba11454e59bd456ef2c9b5485715a0a5 |
Close
Hashes for cdk_lambda_layer_curl-2.0.258-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5c5118d73401c068a5c6ce4c09651a0f065b3e74d69045feef5db94d7a48463c |
|
MD5 | 2aeaa3bd009e7ce62464a7798ac3c37d |
|
BLAKE2b-256 | af572632ef3f742a4e33565811db7234d10ab01dc4af9cfda60daece5731062a |