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.612.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | fb4ae92f0f734fbe81aafe295ba849c6565ebd7547cc9da72607ce86b13ca48f |
|
MD5 | 84dd43580a9ef8b1096e4cb1c44f4285 |
|
BLAKE2b-256 | d2020f6b9a5a04f2496b95fe5aec45091f845bcf4546d2788efd0b10ea44e746 |
Close
Hashes for cdk_lambda_layer_curl-2.0.612-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c41cc7cee974fa68d2e07eee92db4d34a3ae5f0f6163ecec947dbefdb9406ff6 |
|
MD5 | 48539dbb16f938d9ba6562d71ce94aa7 |
|
BLAKE2b-256 | 52a96f6108daed13c86ab275f8dee4d84e4018f4841e5770afe0709bec280653 |