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.92.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 62f90057d879ccd85658f947453431957c36aac00af41006d1e77180deb195db |
|
MD5 | 74999e9dcce685d2c68f9fa9318d114c |
|
BLAKE2b-256 | 97e0cad4aad0e9709f8721121af8781976d6c94e0a9336ce9af3756abad15b81 |
Close
Hashes for cdk_lambda_layer_curl-2.0.92-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8d6c6398a6a12c31b59a9987c5a3b881d109ff0172d74c5ffd96dfbbd34dbfb6 |
|
MD5 | 23fb77dad1fb16caebdd48228de3c2ae |
|
BLAKE2b-256 | b569217ec1abb56b9eba144687ebd674aa8eb68b892e309f929952f95afee3a9 |