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.353.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | d154d644472a33a6a942a7a5383d1b1e0c0df4a1855fab7fefd998c22389d00e |
|
MD5 | 441e89062801bb1eb2e20d83217c4b85 |
|
BLAKE2b-256 | 20831dfcfabc6d520574ea96e49191aa66ea6c41b23949aaf4e43a488be8d20e |
Close
Hashes for cdk_lambda_layer_curl-1.0.353-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0b17a3a1849f2904d635953aa98e68a264f9add790b343e4c20d4b275f034564 |
|
MD5 | 9ccfe7ff2b345f5648a3f66f7fd6b49d |
|
BLAKE2b-256 | 581b8e145dbded697fa394fc921cd1da0f68828308d5c10217bb342031e5adf4 |