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.494.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 73190383b3898f4f15af5c0186ab357a409cdb12e8b408345daa59da63ceff84 |
|
MD5 | e5c6a6968bb674cc16fed48ef02fdeda |
|
BLAKE2b-256 | a0f1f3a74dc03842c2e75dce0488be359565ff9868d5aa7869af2519c1e61d59 |
Close
Hashes for cdk_lambda_layer_curl-1.0.494-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 57242e58304fd89985e15050e85ba3ea8d077ac074b362cd3cb867bf08386f74 |
|
MD5 | 5c0de00736b2bd47221a4f6ee9ae286c |
|
BLAKE2b-256 | 3c3efede1c980ca73a9f33e27d5175bed6016ec5bad767af178bb37b8640a5a5 |