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.445.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 95c729087e030a209f97eb2566333a5e4b6fb6f14b6d293f3527e2bf6cdf2110 |
|
MD5 | 15e609d2e3c9ea094cebe87b5563dbd6 |
|
BLAKE2b-256 | 8fb6babc0b52e986b134ac865a98a182b20c02a9056536de0712959ca84d91a2 |
Close
Hashes for cdk_lambda_layer_curl-1.0.445-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f841da8565f57bc5decf74313da689e625c2012cb74aac0e63deea8c50272c86 |
|
MD5 | 0feba9d5f0c943f90a4110ae72916f46 |
|
BLAKE2b-256 | c4853c95ee0f6c643be568b9118d9de84fe1a28a2b54c13d152005c1e369a6b8 |