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.249.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 59f407c9414434edb43807f79b78ff6e99ae34cb347f446075af9716d9207254 |
|
MD5 | e0b838efe8edbed818316f19efd887b3 |
|
BLAKE2b-256 | 4ce3c8a40b9f40f38ea6a2ee309ae85fd398b77931eb2a983b72876ad60d0270 |
Close
Hashes for cdk_lambda_layer_curl-1.0.249-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3bd90b75510f6100ed82b6a079d1a920f399a0de8a9b653a2da137d86f322c9e |
|
MD5 | 345e8a63246c5387bd82b8fa44421d55 |
|
BLAKE2b-256 | f11923e6d79ece118f471d3480ed16afbab373e4a23ad78f8dd07c66fcbd1053 |