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.634.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9f0eefee85326f1ab442d5a8a3243df9be1331a0c836a75a6948b3969c64cdf9 |
|
MD5 | 6dd45ae71f5bd0a46768ae4cb4a4824c |
|
BLAKE2b-256 | a839873ab63a8d7530ad2a194e32a8bfe7bfe2646ef2b27907f1db03b1645f82 |
Close
Hashes for cdk_lambda_layer_curl-1.0.634-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 59f1858e3346407e756986751cf8e9634f142fae63f6655012451adc6404e731 |
|
MD5 | 70060e7b180a64b7870729465a24911b |
|
BLAKE2b-256 | 4da228084131a4514d11bd3e7a0bb6fb59d07ebd9319bee26757b8c5621e35f5 |