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.627.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 460622ffb94ea3cefe34ee4869b5d1bc30e0221dd0dcd36cf69a5a32fe8fd42c |
|
MD5 | 072c8584a006015d930f6809228799d9 |
|
BLAKE2b-256 | 5ebc1cb7a7ebc2d8727125e7c3f9f7a394395bf34f2e6bf8bff12d3a3c2adc46 |
Close
Hashes for cdk_lambda_layer_curl-1.0.627-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 884c3579af4cd27a48178727559f939d71674cdc1bda21c9ffef3ad3be802169 |
|
MD5 | 85b5e5f361892ad6d398561dd9754cef |
|
BLAKE2b-256 | b6acdd0c6807533672ddf6b325848475e516015f4c20f160bdb6f0d9c5887cb6 |