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.298.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1c16d111fbaf5148fe233792022f1ccc0f1808ef52ea162615e0d3432989499e |
|
MD5 | ab59ce6cca1d964c3b0a7b1d6281ffcd |
|
BLAKE2b-256 | b0690304cd4a6ff6883fd30ba581fcca5190b663d70f967451ae32e2ca5baa71 |
Close
Hashes for cdk_lambda_layer_curl-2.0.298-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f0f028d44eec81168b0f8d482da547d2da8d04b0711538a9a1dc6ed1eb9730e6 |
|
MD5 | 055f0508bf1e857444e5ca3c322ded5b |
|
BLAKE2b-256 | 022b0a5ed756c439dd44e2de468dc7c8c6fca9d9632989f9051e2572601668ec |