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.831.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9e7b40d84c8748ddf013515f84d336512e8dc8699086cd5ed688e686bba4e87f |
|
MD5 | 3f8f4ab5151700b24c4b3fbbf86fd643 |
|
BLAKE2b-256 | 291b32c767a83874b36c1acdbd512dcc56ca5efdf85792af7bd6e30acddb7bd9 |
Close
Hashes for cdk_lambda_layer_curl-1.0.831-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a423393fa8bb01e1a1d7f49b772b6eb3ff1cbafa0a6b1a48e94a571e542e2e60 |
|
MD5 | a20e8673fb661d5680c0ac5d5dc480aa |
|
BLAKE2b-256 | 23dba6d83debf2299c043e18e9f82d9649fe784bebb8e1927021d8b998b030bb |