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.550.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2d7e261d65141e7349225f67cc58e1b6f8502ee9e4926a400de6dda8ea9cc40b |
|
MD5 | 4af61e13f119347091565bc00fe13a7c |
|
BLAKE2b-256 | 0f6dc703b3715779a28ad541c966fb94b217770c899cde17d51c5c53e0c57aa3 |
Close
Hashes for cdk_lambda_layer_curl-1.0.550-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 49c6c76e1ad81fcf5fdb4f4b0be0ee8eb17ccbba53d04a7cab15b7c95df973b2 |
|
MD5 | df9b574cec767425ef3ff82390e05533 |
|
BLAKE2b-256 | f5675728421f48a40679083a42a7e863d576d5186702838675efec0a4c655e7c |