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.495.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3491566248be922e4565c10d155a7c60d699f3e2b1bdaa8b747876e4829c5558 |
|
MD5 | e47071952f4a667bdfb287cc52b5c7ab |
|
BLAKE2b-256 | e085b29daf0014ea62d3b6e3236a702d83bc21920fb49b493dc89482c128b0b7 |
Close
Hashes for cdk_lambda_layer_curl-1.0.495-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 99a7820346b364ce8fb3f6b7f0cabbe90b3cf7a4bdfced5803f9a7f2e28dab42 |
|
MD5 | 51acd383c69cdaae5805f1411266200b |
|
BLAKE2b-256 | 61c99e058d9bf07e288efb87e6148197a5041fa9b1a083c3554cbe198381eaf8 |