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.260.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1aa21dfd7778e55c4007e8627cbb4c03a13a842c6b95edbd902a6a11e56a51ef |
|
MD5 | b8e23f3c13ea101e3baa250d998a477c |
|
BLAKE2b-256 | 23fa73dc713b205dffcf4f5a2f5f362b3314cfd4a4059222ed2641bb621e2e75 |
Close
Hashes for cdk_lambda_layer_curl-2.0.260-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c3f67ba830d411e9282537d54195f4a3706937cd380f4f5459ca4a365025e671 |
|
MD5 | 9321f72fe10954b68441b6da5f14e391 |
|
BLAKE2b-256 | caafdb91a5a69d4a66d5f6222a56a3831607a7ffb70a8d992490ce6a4bca1bd2 |