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.168.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | eb5581c4ffa400c71dd7f0491fed668050e9cde5861eae7f0cd456aa1b224d06 |
|
MD5 | d4da415bdb3779e0b539ce5fd4e6b2ca |
|
BLAKE2b-256 | ea1617a4c7b5d410db6cb416511d59af2439117c95aa2e9f0aee254dc57fdcf8 |
Close
Hashes for cdk_lambda_layer_curl-2.0.168-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cd142cd091b116677f5588a9901e6fe172dfd6ff1f6b3d49a46508dfabcaa614 |
|
MD5 | ebc94cb5b7ca0182135eb53ac18dcbd5 |
|
BLAKE2b-256 | 91e65468877b818bc6e85a17187b627729a4e67b250fc50b5d19faba7d5ba1c1 |