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-2.0.450.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4511effa3074de4f2ed38b3de73b33ecb9b4f74cdeac878831affc4be88bdd72 |
|
MD5 | a34de20cf74a8c8e0e9e1361694dd985 |
|
BLAKE2b-256 | 81f32d6a79fca7304dfe114a9ecb4a221c4210a4942f58cbf0dae270c7c5344c |
Close
Hashes for cdk_lambda_layer_curl-2.0.450-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6adca71e63cfef7100ce5a81b136a5fc66bab3fbf8c8b9131e68e6d850a079a2 |
|
MD5 | 0818b3c13d5df78fca4c9c812985c096 |
|
BLAKE2b-256 | ba80a8de70aa4f1883f242751a874971433666b0ca7ea966a5214653d3a0f2ff |