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.733.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8f21a5c6d1d63d4dd91b2e7cbf00797bdc109930827b114ca2ac7187bb485b85 |
|
MD5 | 893a7c82646113aa84baad5d2b10aa42 |
|
BLAKE2b-256 | 68eab763eaec8f223dd9b92feb0bfc225827867a65f60e213eeed2597c0fe5af |
Close
Hashes for cdk_lambda_layer_curl-2.0.733-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a29578b339e65516cd634f1f211d7267f4cd88ff13a016ec7def8da6b4cef9b9 |
|
MD5 | d79d1bd628c8635b026e0376bcc4367f |
|
BLAKE2b-256 | 711bcc3bd3be0def06921c9966d469eb9d9c01cb6e6d6f9dbba7df07c06b8cf6 |