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.439.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4549d657c5355bcbdacbb2848b0e3d642e47ebad078560f29645cdea0bd538d1 |
|
MD5 | 15a270afa656f04d858921f04ffb48f4 |
|
BLAKE2b-256 | 8ff9c370173fda3ffd23e0da1b6054128ed9bf5d14571b51450c70b378be8bad |
Close
Hashes for cdk_lambda_layer_curl-1.0.439-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 85f2cdbaf3ba3a8b6c0d095412d5ab69f8af6008e8e64b30a85e2686b857ede2 |
|
MD5 | 292cb92131709d93905d601c4fd8363d |
|
BLAKE2b-256 | 9e8006dab2a6c787b1a3314e60507f16c6ed0eac1d2f76caa0ecafa67a8c1973 |