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.732.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 45781e04dae6f282ec556f21949291016222f395db6335cd0c5a5ea116e95787 |
|
MD5 | 49f0a1752a4c871a5ab13120475a0338 |
|
BLAKE2b-256 | 4a3d16495d65e83f819b0756ad42b4de9b177c5620f9b8b179501335c1ba8b6c |
Close
Hashes for cdk_lambda_layer_curl-2.0.732-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e7dc80aa53ac92a659fe2240b3481e744978208fece7c2326be37fccac3d2ef9 |
|
MD5 | b30a4929e38911ebfd977fe8eef0cfc4 |
|
BLAKE2b-256 | 778e260817630c4f91dc239323803dea016d54d4e468b8e01f1b1bfb1e3ca3a8 |