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-1.0.159.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f822c2c72fdc2ac9622819b4d13a67021c5a4089d5ab8405c27f57a64223d874 |
|
MD5 | 326c81f482b1e9d4b5d59a8e773616f7 |
|
BLAKE2b-256 | 46c27d887ff87783eb68e5101d8e350251a5fd0c108a2cef26ac7b91e83457d4 |
Close
Hashes for cdk_lambda_layer_curl-1.0.159-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9d97d81cd3ddea02821610f1fdd823122c6de28807f5d0393dd2d52d3d61b2c6 |
|
MD5 | 2d7968ff70043dd6a20f3f847b083b0a |
|
BLAKE2b-256 | f7a001e9fa4c1051f9f8b834996a6930a067a5b1858f74de72871b1c227a9aeb |