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.417.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | d1e0d681efd3dfed79b00416706b3836baaef2fc3c8edcaab661cc8a1903c750 |
|
MD5 | 831dce1ffbdd97a57249e670b6287fce |
|
BLAKE2b-256 | 8803b1998eb7f8741b4ffc090a753e3bbbd57177b2cfbd6169a99ffa0145635c |
Close
Hashes for cdk_lambda_layer_curl-2.0.417-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9bc598b532e6789c46e97d036f1a3105f0191597ecbfe2947d5507e0af517318 |
|
MD5 | 629f869302dd0a553745eedb50422eac |
|
BLAKE2b-256 | c5ced279cc1367ade1c6cdb7304569faedb33d8839227c644fe66b8fe63a2d83 |