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-2.0.744.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | bbc2cbdd2d0001cbf8fc05b26e1aa3f7a271a7e5e5562fc75f4e0142a5446c7f |
|
MD5 | 05b6305ea9b0c5e0fc1821e039472948 |
|
BLAKE2b-256 | a9bc2c917c1a944b8d6240d09a61c731c0858adc667ad71b01154ad07da65984 |
Close
Hashes for cdk_lambda_layer_curl-2.0.744-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a1e6e218a615b651ebcf5239e51b42ca702c73571e3eeb8b762b4f48cbc17ddf |
|
MD5 | 3d280ec64238fc952e97c1c2df680c04 |
|
BLAKE2b-256 | 047c73a3578196b024b988cffd87535ecdec6af1e54ae1e8a8804908800a67ba |