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.494.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | af02f2725970e89765f84013b3eff22864b0401388ffb4ed185b398145c21401 |
|
MD5 | 17763967b75404a2b48412b622107150 |
|
BLAKE2b-256 | 39caf4e244d1f5d984cf44bb77ae636257a2c5ca1be5f54a7a34e3a904348d7e |
Close
Hashes for cdk_lambda_layer_curl-2.0.494-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 97826dec5b1d23a179d49dcb04c406f616f95b693722c2f1b89b0a89ef9bbd41 |
|
MD5 | a1e5131ca1181d9a24dd2f6336619f69 |
|
BLAKE2b-256 | 3e694156db8f1ed315bf8b1579b9a25a3e6d48ba18075c2336a7e2e2209a06e6 |