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.742.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | e391fb622e96e0d8caf9fa91840c28964e4bc20b7850744ce2633c0aa4b07bed |
|
MD5 | ef7d7df7cfef153178c256fa55de375e |
|
BLAKE2b-256 | 8bfcb940f82e5cdc72ac67d561961c16e0338eadd1ec4dfa62386c9aa966348b |
Close
Hashes for cdk_lambda_layer_curl-1.0.742-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6c84c573eda148f4c32e40c65d0eb3b8c2e98aa68412a9af0769f9b24fdbcabc |
|
MD5 | d3fac2c873cf61e0acf4e49d36b15f50 |
|
BLAKE2b-256 | e1e3fec0ebb74001f4100b2a44aaf3df1a9da8c9b836ac7d1b58f8b46d1a9c07 |