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.185.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3d6915235102138b51b660b1a023ef0688bf0a2b978aae848c755c66dbfbda1b |
|
MD5 | d0b22f0035622b61cb42870eee65db1d |
|
BLAKE2b-256 | 2b81ffcda7ce51c9ec4c4a8d7596b50ac4ee7f0e01d3a35d29973bdcb91d9d59 |
Close
Hashes for cdk_lambda_layer_curl-2.0.185-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 57ea000652e947de672fb09d74e6aa0ebd857b2fc2316f05b7e1d76ba5dd4b2c |
|
MD5 | 36087a45573f7d2f2153cbf90aa44ecd |
|
BLAKE2b-256 | 078038fd93872f76448853e292e0ed5f872978e932386e13e559029693ce666e |