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.279.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | b24310827af6d3bfa72f7794dbf5c991436dba5d0b5da75388d4c91c64d65d15 |
|
MD5 | 49e78c3df441b3c995b8f43fbad23366 |
|
BLAKE2b-256 | 8b1aa1d149f46615a131b070efbbb5dcdc43c7a137df43630f0bae815a442191 |
Close
Hashes for cdk_lambda_layer_curl-2.0.279-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9da33ed06bada079261e7abf0ac0711ed2fdb512d130ab91f060f63687a2bb2b |
|
MD5 | c952a785639af8d7246f23b2ba296160 |
|
BLAKE2b-256 | 2a7ea2158d84bd693c154072111c746fd41faf9f76c9b9754ea09c17fec5337d |