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.544.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8503c0daaeee0f67bc81e1b68063a69bb49a72c9419bf6855a5b6caa37dee425 |
|
MD5 | 4e7852a0c616568cac2c777c3bbd455f |
|
BLAKE2b-256 | fd1028e2df607eaf934a97ff1e751638672d31f2bdfce166b8e3cc7518e33da0 |
Close
Hashes for cdk_lambda_layer_curl-2.0.544-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9dd7c8882bdaffeabd2dedd50fdc69ae581c94e4e323dffe249f9881e51f0d60 |
|
MD5 | c4c900f23f3f313196f106bda4080281 |
|
BLAKE2b-256 | 2e713dc219702835167e40a019f3779b2e3e3e6143b9600ffe966699f09f24a1 |