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.588.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 61f204394659e254a30007c28dc98d6d4e6077b9a7db68f9e66f1e5015570fa9 |
|
MD5 | 7ddc238d093b460af6cebff3c6a63b96 |
|
BLAKE2b-256 | 0e535d0b807229b3a0c4502b96cc66684970dff82b803cc72be20a176792a039 |
Close
Hashes for cdk_lambda_layer_curl-1.0.588-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | df7c44a6c219e26e5ab82aaf3cd6ec6e9b08476c0c195e6b98ea9c1036c1103c |
|
MD5 | 667f1b83d93f852c332a9f27aa55f588 |
|
BLAKE2b-256 | b0f69835eba80c0845a6a310527743e545ef2aad6f921b191e14c3f3cf8b0e6c |