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.237.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6685e6df66e873e428c46efc3027ba918ea8ef1746935937070fe75b859a511c |
|
MD5 | 0627f7abe9dcd209b31b619068dee7e8 |
|
BLAKE2b-256 | efbc9bde4f6a899123794382f2bdd46da9697e072cbb5a36faf6ef0a592d4de3 |
Close
Hashes for cdk_lambda_layer_curl-2.0.237-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2efc843daa036f0c4a7e9aacd7b3d8cecb8caf4a5db08f3d8aacca382ccb8339 |
|
MD5 | 6bd36ed17e7e52965bd7f38a60bde5c5 |
|
BLAKE2b-256 | 40181d654c65daa609d7778276d82f748c660957d15b4147f815270b5793e56b |