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.739.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | c1f22eae161e8ae113c54e2a1622f6609e99415d21ef8008b92dc67e529d9426 |
|
MD5 | 75921d0720a09c01f4df5613b910405e |
|
BLAKE2b-256 | 1e6bdfca304907106ba4d9d326996cd3c9b7b875a28316fedd3280fcb3b8c17d |
Close
Hashes for cdk_lambda_layer_curl-1.0.739-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9c151021c5fa76d8481accf0e6aa7340c2c16eb7e2ca0430e1963e378629e90f |
|
MD5 | 56a0e90bb373d109f919b342ab01f307 |
|
BLAKE2b-256 | 9967e2ae7c4bfb5aaef0f285e705c3de65d988426a6b2dd5c101a7d166308995 |