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-1.0.338.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 12219d1e24521a6f934886cb25be05da49604a3408ffe52be0c2cf1e0d54318d |
|
MD5 | b29139a192190c0f92e300af10c10803 |
|
BLAKE2b-256 | 2fb418f23060ffe4e5fe8d85651282eb5829b4e8d6b311d1f0f7320b66f6ee69 |
Close
Hashes for cdk_lambda_layer_curl-1.0.338-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4f669679f66dca1b1dde9230e212404df5ca20cbc788a8ef311f3edbec101308 |
|
MD5 | c709719078d03029bbe673fa8f03c8f1 |
|
BLAKE2b-256 | 0d1488fab5942df916eb8de41a303843cfde6173fa12d9dd6c34d51fe027be58 |