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.449.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9c2ff836b2f14add224201c902338f1a8d6e650200e40f0927cc5c4659b8227d |
|
MD5 | 3a956217c8f748e8f3f56e1c2d7384eb |
|
BLAKE2b-256 | ecf6c73d4fbe9f884346b390c5d1b946452b4ba6af27c03e2e7c400f13eba2b0 |
Close
Hashes for cdk_lambda_layer_curl-1.0.449-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 46d30263b9562af6abdd7aa2f4948f2519fe64199c6246ba709017bb0bc5f031 |
|
MD5 | 6d21a1bd50f1b8aeb538e58838eaa571 |
|
BLAKE2b-256 | 0498d7e24ce863efdb50093f843ed68b1272bfb9a3a921a0fbf53fa7be729d67 |