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.469.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | c522f791cfb6dfde10409bcb78782280c290ef0e5835351848c8fbb1d86fefc6 |
|
MD5 | 55bba9de7aedbbb769e8abe9769919aa |
|
BLAKE2b-256 | 0f4ebf368a4176858e520ca163292598bb160632a74189d7cfbf57165bc9c084 |
Close
Hashes for cdk_lambda_layer_curl-1.0.469-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 37a4d1b4b8af838da467045e03cf48d08f07690e6f0c0bc6ab61390ec0e0ef99 |
|
MD5 | 2f5a4839e7efdc4124c272270b049c3a |
|
BLAKE2b-256 | cfbbd5d66a84e3e6250e7953aa94dda48880de609674b1fba0fbd0e374314c95 |