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.47.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 54a0f742f38be316462a2d37cf7756f9320b43c15eb5def3235ad290da1b50a3 |
|
MD5 | f55c2f77f8c8ff1dcdfe7a98f99fca28 |
|
BLAKE2b-256 | 850a15df6f5b95bdbdbe699be8b1bdb62334d0ec7d67b855a8eec4faf6a295ca |
Close
Hashes for cdk_lambda_layer_curl-2.0.47-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e6919e586ecd15204acf14794aca7ade6dad7210ae12c7f18ec5c26590471065 |
|
MD5 | fefd3b76c44ff186b8fe67bbde873976 |
|
BLAKE2b-256 | 44c87f3225af810ff6f62fad250519f6763a2890791ecc6ca0279336edcfdb60 |