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.446.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | af45cd127f0a54f1f62eab839d3061a8a9dc7d39aca743da2e5a0dcf376372fe |
|
MD5 | b22faefa9a2e7dadd6f03d97c700cc85 |
|
BLAKE2b-256 | 47e8fff5f2702e2cb08f2da29a8573dc056903cd8b15ea319e038658bb2842d4 |
Close
Hashes for cdk_lambda_layer_curl-1.0.446-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ab837378266b4eb156b84208d4890ef63ec66add062f59d1e555fb0603ef4e86 |
|
MD5 | 91f5841cc5378f66a4df7e185eadb8b8 |
|
BLAKE2b-256 | 67573dd7468bddddc892ed435683291515b70b135c2058168fd560bb02ebf554 |