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.590.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 62ec5d2572b23530210400c37c5af53d963b72c8c369988962f6065f3c7695f2 |
|
MD5 | 1d7e33dca986e97d8c8c4d928265e153 |
|
BLAKE2b-256 | 28fcb7c0e2bdcf096fed10b659c636f59087af56bdad24114a75152a397a778f |
Close
Hashes for cdk_lambda_layer_curl-1.0.590-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2319f302d29c328442acdeab0e06a9540f3d3bccf59b27f33facbf53df7ef17c |
|
MD5 | 4a39f06ab333db47ed6eb0814944b91e |
|
BLAKE2b-256 | 7d5b88cac03b941e6fa6f2dd47d3c8e77079bebe1c7fc91d7f6a2324f8590b0a |