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.379.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2c21b4fa4002b749cc62f718b01cdbfc1cd0e2194ff63a7316f3769b4400b530 |
|
MD5 | 6d77dc911082b8a565592a2ed2e21706 |
|
BLAKE2b-256 | 99bb52f10af9f4d109c2106bbab17f5f3e3519cc1493d966f567a0a2f587c932 |
Close
Hashes for cdk_lambda_layer_curl-2.0.379-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 26e29dd6b877ac276ed4266fe9b2b36d925ace014a26b8f5b632dcd9491890c1 |
|
MD5 | e0d68e8f6bb03fe25a3b132bb0d1b0cc |
|
BLAKE2b-256 | 817655eb2c237334293cac92c01c840ec322bd67c358b7aa3e327e7ffd5523ba |