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.540.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3e2c16402c3546b3b587488be1283633c7b68afea2e5d9d02c69a7448f59c88c |
|
MD5 | 3d00e4ff899b9d8bdfd0420e0dc0c5b0 |
|
BLAKE2b-256 | 9f1208a65aa4952c7fa5cc6e9759b0bca9c9ca1da331f68723bfec3879981999 |
Close
Hashes for cdk_lambda_layer_curl-1.0.540-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cfaec02d1898a4ebe23b54200ad457f4d4b258e5942a9a0956ddddeed32639dd |
|
MD5 | 7df4e8e4ae8e872ad08625a61e5ae754 |
|
BLAKE2b-256 | 2526c3899cd7f1b453d45102cc16b0c8e68db3c39b3d4ac4c349cba07336fabf |