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.56.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5d66bad694b4b137db7e63d3d5b913a88f822c4221197245f9d9d02e21473805 |
|
MD5 | 0ebb188c7e825f24ef10870ee52aa0cd |
|
BLAKE2b-256 | d22836d0dfe9d7e73bb9cbd574451ac4450e7fea19e696e9b7da92e42ec52de7 |
Close
Hashes for cdk_lambda_layer_curl-2.0.56-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 99c59bc8a835ff4ae421ffa8ecd7d5077362006217a2865cfbe2ba7fc41db424 |
|
MD5 | d05071352ce5ab49c72c87878ffee139 |
|
BLAKE2b-256 | 6adb466e46634beac8b915723f4eb1eaa24dad147cf35270c4fff1284682a5a4 |