For lambda layer use curl
Project description
AWS Lambda Layer with curl
Usage:
# Example automatically generated from non-compiling source. May contain errors.
// 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'));
# Example automatically generated from non-compiling source. May contain errors.
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.13.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3f4626fc4c7a62b8ed4f044526dfd15e60fea322b799f70e49b4004571689ce7 |
|
MD5 | 5f7fc4173272c3fdb7ceffd6115253eb |
|
BLAKE2b-256 | 7daee4c6b05ab28797d18aeccb797ae116bdd9994fba1a4c4943bc42a5805067 |
Close
Hashes for cdk_lambda_layer_curl-2.0.13-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9cbcd8247857918322ce5311c11b72de7d921dc4a4de881679ce3010de8ae140 |
|
MD5 | 339e32bccb7955bfcb43549561417c1d |
|
BLAKE2b-256 | dee0fcd38f738efa24b1dd6766be80a3f089000d0a8cbf49cce80c880c6e7379 |