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-2.0.797.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 66555e455e30d8a4042ec27dd7f42b8b41ca93a68519f76c59173ce2948441c8 |
|
MD5 | 46e1f39122b65e3d1fdb126dfd8d2316 |
|
BLAKE2b-256 | 035a759af9eda95ccbc86f56fd94eeecd15a4fe9a887e8b2247e8df4deb6e216 |
Close
Hashes for cdk_lambda_layer_curl-2.0.797-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 00cb5933a1997a18f81cbd88d02bca19ddcb34e0688bc6dc52939a47b2534e14 |
|
MD5 | 4a0a36608028d3e0c1aa148aac0f6a85 |
|
BLAKE2b-256 | 683bbaae93c2a96be4f48ed89fcea2637f1d0213ea836089b678b1733c5509ae |