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.267.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 39b5b5e8af8edb46ecccf4af7be457b88477378e4439d589e183bd3cc647b85e |
|
MD5 | 305ef84297f36b71dfc9bd8813b7dac3 |
|
BLAKE2b-256 | ec66f6a2ea1e2795d11d6fe69477aa857156bb657196352ead8b0d2ab2e84663 |
Close
Hashes for cdk_lambda_layer_curl-2.0.267-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 03a9f3566d2614abd7de46e8f80ac19f57375fa9647a9b8cc0fd30e41494a6a0 |
|
MD5 | 7b10bee8014051b139601dee1972b7ad |
|
BLAKE2b-256 | 7c0b31ba663fb874264a020b5be29699e2dc79a5436d9fd990d0d4551f7fd7e4 |