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.778.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 44bd737190a7f1ad262243a82b7bbfaa2ad2d27865fa3213388953990d7dc7d6 |
|
MD5 | ce97fd875bec04d6b0ee6ffea6c23966 |
|
BLAKE2b-256 | 86375badca8d01e68feaff1f857e05766357c4f9077fc8a0ce494af13a114561 |
Close
Hashes for cdk_lambda_layer_curl-2.0.778-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 537405ebd174adfaad3064e81e3291b1d686fd2922fe890cb441a58d8fa71092 |
|
MD5 | e2ce71fc86bffe9daa19d1379923aa49 |
|
BLAKE2b-256 | 7521388ef12e094d9afba8b2c225a3c283bce587ab5db20ebb1d632d58825ff8 |