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.640.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 963980a5bd83002d5d706d3a1f8f63955fcfbd8ce0456c574673f1ea623fbfbb |
|
MD5 | 894555e5fc4ba3c20eb957040671eb44 |
|
BLAKE2b-256 | 03e81665c726a4fe035be90c5082504686231fbe10bec704fe19e15138795ceb |
Close
Hashes for cdk_lambda_layer_curl-2.0.640-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 796a0394eed4ef76adb426f0bd79631c7a29516da2706e8fa1f7761b4fada41f |
|
MD5 | df473add58c64bea630b89c7a78836cd |
|
BLAKE2b-256 | 03ae7699665305285ff9f47a11c615218ced54541b3fae3b86bc96ebd97c7445 |