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.660.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 147b8130895af0b01daa260f1c478bf7a7f453b918547840bee5bb589b96a0ae |
|
MD5 | 867d55b035790983d3863909978ce751 |
|
BLAKE2b-256 | 12936eb62497fbec85420143ae05b18817e6893c7893092ac34645b6fcf79fbc |
Close
Hashes for cdk_lambda_layer_curl-1.0.660-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a46ef62bb63ba92283a49f406f1322558476c096c0041ad78123e6ae8c3dd285 |
|
MD5 | 129807a4a441877f069b8109491606c8 |
|
BLAKE2b-256 | a53c02a00a156fb243f07eba1cfaab884c9c59eb4bbc5beaa3bc922fd0260314 |