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.263.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | eca8b791f375e239cebb19f8a18b8bd90c9e858ae89581fe4d126fe4ef491c08 |
|
MD5 | 0395a9fdc069f80b243c7ce1a08060ae |
|
BLAKE2b-256 | e9ecc992f15bace00fef7aa17d0bab6f8cde97f27c772bfd6ae8b9962ad970f3 |
Close
Hashes for cdk_lambda_layer_curl-1.0.263-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e62cf4f88caa1b3ef324ee82365c7cdb6ccc0ec50b8d369a0732a10d2687b6cf |
|
MD5 | 31decf72c1099edba274c3efbebc9902 |
|
BLAKE2b-256 | 698152965c67ecd3cca821d7106abf3fa36ea08a210165fc07a8430f3bb1a50d |