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.335.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | c28b76c9709b5c77471ca06a40d5d09dc0495074bc28e8187eb08d5a66b1e65a |
|
MD5 | 42d17538d7f43f7eaea5e0478d9b6779 |
|
BLAKE2b-256 | 331651ddd12aaae20a27e2023d9eaedd7d8665731b26d200e69268350454109b |
Close
Hashes for cdk_lambda_layer_curl-2.0.335-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a134eb5cf4df2dbd5ddc8ac0fce55f89405562e5d725649b41e3635eaa8f8a84 |
|
MD5 | c66138849b69f5b4fc7c411ce67840b3 |
|
BLAKE2b-256 | d4730fa9186772b8a734270d59a3aedc8f9a1af3f41a9f20c1b12b1cf842a6fc |