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.76.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | b84ac061ca24a3a12c5695ff3facee6a5c93f839cb670df07e12b657dd132051 |
|
MD5 | 2dff7f6718cbf61d800de14cc5de2829 |
|
BLAKE2b-256 | 48dbb5d36bfcdf481dcfec4d55ff4dafe4000f22e770e782a0a9870b1bee19d6 |
Close
Hashes for cdk_lambda_layer_curl-1.0.76-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2242a8c4f0262e244fca1791add5679086cd7a195ffcfcab09ef270176084114 |
|
MD5 | 973eb833899f1aa4b6c8223da484042d |
|
BLAKE2b-256 | 281dbc4000f33fbd604b8caed6373adf8e258997db8d33d1c0a3d13985989e82 |