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.543.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | e0005687245a8a7f5e3e3b0e80eb7382deb940a40a7939c4020afc213491632f |
|
MD5 | 12e517a9615eb9e43f354b993e4630de |
|
BLAKE2b-256 | b5fabe86ba3f86df5580855674192253396ae792892e5c15a6b4c2ef788a55cd |
Close
Hashes for cdk_lambda_layer_curl-1.0.543-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5bd2497952f4c9b02986ba0d1691b44443517042aa4cef5f43f3a15639afd00d |
|
MD5 | 6fbe95677bd2c4b6b1145cf0aafab6c9 |
|
BLAKE2b-256 | 9a687b632d5219e9ea9f28d3f0a3e7bc39a58f2553434d378cd865712c0272d6 |