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.83.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8340334b0d21dfcefa6ebc4a687a4ed09d19514d9d732845b102320ddcaa15d3 |
|
MD5 | d769cd867e5f5206efd4658c6181909f |
|
BLAKE2b-256 | abf682a1a202772ab217006518ac18c1a5a23cdfdd7049f0fbdec83544cd094f |
Close
Hashes for cdk_lambda_layer_curl-1.0.83-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e6f9d70a144479e42e8b4b323551e1632bc93de4bf65d25e3e1eb19200ee7b9f |
|
MD5 | 59f18cdd1b2cab311efcec0d287e2c58 |
|
BLAKE2b-256 | c8784ea622d842e9a4e8d7ffd613e69b9615f6f361e76eb6c855659fb37ce426 |