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.581.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 476a9c89ff345f5172fea2934661d9d7e15eebd79244b1ce21c34100c84c1246 |
|
MD5 | acc06c8ab4f28a719cad8db7446e92a7 |
|
BLAKE2b-256 | 6b1906889977cd03df1b3576b4fb2af914eb503342a87e90b773712839f5508f |
Close
Hashes for cdk_lambda_layer_curl-1.0.581-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 85e30679c5ae5743b8cd3eb96b51ba652eabb4d1724aaa4d786741f0a7b9fd84 |
|
MD5 | 7d44f7e737c4f2c510cec0cbb57e6e2a |
|
BLAKE2b-256 | 0a3a2b5bd522512997e1e5eeeb9a1df0f7d7301880a1b99177acf9e993a3e08c |