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.738.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | a33cd2740e67a66f309d194c0df8ac46b3f00c9f8ec98b86657a8fc4ed2c091f |
|
MD5 | a336f482171068fdaf860b2749adbd2f |
|
BLAKE2b-256 | d902566f6a5c0fc2eea4b3e66c5d2d426e86013bcfbb1f3c11aeebc4a7db1743 |
Close
Hashes for cdk_lambda_layer_curl-1.0.738-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f34b251ea585389f44660ab456ab3da16321a6f02aeae3ab0fb26833ac9de09c |
|
MD5 | f6eb7ed3539002f75db067f5d43e987c |
|
BLAKE2b-256 | 53f8188d9c49b61fabfa45a939a7b1f6c6714da379cb62a97d123868f66dd764 |