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.31.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6064a46d2a3619d5e55a7b7ec0773dce34b8d575c16e32bc878136e145a7df8b |
|
MD5 | 79a1c36e13c71725b520ed449e5ab449 |
|
BLAKE2b-256 | bfda9fa844dc3a44d3492f46972a7f65e58be5b9cb8107ba4631386f5b7ce5f3 |
Close
Hashes for cdk_lambda_layer_curl-2.0.31-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 80ac57a729084b351f6367b67db3ece5dcf8b662daf7d1dcc1e077a68984d3b7 |
|
MD5 | 906ede2ea40fb48988b1da61aa32314c |
|
BLAKE2b-256 | 0bb1fce07324cb246c4f740dfdde5d3e284da58439174f37f9ffc40352cdd178 |