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.715.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | ffe1b56de3a358861acf6532f6190a1a414d48aacd6b467b07ead6793a13cf3a |
|
MD5 | 8b4a1b69cc46ccbfb2ebc9b825091f4e |
|
BLAKE2b-256 | 7e203a52a71ad451dd561680de7a13ed2d5208926282dd3150c4eae4704df3b4 |
Close
Hashes for cdk_lambda_layer_curl-2.0.715-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e4142077380b3e1b9e745dd59dd47ef52c7dcf8a0b5b69ce11e39c1e6b7955b6 |
|
MD5 | e7b83cf26b2844d3727f8562e5199f22 |
|
BLAKE2b-256 | d697c64761ddbb5d9f5930188d7276b4beca7c926776766285015954d5ef36d1 |