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.194.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | eee691de4c2a9596cd46b2cd9ff76e6c7f5881ee600146b1b04a1a708a6640a8 |
|
MD5 | 9600f7affa83e0dcac475440d69c8aeb |
|
BLAKE2b-256 | 1355d831778213dbb4d3b466b9dc58f52c71ca830aef9e436725bf41e45c3a54 |
Close
Hashes for cdk_lambda_layer_curl-2.0.194-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 43eff2e1e7a80896515328043799d252b373034b1c8d77a813cefbb12b1a4262 |
|
MD5 | 93bab836e3fa345fd87d46dcb5a0bbcf |
|
BLAKE2b-256 | 91d295ef7e80ae656b5e2655530bb18473afe55e5e40c89628d400bd1fea1882 |