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.125.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2d35f2ff04c5e16cd325ce2c5b844fdddb3c8f71377227637b0b28781f34580d |
|
MD5 | b39c40c033148ce37f6126313f216237 |
|
BLAKE2b-256 | 022ec50ccd68bc65efd9f2b78aaa5e932fa23e23e0ed14f691903adb7ecd540e |
Close
Hashes for cdk_lambda_layer_curl-1.0.125-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 40b1dc9b8ef6cd730ab3034c17f510e84236489121a9fa118b22571403c016c6 |
|
MD5 | eaefaec3fb8d737727cf5582b6d2f821 |
|
BLAKE2b-256 | 2bd57a6cb4c01ffbf80662ee40dc1da2496f5fe7c367a090e4d23f3ff31ff38b |