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.263.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | e495957437dd996f792cc3d082a0e59c80e586bb2596f6a18c814168ccc68f42 |
|
MD5 | 139c96c149f8a6c90cec64d50aa88a60 |
|
BLAKE2b-256 | fc73e32390d81e29b06f3fc005725dd9a79b2f43569ec34f9b7a1e7ce9519b87 |
Close
Hashes for cdk_lambda_layer_curl-2.0.263-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a83b425139938ad7c449bfec7f41751ddccecb7c0a6814efc46bf6669327d3b6 |
|
MD5 | 205cffd4788721747e2abccd02ebc204 |
|
BLAKE2b-256 | aa803ebc5b4d538d7be69eeaefd4ba8c6dcddfe9068d74a91833f0955c90e3eb |