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.492.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6cec4bdd5859892056a0e2d178f1ff6b978b97172c0a977b8614d5a38e4454d8 |
|
MD5 | b5e56228625bcc6db9fffc22e225b528 |
|
BLAKE2b-256 | 86b0ef3ec35f1bf213b504803745fc87aa9eca6a6effe7a11fe751189f82d0fe |
Close
Hashes for cdk_lambda_layer_curl-2.0.492-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d86c86767ff5a1ee99bdbd8c92f02fe39bc4abd5460685d71523c440e9cd6966 |
|
MD5 | 429c5bc4b385d69a1f9a72298cf02043 |
|
BLAKE2b-256 | ce320f21b97e03bb52b9cd4ad9e845af5abe3c9796002ac1453ce295c674fb23 |