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.650.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f400497df80a010c9ed1e479f563685abfe8d0cb611bafbb359cf6e55d6435de |
|
MD5 | 11332163f0ead3476ca769a238e0f6c3 |
|
BLAKE2b-256 | 7a92aa2f41d5d5a6397b6c35b6fb32f4117bdf05448215c505351da8f4b7fd03 |
Close
Hashes for cdk_lambda_layer_curl-1.0.650-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7c03c2d25f5f17823221d90adb9e0ef0dc098f7fde4bf353d74401586925a0a4 |
|
MD5 | e9e43391cf4a598d8b820692afc32f17 |
|
BLAKE2b-256 | 2581d53f01b6d5ca11d3e3c607b590a7540f29e9010844d566637878eae79b6d |