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.63.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | fad6dc6454091d6db3545e821133319500b3fe8290335c9b11f28ce8205fffc2 |
|
MD5 | 24737e338c4c5d70be5c1f47e13fdd2f |
|
BLAKE2b-256 | 0c99dc8fce8802ffb0caed62f41dab5bd65a1f6e5ded3b7f876f3410a22d5b30 |
Close
Hashes for cdk_lambda_layer_curl-2.0.63-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6f7856c7d9f05ab497fe1980bcfe2e845b7be47f09876c367c89a995ce266242 |
|
MD5 | 8427410e9cc3737a3f9f37e7d157773f |
|
BLAKE2b-256 | 396203a17495c8ab77d795b0bdf71b847e3b2b1d2b4f7078c4292d0f4b7134a3 |