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-1.0.23.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 28fae2e0f49eb15e4ae998d59b978f9f25d40ee7a93372aa571d7dd5d353996c |
|
MD5 | b32f9821c090768242584f1336480f04 |
|
BLAKE2b-256 | 2e9f6f93fb99663c61a2b5d1275ace645fd0b6ea9b7eddef0f3ad4d361a6ca9a |
Close
Hashes for cdk_lambda_layer_curl-1.0.23-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 17a68a202eb2b35c79af036b00697053e18df0c8cef0bda96eabcaca188019cc |
|
MD5 | d214a25de1101dc654315262f072ee64 |
|
BLAKE2b-256 | 6d8e95762b4a2b58356139f0c62cea586f5f2cc06e994e02d2eb4a8666a9bbb3 |