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.389.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | b7cdbce8c5d8221652e7901e7e14d4f6bec74e634379b0422dfac73fdf2931fb |
|
MD5 | b0aa291f48d032787c903a4f2c5f6ae0 |
|
BLAKE2b-256 | 67440028ad2366739b8ea8d5a9204940b2f310836d32c6b34ea3002bbc05e953 |
Close
Hashes for cdk_lambda_layer_curl-2.0.389-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7ffd88c3bf73f2d0b06f95b27dd709ef91f391e91ee099286165523925ec7d0a |
|
MD5 | 88fd05c1ce3562634e1336ee0b45e4e5 |
|
BLAKE2b-256 | 18dbac1cce77f7bb4a7f73d4daadd22b5d65071e40cb4b5faee2f5de87044cbb |