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.550.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | b3f0a2efa10cfb884c26c67c62121f8ae1bf026c77398c0bc65c18f6c008299a |
|
MD5 | 754809e061bdf94e78d9f3df0de2be7f |
|
BLAKE2b-256 | 08bfecebbaf001c71f82c1ef35426dd035fc833feb85ed14a5ba998177420f54 |
Close
Hashes for cdk_lambda_layer_curl-2.0.550-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 341b7d98d69bf7872a159d2577fa5292f50c50e4cc72295a69d2bce98718eb10 |
|
MD5 | f05b408d4fe51b5f86a5e0ce4bfbaa68 |
|
BLAKE2b-256 | 84241667c725f4de7cf3a93fef86f63b1c540a233a04e45ebe70e1e10acede36 |