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.828.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9cb0154ff057f5efdd4359967035eceabc7f6ac72edae077ca5742e78a9c1324 |
|
MD5 | b79337761eacb58e9c4b21e7eca88528 |
|
BLAKE2b-256 | 0786b3ec5043deb7595d5108739adf3dc11cd13e84db1f3449355cae18638da1 |
Close
Hashes for cdk_lambda_layer_curl-1.0.828-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 34c7658c45728ac1274f733a1b0889a87ab3ea18a7cb938c958b6a09bf59e983 |
|
MD5 | 79a09dea9b21939dbc20acc4ce073720 |
|
BLAKE2b-256 | 4c0e5cac3392ab1daaf855ae6c4bc15869fa895e1357aa6eb683fc57a7d71795 |