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.226.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | e4efa0507dac0f5cff76a821fcc8dced8713250a3ef9bfe0ab461d4ba189e822 |
|
MD5 | 68cd3d0d64596d9651a1fdcda109e0d5 |
|
BLAKE2b-256 | ab19337ff85ef875571b2b950f39f76e01e629513f95dfb4c97624ebe06c83f0 |
Close
Hashes for cdk_lambda_layer_curl-2.0.226-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 209fb1621d1373cd6fa0179e3ea2f8d73df45eb21866c5bcff34bf0483155f2e |
|
MD5 | f15f7e768d65f8394cff1e23a6d84989 |
|
BLAKE2b-256 | 368da7e8e564d18b6120bb3d2fd81935f8865b26bb254209ba473c7b1a1eacba |