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.678.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 84d67c78d857c40643e713a1a9923ca63ed66a9f4e770f5fcc1a984a1133ae66 |
|
MD5 | 02d268673e61102fb2530f6b37f05a42 |
|
BLAKE2b-256 | ba7f5f6c059652919ff9806e38bc7ee55098928805aa9f863cbc969a40937c0f |
Close
Hashes for cdk_lambda_layer_curl-2.0.678-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 334cf9ffdfc3e0bacd6455cd602d375249c088793921f5ac7f4d0a7d5a45b43a |
|
MD5 | 20383313cc44b13a59a366ae43f6637f |
|
BLAKE2b-256 | 2b0192786c7dcd4dae8d4c57336e03849018b5b8dcc6c1219d14406ca9aea469 |