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.448.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0d652c4f3e05ba6130027c8fb6481a80519aa53bb679139dc9adc3be66b491b1 |
|
MD5 | b8bd2bef9d93ee23ed79dcede3311749 |
|
BLAKE2b-256 | fd2a78dad8f8cd0efeb3e6ca1934f49dde5e639f4292d072bd901e58f5ce1040 |
Close
Hashes for cdk_lambda_layer_curl-1.0.448-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 301913e73c7f398bc93b6c9dd87f708e4d0595c2ebf3e07ea09d87ddb9c79d9a |
|
MD5 | b5b8050edbf0aad04467be48d151f85e |
|
BLAKE2b-256 | 2d83c4e987aea05df38c3b4645f6b4d58d386d960c56185b92af645b5d903538 |