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.558.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 76d8ffd251c75bfd4dfa8fc4205ca953acf9c45d709d2c5d0c2354238a10cac2 |
|
MD5 | 43daf691713bd874691614eecc512c5c |
|
BLAKE2b-256 | bbd76e3ecfd94103b47829280164fbbf59f99d2d4a6c71cfbbb18dcd98a7f104 |
Close
Hashes for cdk_lambda_layer_curl-2.0.558-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6164e31d901214e7dd1c2d497f6318de3b8f522a98ef542752dca690e0fe1914 |
|
MD5 | 0b9abc101ce3b1312aa4b6439c51c58e |
|
BLAKE2b-256 | 870c84faed83f0797a18591eebba3c18afd6fee9b68aa84d82080852ea70b837 |