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.320.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5628dacea1a613ce4a708066015ae1019b0ff46d5693dc36b72052ec453d791d |
|
MD5 | a76ffcf1a96371ddcb5d38f88afee9c3 |
|
BLAKE2b-256 | 60ff3f3aba2a529f8b1f1d2d3150752263a88e1b677d3a9e75ada99c4b138164 |
Close
Hashes for cdk_lambda_layer_curl-2.0.320-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3d66154db7bc58b37b5f1a28254ca286ae2613365aa83e582a818e092fafd19f |
|
MD5 | d1e4c079c091f5f7293a0cf466674992 |
|
BLAKE2b-256 | 1deb220ff16fff1a46f4a2991bd53cb5b5a73067c26fbc0c8089cfbc17f03683 |