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.67.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | ef0b7de5ab3d63be504f3feece0b854aed76ad5b2f3180ecbaf0e840a676f66d |
|
MD5 | da38b3d644c8ab1f76132bd1be985e3c |
|
BLAKE2b-256 | 46fcdd4e34fa1f2255405efa6d865cd0a728e8c76ea1176764c7e1fa2c1538a8 |
Close
Hashes for cdk_lambda_layer_curl-1.0.67-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 70ed1c2ca43dba096214466d75834d9827352444b81cc7bb5807f49be305f6c4 |
|
MD5 | d30065c0d518ab520a82ca00cbbbfd45 |
|
BLAKE2b-256 | 96416edb96c3c438970d1249e0fdd0a6f92af6caf5a36e62adb7459735f01ee3 |