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.269.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 030efe9900e7c18a1898f6cec5456e01213fe271a93c39735dcf549bf6988a1f |
|
MD5 | 8330a191a0077f656798040464c539c6 |
|
BLAKE2b-256 | 3d74928ac1f8cf173da071ad1dc18f9b1d10b17cecc6f05fe6e3c321da745078 |
Close
Hashes for cdk_lambda_layer_curl-2.0.269-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a6f81b1a7b40ebf77b0907e7f7b1f9871b8f46cdc4f83a995218faf3f32ce111 |
|
MD5 | 7bdb99de20a34f6f6511c93650cf9d57 |
|
BLAKE2b-256 | bca28bbd01e500761785e972ffa0b3a93d0b78269f828f371c5eb5a9270e384e |