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.515.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | c8425b7b33bad02c3b88a92205ca6ebcd105fc43b7371281bca8aff7aaba3fa1 |
|
MD5 | 730ee53ed30252d42d8e0566c539df1d |
|
BLAKE2b-256 | 76cff6b95fa9fc4122e456f931cfbb0047ac6520290bacc4689f2925423f5fb4 |
Close
Hashes for cdk_lambda_layer_curl-1.0.515-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 79ba5e0f1f219b4e863e403bfc525d474dda502b83f70032d2b3b117205380b5 |
|
MD5 | 7f680840b0435135900778ebc7b2b661 |
|
BLAKE2b-256 | 9c179cc9c5680ad236158e196deca36059da0cd2e8a42b2f35a9dd41eac0ed87 |