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.34.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4bb6ac15e4de721f3fff0d445047f76cfe9e7430423ad8173e788a2f551d4875 |
|
MD5 | 92c38cfe711e34c000262f99de931ba2 |
|
BLAKE2b-256 | 98248de57995e013ff9d0bf30007923173a818772f305d70ae97f359c0904f00 |
Close
Hashes for cdk_lambda_layer_curl-2.0.34-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c1767ff766bd32efa6dcea3309b5cf66dc9079ad78816b08f72f2818851ea4f4 |
|
MD5 | b4cb7f6fe372bd4d5c4c758ec6f82894 |
|
BLAKE2b-256 | af366901077f2570fe64ad62e960f4c5e3150e66d5d57cad9b1c1d5e2bd48eca |