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.638.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 64996401f0f3ae49e7f4b2a6478d1662b7b4d343e787eae373388a2d49ecc496 |
|
MD5 | 366c56b10b47590710c064ec246151fd |
|
BLAKE2b-256 | 4514d29214f10705fb9c38fafaa72ba3bc8bec40af580f0c56f47bf38cecb727 |
Close
Hashes for cdk_lambda_layer_curl-2.0.638-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2f51af447ed4c76919a19fd5cb2f95574407f1b763ee89db28f36c705742a577 |
|
MD5 | 6923f8e041b5d96248992d0db56e02ac |
|
BLAKE2b-256 | 6f9e612dc774fcac4e13c16f7c74443861e1b9f48756a93ca3a056dd5e9b5796 |