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.118.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6e7f7e6cd92063335c1e6406f8dc68b716432d641f04c6a304acb799afde41d6 |
|
MD5 | 6a6d8c5b434d119ad9822f362361b1c6 |
|
BLAKE2b-256 | 23747f8990f30debbdfa210b1c85d5a360fa42676d392c6ae2e53b43f1d89688 |
Close
Hashes for cdk_lambda_layer_curl-1.0.118-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b128fae14a28524d95096702d05fdc43a0aae792f058d8acf72cc686fe89bb8a |
|
MD5 | 743bbf7c28c4bf15953f9437843c2a73 |
|
BLAKE2b-256 | dc89d242cb6d13adfd730a587ff77d13ea892e8a4c23918dce3f491ce7b03799 |