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.124.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5afcce20e09709e6918ac64c2fe2354771b60f2dbd2280a70938fdfdc8960ca2 |
|
MD5 | 5a82655f751ce03ca6bdcdaacb4dbbfe |
|
BLAKE2b-256 | 83aba0bc98c5e69074beaca5b140afb9c9b539b256d8628275efd2dfc0f07d3c |
Close
Hashes for cdk_lambda_layer_curl-2.0.124-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3d402d25485acc0018df6fb075d94d313192c4c3c53e547b20d569cdc1a7af5b |
|
MD5 | 9b1e4036d7d9ebe7b0c7d2cf2ef541f7 |
|
BLAKE2b-256 | d37b66edc42edea7da8cdb68a07343c7ed7356ddd3f1cfddbc54ded458eba3bc |