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.435.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | cc6506e53cc652ad64ed7225c9f984ca4990f459d1270dd5fb785ae08295ccc4 |
|
MD5 | aa77c3772360c167abf9608de13f997a |
|
BLAKE2b-256 | c44f451221823171b0df50131de6b4d8a0a7b34366eb44d08e5ac94285084f8b |
Close
Hashes for cdk_lambda_layer_curl-1.0.435-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2befb2ecf417acf2e8158c542f84dafe7acd4ac9760d252b39192d8d9359b304 |
|
MD5 | 49415f5863206cf47fa4553947e2d79b |
|
BLAKE2b-256 | ea7a2b751384b832549ca33907e898c70e17820756410e7affdbd8100788bf72 |