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.644.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2b80b12c0a9f19a951afaf0b373fa498b7ea1e49493e9d5667ed20b085148a4d |
|
MD5 | 770c65517e8f15b0ebd997005f0762a6 |
|
BLAKE2b-256 | 708bf5483528227e39ed6ac195f966b85dca5c4bb8a79b8a21c11545a1653e7d |
Close
Hashes for cdk_lambda_layer_curl-1.0.644-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cd3688f939235b4dd42f8a84a476aeee91a2cc9375cd1f58334abe1c71949efe |
|
MD5 | 8a8749e996b2692d703daed2f30d0d59 |
|
BLAKE2b-256 | 3caa758e933c7ed1fa8791dd9b6e584bfac91067b8f4f71cd152768c6b559e1e |