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.95.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1e39083cb32b34b8cbf7e46107251207e7eea47fb0e88d0d47884318a4bb0529 |
|
MD5 | 4dfef0f7933c40527f2d4049ea5be71b |
|
BLAKE2b-256 | 616fb74f6703871453c4ae1183ea66323f7a030f6e18b137eb3aac6be6afc5d3 |
Close
Hashes for cdk_lambda_layer_curl-1.0.95-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 12eb61a574141fdcf0854fe65941d2323ff6eaf975d00add2ffc333ade3c7df0 |
|
MD5 | ea46d79b8c4cdd500d6d5e148bd52f9a |
|
BLAKE2b-256 | 872b3cb3edd134ff94ee49b56b7143ca99497f33a8b8f6a725570f48501e4a62 |