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.292.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | ce90daf61f7d21e14cb1874858e993c76ccaf52b6b788fa173935ffdcf15a7d7 |
|
MD5 | 175b3acac6bccd4917e1dca85d14094d |
|
BLAKE2b-256 | 764c6371ad1184bda02961b5d0fe307b095243462341dbc6e310a9efbc8fdb80 |
Close
Hashes for cdk_lambda_layer_curl-2.0.292-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 887fbf5e07cec7e41378b3d81664a012bdc694f950580be1834247ea82ad30d0 |
|
MD5 | cd716c577a67dedef21df2de02ffb5e4 |
|
BLAKE2b-256 | 28ac2d8678b418d0dae449851cba9123ef240b42db9fe59250fef2103b0b51ef |