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.603.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 178c17eb26aa13b546d01ecaea94199b50203dff83a1010f2b955969cdd472b1 |
|
MD5 | 52357598acb56b0943dd87ad8c57a0fd |
|
BLAKE2b-256 | 2c85a22980b51c38d02c5b637e5dc21a5c7399e57eca5ac5353d562abfd317ec |
Close
Hashes for cdk_lambda_layer_curl-2.0.603-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 24bfccc7c173f5f24a493dabe33e8ddc5c4b9b36a4e44cf2374a8bb689f955b9 |
|
MD5 | c5bc1b5177302774d381e3766acd2694 |
|
BLAKE2b-256 | 9a9bbe2ef8a36c3538a30182209becdbf483576786d0488b1717c87a69085d12 |