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.103.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 00c1d34b12f4c611a2c44080d11ad403335f205deb27d847c9436505dd0afcc8 |
|
MD5 | 93e98a4aa87b19bd35109a2f62fc430e |
|
BLAKE2b-256 | 185b355b2944e1d6bb6ef13e1cabcfac2afd1893f984e302a3db6d8dc31fae97 |
Close
Hashes for cdk_lambda_layer_curl-2.0.103-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a607b3a2691f71dcb11195929673e3e377d94879a4b2932b8a16b13c2eac6e96 |
|
MD5 | 0ef2930ea8247e10e4d65bcadb24c135 |
|
BLAKE2b-256 | c63933097b9e0b457318500f47c514a63cf01f6accd6de6cc092b890813c28bb |