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.242.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | b3acc308ac4365220220df30f8cf1d021af970381191cc425adafeb3b0cfd481 |
|
MD5 | e0df6ceccbbdeb5983a7648296bf67ca |
|
BLAKE2b-256 | 96bb354877e27d6eb7fd911cc9f7f157957a95161d366e7c2cf25d5ae6b7966c |
Close
Hashes for cdk_lambda_layer_curl-2.0.242-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bfc43bc6c067e12f72660ba776cb9944287696398da0a1f2ab21cb33acda180c |
|
MD5 | 8a4b2c6d700cabeef748674430d36a6c |
|
BLAKE2b-256 | efa0c5a0571835ee96d0d41446d6d570ceb0ef1d627402932f3a337cad43325c |