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.334.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3066ab8b67f4843770c1bc0c216cfb053c2e55bf4a30af0ecb04b98b019102e9 |
|
MD5 | 4c735071d818b0f393f0e00dfca87130 |
|
BLAKE2b-256 | f55e0ed740c1d3bb3549c62990600cc407951ca6215e88ca7ac4733ef4f1fc54 |
Close
Hashes for cdk_lambda_layer_curl-2.0.334-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e3bbed2c924f577c5844af44f1ca2ffad0f0754e345dcaa2ae35200c14e7a1d9 |
|
MD5 | d601692c83189931ec54c34c45d09b77 |
|
BLAKE2b-256 | 797eb5e76d632975a642e305500e27ebe5d0dd158181d004d7b8748c05b5c438 |