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.350.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 27da9a804a68cb44c313b502327ac7049d381a4f6d54bb463b14b4b72d88bc48 |
|
MD5 | 1a0d5a44e7bd327745f7f70f65c2ba3c |
|
BLAKE2b-256 | 17be946232b83a2e9d0b60d2cfeff58fdfdf4c1f2c663cc119b217274115a049 |
Close
Hashes for cdk_lambda_layer_curl-1.0.350-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 587f397fcf10687c53dfe4c8b920a58a46a7b0464efb8952073888fcd5a132d3 |
|
MD5 | 1158528425eccfea2482c9d936cffa77 |
|
BLAKE2b-256 | 761249c95fd786f3e1c20db9b0a846acc0b2ebca9e15c2a758dc9f9b51af0fe2 |