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.765.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | e91adf4b2b24e58464344a668e076891e54c69b94da55a26ff2ba4dd8fc4d32e |
|
MD5 | 3c0034adb10eff4b8fe724caf5e40626 |
|
BLAKE2b-256 | 54bb7e14a553ed1e0e2db6bdab35f9cb3c68437cdd3eb2bee150761dfd261b6d |
Close
Hashes for cdk_lambda_layer_curl-2.0.765-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 687f7362a7fa51b3bced66be8eb629bddb3e45c53f5c1c775f7210f96793bc6d |
|
MD5 | abf0c5f93da6a2207ce5978a9652b8ac |
|
BLAKE2b-256 | abef1ce4f2c95025df307ffec80100856e083ca24f90f1f7899630819e80ead8 |