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.509.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 63dece5fc3aada8fff299e5a6fd7f2c6f05becd837fb71fe4f907928c0d46cac |
|
MD5 | b2e25c9eb111b6069a8c619db80e4b25 |
|
BLAKE2b-256 | f4fefb098230e561a19eea785476be299620d9ab644fd7fff21ab5e1627c409e |
Close
Hashes for cdk_lambda_layer_curl-2.0.509-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5e8823a3cecf4758a25af6e9e80d401fe354a6d4d51f1ae51b18facc5a3f1db9 |
|
MD5 | a8ddc50f59f8797aa2a9d70b497a5ab8 |
|
BLAKE2b-256 | 8e884246c91a893d3dd2e906750b4a11cdde5ba1fcc1b723448b15408ff7a75f |