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.477.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | d2e03a1ef2165cd3696380295b057b370ddaf4fdcaefe371317bc817ab7fcccb |
|
MD5 | a6b90381358809f7f0a4569dfdb3052f |
|
BLAKE2b-256 | aec5693a1e6d9eb27a094066523dc03a988b691cf2b2459067e0dd475f185efd |
Close
Hashes for cdk_lambda_layer_curl-2.0.477-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 20b04a9d5250921e2a13190c54b2e6fdd36480e6e082045635f7b8db239e431a |
|
MD5 | 754a58da52eca9805aac1c26982b2adf |
|
BLAKE2b-256 | 128637432a4524a3144ecfb114a90a31fdc3c750826c39ce3d1a49572ba3f866 |