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.173.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | c75e2e1c272f29712a3274deefd4f255803c091f5699bed882160c1dbccc815f |
|
MD5 | 8244bc67847442119aef20d85c068331 |
|
BLAKE2b-256 | a428d602d5c6d6a985a2c2ba21113c2dfe240c8159a2fee593f2627448806814 |
Close
Hashes for cdk_lambda_layer_curl-1.0.173-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1d459e1c9fc44f88c229b00d65cb1cd6652c4a6e67974b547d6fa212b370715a |
|
MD5 | 02a75131c806b274093c05bd3d4e7c41 |
|
BLAKE2b-256 | 6009ccd718d416dfacd253ea4a5c52474c953f358fd7627add2cbda8d9fd3c78 |