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.420.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4ad3c2710ada42fd9d4c55c756516b10955df881efd984fa3c2a4ae92cc3b4ea |
|
MD5 | 50d721ae1947d45e97b7dd1887253af1 |
|
BLAKE2b-256 | 17530636e76f1b40520d7dbd319d4dbb743d83a131e69ff620251e3d1b03924a |
Close
Hashes for cdk_lambda_layer_curl-1.0.420-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 555230984fcbf90d06b2d270613ea6f13e19033dc13249802754ba59a0c1f3c4 |
|
MD5 | 16013c5f4d3acae912f114bd65c68170 |
|
BLAKE2b-256 | 6afb989f4672580660fb514ee497e8b007ac00d8aa7efd24cf05756960eeb690 |