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.123.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6e4450f48314aba6f82bf4ecdc76bbf8ed895cc6192c89dac4ad784a8d2c4f14 |
|
MD5 | 44013ab952330add07326855cc16e3c2 |
|
BLAKE2b-256 | afca515e807f074988a9ced3aaab60648611cbe0a68c7cf38c20ec8626a8cb57 |
Close
Hashes for cdk_lambda_layer_curl-2.0.123-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 227d932d5f46edc45f1377aaf155590b0bb74d6237ef91c119805a9d569856e7 |
|
MD5 | 6a253393cbdab5faf016ee31bd541e3a |
|
BLAKE2b-256 | d4a3f08da3bf30702879791c5bd4ea8a1feb1b5d444f560f82f10590eb6c14fc |