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.632.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 95df45b77e1f4410daca76857b48fc0e79725fc3f6f47c5af03367fccf2debdf |
|
MD5 | 5e3e739cb4463e2817dbbaa6c4236790 |
|
BLAKE2b-256 | 50121788d0009b14b3c42f3238fe0df91760ca22d2e639db0df0b93df41582f4 |
Close
Hashes for cdk_lambda_layer_curl-1.0.632-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ef8ebe9eda7b98dac2df41b49d2ee9813157f0b9817828a82af4403511f1ad04 |
|
MD5 | 49cc589d31c295a55301158b938c3552 |
|
BLAKE2b-256 | 1c48f0c1edd0716f087823569a37b55288dba16a47ab0cc57155168b3b8dab88 |