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.105.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9915e3cc412968f3c0e2eabc30ae6006bbd12a59443ad1dd3243864a0ac4aafe |
|
MD5 | 3c2da20b2b295488da9f6581c0d1b5b9 |
|
BLAKE2b-256 | 4f8c8b8d5a8f530ce4ec91cb302d1e86b7f4b820bb44423bb5ed17c061c2c9e8 |
Close
Hashes for cdk_lambda_layer_curl-2.0.105-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4038d5bdd627c1b48982b7215ad1c61226b6f67648e4fb8beeeff79950566278 |
|
MD5 | edeea8d4344503b2536777efd92eabf9 |
|
BLAKE2b-256 | 8bed66e7defab96259647f41ef4364879e226d1f2420acdc744ca7561c43024a |