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.247.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 13536fc53e9d7f60087d87c1020639595b191ca931d008b6fe43eaa5d001c302 |
|
MD5 | 189377b11d98e1e42736fb1d46633932 |
|
BLAKE2b-256 | 09e1193a6921711d7a88a5d22d81c28af2ef4cecf7a63c8f2861be00a8b86ecd |
Close
Hashes for cdk_lambda_layer_curl-2.0.247-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 379483844c9b96e48b6ae937e6603ab91d86517f42e6da2b058b04a345ea063e |
|
MD5 | f16357e03bce0c3fde13fb5da3523b38 |
|
BLAKE2b-256 | 6be54d55b67392b76344eb658779fcf13c13475e4443a5b3270f7355f492bf7e |