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.341.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | ed85e519aa4464558d9fb5fb6a9dfc493bd4d00dc6248d428c56ced6c9b73431 |
|
MD5 | ad7a0373a47f3bd7eca4f3ea2e0c0fa5 |
|
BLAKE2b-256 | adbad21506cc554022b096af8e1374eb1567800fbd2039b2cf28fcba1b2431ec |
Close
Hashes for cdk_lambda_layer_curl-1.0.341-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6c08e8e324fc8ebf83f48351e565a92eac0f46ca82b44a9f9e5870223dabfb00 |
|
MD5 | 89ae0e520c76439e3cd272b0c26f165e |
|
BLAKE2b-256 | b430fb769d2991c04b471ed764a0d225b74ba770b94568d2958deb4c0d527f01 |