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.491.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 84c42f619e7fb93bf8c9f924fb31dde69d0461cc942c0c5f4645bb46a4d5170b |
|
MD5 | dcf7a9b591aaf85d95a51c7d96b243bb |
|
BLAKE2b-256 | 8d9a040ab45091559af8d580fee91938283fabdf81536977dd07ac7fc59d8567 |
Close
Hashes for cdk_lambda_layer_curl-2.0.491-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 92d122130f242483bf7fc42266459bbdd14a914ce9d2b4d44228a00e5b4e0ebb |
|
MD5 | 6c85c418dd8c045cf8377d891293d036 |
|
BLAKE2b-256 | 150442ba9350e3a09aac0d9ead3a4292031216aaa440e30fbbe57040e2a72f4f |