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.76.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 01dc954229399af124b5c0f2a3e3ee7bfd7617f517ed5a2d67545b3ad5b91f51 |
|
MD5 | df762480dc56f2be7c42a0d0c3f8185b |
|
BLAKE2b-256 | 4a139fb30fd67f1bdc621ad44bb55f85e63d18010430bd4bb80bf2883d5c7b44 |
Close
Hashes for cdk_lambda_layer_curl-2.0.76-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d98111c7682229143be78fcbd9c63857e63a048eb2d0905b92edca7e386b74ba |
|
MD5 | a6d02dea95e19367974313d7023a33e6 |
|
BLAKE2b-256 | 3ad283fc889fb9845740575bba058097ea56bae0a9f278447c7aad64055b5d6f |