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.517.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 667d9fecaddf2e85569af1925f1c95e589cf808e457ec3bbc9c567c8b2900248 |
|
MD5 | 07e146c473506fced074782af175afc4 |
|
BLAKE2b-256 | 4f2adbdb76ffe56af11f0b823affc593e55742c271dbe978b5c523f0530cfffd |
Close
Hashes for cdk_lambda_layer_curl-2.0.517-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ad649c6edc242aa31251616a3fa444e18e4f4c897973cf197590bb97fb18faec |
|
MD5 | cefc939236fa44be96beeb67b4623d2b |
|
BLAKE2b-256 | 3ea002f500b322771530779475cf20a2548d12e14feadcd71202e1a14e1ee50a |