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.162.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 10fa087c9f611d1e47726bd1d8860aadfc0c3efc6580bd8209cd6b00e6ee83ed |
|
MD5 | a5044ed03b5f0ab6ab2b289121f57184 |
|
BLAKE2b-256 | 93cee8a80546253a3f0b0717d6b957c2a3ba242fe3631615badb8250e10cab42 |
Close
Hashes for cdk_lambda_layer_curl-1.0.162-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 70df4c57721ed2370453aa3a74af53aefe68b9d0d978d13e9faf4e255916b0d6 |
|
MD5 | 139137a3a1d77f78d3492059d8bb5637 |
|
BLAKE2b-256 | 180687eb11b4f2b6608146f43b4db7f5f0d9879cf67ef79a60da42c247fe62da |