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.254.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | ec27e50562d3a464be4751878fe19248daef183e3e54b249ad0d31d61af74251 |
|
MD5 | ea2960cf80f07caa305f469adc04fe25 |
|
BLAKE2b-256 | 7f6ad291b4cf54826d28aba4f822bb54218a7f5485c0012ecd0948079e8c2bec |
Close
Hashes for cdk_lambda_layer_curl-2.0.254-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 55ded841f037fa033b50ebdca7a61e0d5586c5eb0b619833ca2d4defff173cea |
|
MD5 | 2f93ca04a009afc9fc483efcbbb39628 |
|
BLAKE2b-256 | cc2e977f48af14beac87bc93ed5ceb0116564fd43df50f47a4651b315e6e497e |