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.565.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | ad5428d6364e7f23221f1a19412465d6231a5141003d4c8c9b02998665f796ca |
|
MD5 | 16e2669ace8a53ac06e41fc441d2c5be |
|
BLAKE2b-256 | 1d5b0ae441711933d3418025a78c24e8633f9863f9eb6ec88f343d3a4b6c9e31 |
Close
Hashes for cdk_lambda_layer_curl-1.0.565-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | db9f35067b35148e9c1def1e9be98d9546f62a3cf43ac47b607e6e37c04ba12a |
|
MD5 | 4dc1c6261570d175048bbaf38f4f0556 |
|
BLAKE2b-256 | 3aeea6f06ff207d9bc1fecdd60979ede5433a9334e939436200dfff6f222fe96 |