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.437.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7b5960a229719f91798332573755dc130b1e6366a3ae8ddd06efab923bc89ae9 |
|
MD5 | 23f9cf229e31523167ea19de9dd53d85 |
|
BLAKE2b-256 | b6b7d37edaa96808c98f04a1c2cb706bc788b80e5c6ab5a0ac6176bff330be5e |
Close
Hashes for cdk_lambda_layer_curl-1.0.437-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d032e6e5187cda3bc9e58132f358bf3dc7861e280de520a55bc06f5f5b3be355 |
|
MD5 | 885e9f6c9a069144a1fa223f6f12d2ec |
|
BLAKE2b-256 | bee14eb8454da64770ca6dcf5dc5d5793637a3fdba087d8032ae2be2bf03feb3 |