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.401.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | a1ed011cf2f4b80dfc96aa88ee032af71421bf0f9e10faec846260c550db176f |
|
MD5 | 6e7ce377d92907f760fed950d126cc4e |
|
BLAKE2b-256 | cba92427f43383cb587cf2e2c8641e4995cb1321d9d3753a99b40d92bd4056da |
Close
Hashes for cdk_lambda_layer_curl-1.0.401-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1e74b599e14c0c2ced032a6d7a99134e30041a51f3aa4f4fb5ee93a8af0b8171 |
|
MD5 | 4c9f13599ed903eafa0849cd1e08ac96 |
|
BLAKE2b-256 | 1e80b1f3efca179887bdc0a9836fdb45e9a965140578e0df91753fca50675cc9 |