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.811.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | ab7f6667121e9347eda06191f9883be3158ce1d716d866bcf6d2d08216154e8d |
|
MD5 | 97666b37ab295c3d55b5da1b2758a6d1 |
|
BLAKE2b-256 | eee0d52ab0bd8d06215aa1cfdf0de131cfab88cb9b4ce85351d71aef9b4d3b14 |
Close
Hashes for cdk_lambda_layer_curl-1.0.811-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6e373a30db846c809264d7face220f6a29f52716e233f14bbc1c020d9720c49e |
|
MD5 | f7c806f3ea156c2118da4bc500dfa970 |
|
BLAKE2b-256 | ffa19298747f884bc1862d3c4d6eab7cc94ec7164d715576d2dd90f0d1edbad8 |