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.820.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3088d2572c271066cc26ccbdb8fd1c2724f501a2b38f1efa0ccbe4b7bf25d65e |
|
MD5 | dca6a1dee23623cfda8383970bd723f2 |
|
BLAKE2b-256 | 9a1bc5d63af8d2faa6882dbeb90fe7fabac27c9099a0b9381df6d9597087c485 |
Close
Hashes for cdk_lambda_layer_curl-1.0.820-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8a026ed39f6bfd5b9d7a4fd94eced6e897793fc57935933946b0d1b031768130 |
|
MD5 | 70acf9d5ba34453c96a6f553e16177be |
|
BLAKE2b-256 | ac2912f1b34ba95d3fa4bbc47f9fd52e0b94b0b043d413047d9f61924caaa47d |