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.524.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1adb1d2acf167a480c5ce414a6c7c76e5f1dd3e90dffd9a71589686efaa08ed6 |
|
MD5 | afe5c8be30a28379f0b053dc6a183ab0 |
|
BLAKE2b-256 | 8de0007189e5553274326a5f9b4fe8618d4d28d4a798767b5b259ae29791f85e |
Close
Hashes for cdk_lambda_layer_curl-1.0.524-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6cdbfdc91295caac77cb3d8eada050e933cf67c46d9a57a7d4d77025d5e3ba2e |
|
MD5 | 70a5403697893e9aaca0b92cc421962f |
|
BLAKE2b-256 | 4525a32907520a916cd1246b12e4f0085f16a44cc11ace9490bbb9bb3a2444c2 |