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.332.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | dd17d34f6f1c75672734ee2c1158f568d4922d7a4c9d8be6dd250d82f9c6d77b |
|
MD5 | 9348c95477ba8a1ccf32c3c242b918ae |
|
BLAKE2b-256 | fafc02fec797d7738e0673422d52bb05e21521b7b9b59978d96a64dc452464bc |
Close
Hashes for cdk_lambda_layer_curl-1.0.332-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8779ca2498c11ed85c4c517852b6cd14ccf5fddc99ceaa933682ca8bcbb38bb6 |
|
MD5 | 8bd4f16f7202932b79690bca842540ee |
|
BLAKE2b-256 | b160aa0605d1ac4f446cfd68e226cf762f200677ea21aab177d53bcdbbe7959a |