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.425.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4a0fd1fd13d852bbdc633f4e7fbeab513bf7b12454e7286bbfb87476dd08d88b |
|
MD5 | 044c7f22e8ea44ba00407d13dc1131c3 |
|
BLAKE2b-256 | 2f4a8f2d2a31b9bd41d37c2cca8c68ccea1da6b5ce42a598619043177acc634a |
Close
Hashes for cdk_lambda_layer_curl-1.0.425-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 68f98c329c63104cba23ed375ad6afd6b9a00a12774f15b8c7652fa4e70245b8 |
|
MD5 | ea94fde79a358a65494b59a887e7f2a7 |
|
BLAKE2b-256 | e2193aafa6e8a70aab03a36a3a508a097e6164f21366f43d80e8a4af162ec8d7 |