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.291.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 03746f95bac154d2819d7d9ea58d05cffc6e72f62fdc5407fd234d2c425328c6 |
|
MD5 | 3c36e622778e4d06d8179e8b98419c5b |
|
BLAKE2b-256 | 9eadee571719cad3a9ba7bb339804e24a9e8a07b4748fc3d8cb28209d0e0e471 |
Close
Hashes for cdk_lambda_layer_curl-2.0.291-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f50893185ece6bd866c4a4a2db343760312b359c3e902bee041542ce7f229d8b |
|
MD5 | 8c564ec97ddd96b1ebc79542e59da1f6 |
|
BLAKE2b-256 | 29f1d258eff441302c19ef81a43624a8df113761686cf0362a7e1865ad133f64 |