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.585.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 26a6cf7e638c8cf66bc9d5f820875848bed27f28654700402056c280744a1845 |
|
MD5 | 55518ed8610a5a7a6f0dbdfefd168be3 |
|
BLAKE2b-256 | 08b8bd225a9bb4d6c9f98edd943b54741449f1d0f5678ffefd4701bc55016df1 |
Close
Hashes for cdk_lambda_layer_curl-2.0.585-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 936fcfb1c20d5b7487a61ce0cb0e90b38793f2579121f3f4c86e96607ecc3ab5 |
|
MD5 | 5bea0b8c5291cd4255184989967e885d |
|
BLAKE2b-256 | 75a9a5e04ea292a1289d100cc634c89d78479edb0c9b1df517d75e72c7b5341f |