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.526.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0c566a011a005d3e63d8b0a1e4e83cf2fe54ba209d45996ca4ed0b32ebd8e2ac |
|
MD5 | a259b717c25ddc9ff06d63ef858cbe4c |
|
BLAKE2b-256 | b8120681daf88dbfb39e072de1e7acf546c76b32ff08bb757f09af5ea4925cd7 |
Close
Hashes for cdk_lambda_layer_curl-2.0.526-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 55ec5bca95272a9b40bfdf5643c93d0b1f6067b76e0f74bafefc6dfadf206cf9 |
|
MD5 | 12168f5ca5d2b8d6660cdb71e999a7db |
|
BLAKE2b-256 | 34386e0eb86f7c4de9d98c6d20932afcf0b128c954e639d110d7678bd10c8090 |