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.542.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 116e147b9d569ad1000be9f5f9ad8c80289e285dec542f8bd60282044370e517 |
|
MD5 | dc17edb631240f65b4a279f0284ceda3 |
|
BLAKE2b-256 | c8b886c94ca6609bda0b96f97e8b512b989018b376eb7ba30872e4a5dfff559b |
Close
Hashes for cdk_lambda_layer_curl-2.0.542-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | aef26053d964d7d513234d4da2fec8ce74f42e3cae6dd952db27e7fb126eb6a3 |
|
MD5 | b6490467b23393ad3b4abe4f21664a85 |
|
BLAKE2b-256 | d10c9c1c3d2b1970a4584b16606832a3bf008ed7a6fd767d2c12be33431653dd |