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.519.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 37a28971378255906f0cb11ca0cd8298999c5b033977d4d386953836b27e3fb9 |
|
MD5 | 105ce9f00485922daf9221a00b13f324 |
|
BLAKE2b-256 | 86c785f1131f55d0e8ca963c3513d62c70712d6ba4ceb5d4097ef217efa56427 |
Close
Hashes for cdk_lambda_layer_curl-2.0.519-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d23421d451d24db7aac0618daca7a5ce6af544c2358cc8aaba3325551f12d8d0 |
|
MD5 | 411789a999904a59ed3226173d53aecf |
|
BLAKE2b-256 | 5d13694194adad2d47a8300c045421aec04cb923e2cc1b09d601310278961f0a |