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.789.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4221cb21362dbdef73728e55f19991a05f0e2f3cbed1891b6e607513609cdd94 |
|
MD5 | e6738ae8d8be808ceb96505f953c3b87 |
|
BLAKE2b-256 | c6146514fabb78dd2d25d344e3b3493075c55833ee7d32bc059edfb6137359d5 |
Close
Hashes for cdk_lambda_layer_curl-1.0.789-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c8a7f0e3bd0f4db29d10c0ba7e3b21eec42173a1ec35f3c6fc640a22aab1b0ce |
|
MD5 | 6a3265aca98c4e20935ed5dc5512110e |
|
BLAKE2b-256 | dec8c84c168eb6bb405e5ea712770ead4dfb30701b1f85ecbfa2ad01e77e79bc |