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.290.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6a56a5ee9b74b1b5a0b2d9fd0caaba1a3f4d23bee7be72419f649a19336a99c0 |
|
MD5 | 9709d252ce8f4185e419bb7e13d3e08c |
|
BLAKE2b-256 | ed28eb0c5c667b81d457f33b30152d87807673a58e35d749f8115547b9e83da9 |
Close
Hashes for cdk_lambda_layer_curl-2.0.290-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1aa39d066af29aaa142d6524fadf163f1bc3615aa66e0a14ffd64a0bfbe9bf94 |
|
MD5 | 1f6096a52a71fdba975ca8256daf0a52 |
|
BLAKE2b-256 | acd5f7f37532b3d51fb5000b9665602ac7d5ce0fcd14f4bf1cf7d4ce03b035cc |