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.357.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | da000a596771db6c01e2de71f6c7a7bf99aedbc9573e6bc364ab36534c64ef3f |
|
MD5 | 9b307d9aea5c5ce9f375f9bad2ff803b |
|
BLAKE2b-256 | 6cc54dd90db7a72187f4edf6f61ddb1224ad690436b24cfb1694b6198f10f1e2 |
Close
Hashes for cdk_lambda_layer_curl-2.0.357-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 61d678e60e2a014c2709965197a6a9d6d5042fdf34b7dfcc0629df60d406093a |
|
MD5 | 4163ecc1262a8041bbb78184178b007b |
|
BLAKE2b-256 | 2f83a692c53ce693bb40fa831a2940d685c14b6ea27008a7311596d30e99e4eb |