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.70.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | b491e1ffd98863daf902a5c51c6a9203912ae8fc6a0b8a2bcd219cfa9ea2969a |
|
MD5 | 46a9196136646f4ff5cfc37a473f6459 |
|
BLAKE2b-256 | 3e2e29f2c7ffda085d12b5d9a4a9a7bb44879355330ce03c0ddfbf512fff5ff4 |
Close
Hashes for cdk_lambda_layer_curl-2.0.70-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 53af73b564897b343d0150241aea30e7bde645f577ced6f4dfd2ea871d1c27bf |
|
MD5 | a36311bfbc509fe51b5d2faf2bf62e62 |
|
BLAKE2b-256 | fca6d58e717c4cfba2e80e4cd1d8f27af6b02cace547cac43c0bc34371ca563e |