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.206.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7f80792640d2fb1095a6e07341c4022661548c35a66d3cdd0329ddccedf91519 |
|
MD5 | 36d066babdbbfc9b619b2ffbe989e974 |
|
BLAKE2b-256 | 4b6eb9248860813dde3665f5eebe80e108ba716e8b8431c7581612267fee69df |
Close
Hashes for cdk_lambda_layer_curl-1.0.206-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7064b04105f0efa85182de9ddbecf4c9bdca8707829cfb127cbe192a4736562e |
|
MD5 | b6ab3fd2b1788489c9023a89c789765b |
|
BLAKE2b-256 | 4440953b21d0b68adbe0ab0bc3cb7f6b5482ed3750b3f1374195e9df0d9dca8a |