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.48.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | a2151db02c07a3e4118a6c21f6aa8c3ea16dfbde127a68f65bfc0343135a0c32 |
|
MD5 | 13dd40d8251e7adcdbbe9fa22fc95100 |
|
BLAKE2b-256 | 4ad826b99085122f5d9dcd4159e6df2f69dc5e20874158ca326a9be051be7ac5 |
Close
Hashes for cdk_lambda_layer_curl-1.0.48-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cdc27e810b6045817a834bdba209186487e2e88b8e3bc583ce78bc41cb123c3e |
|
MD5 | ed9eb939829fecff07ee2edb36b08639 |
|
BLAKE2b-256 | 34a1a2e36569ee833e72231e3c9d87e3615913bc7fd7631d6ee69859557bdc63 |