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.184.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0ae225b4b3dd88bb4762a1b61d3dacb79eff200f40450c34b43e9ec6b6aa7310 |
|
MD5 | 75054fe0dfab2169f7bd34c8ca504c5a |
|
BLAKE2b-256 | 6eab7b03582ec03a3e6ea1fcfa1d5e45e26335652fb7ccc5f23b513e0c6139c4 |
Close
Hashes for cdk_lambda_layer_curl-2.0.184-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 897aa5c93f078c14491819ff8e4c84e81c39c4177f1ebba867d1e611bd83dbb6 |
|
MD5 | 41643ae383e566d4daea2f67d803e122 |
|
BLAKE2b-256 | 118db09d031061bc2658b2473b5313e7a4d9ef999ecf525a515ac0a266117775 |