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.314.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | fc6d6f5fc653169b863a9da3d399189b19b9c9cf67f75827d1f5b8d5d692fd87 |
|
MD5 | fc3b7b50c536874940ccc6aff5b86503 |
|
BLAKE2b-256 | 1346ccc652c7062804beed34d59413c479a30f349bd0f1aa21855a7709adecd8 |
Close
Hashes for cdk_lambda_layer_curl-1.0.314-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d3d5857cdd92e2e5aa7794b7fef326dc80fdf86f78f08551fcb6ecd93d78a8dd |
|
MD5 | e746e9fa500e767813242dc60987d767 |
|
BLAKE2b-256 | cf7e63919a4309be1cfe9b7ae2654d8d66217ff57dbb56b2f337840549ef4b93 |