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.716.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | fd8f78a869653f0087814c5a5cebfbe97ebb9ebb033ffd2442110506a4e09032 |
|
MD5 | 0ee0e81a038ad235f9da3aa18fb9da12 |
|
BLAKE2b-256 | 6729a96c90aebd67b6023009ff94eaed8310bbe2c8c5c8cd15af5b7b0e3296b0 |
Close
Hashes for cdk_lambda_layer_curl-2.0.716-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5058d8910e785a2410ab403a167b8930faaa581279461b25029d1cd83055f97d |
|
MD5 | b010a8c502ca32ac66dfff13a41f6bee |
|
BLAKE2b-256 | 34d193e6fb321eeec7f15ee8c5c219160a74684e568083f775a335e18827b7da |