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.699.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4e1722e162b0e2bd3470f310939936640478b5a36f9f97fbc30255cd67e4ed72 |
|
MD5 | e845982212189f92a3fd96c7a1c613b3 |
|
BLAKE2b-256 | a6b2dcc5e103c993cf5158c4893d8189427d088458784459addc8ac52cec71de |
Close
Hashes for cdk_lambda_layer_curl-1.0.699-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e6de453521b45108bae07a20a43aac05506f1d3bdb654d2c37be3408c46a5372 |
|
MD5 | c02992b3c1dde0f835e31a0949d3bda4 |
|
BLAKE2b-256 | f17abcfe746c067722928557a5894f30afbf3f12d23691c11e88062593e36d70 |