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.656.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9217676d0ee0c035e4359cb520c9c12e85d4541bca05220cc034f6e0f4714bda |
|
MD5 | b7942680fcdd5c9b45f049cf36396fcc |
|
BLAKE2b-256 | ae5a53772e95e3daefc06c65362d7f07abf724aadef6f1b579940442de65074d |
Close
Hashes for cdk_lambda_layer_curl-1.0.656-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a9da2eecb1c2144c153806cbf623000e6b509479250710908d637de9c2f57483 |
|
MD5 | 03de34a43091602c4a841db8620dc144 |
|
BLAKE2b-256 | a47c3d1d8a8beec8b0abfcb5f5531dcee40d76ed7b173fcc719615c9b9306b86 |