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.51.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | e4736fcdb5e374b8c050ffef7eb86d9cb5b0d25f19dbfc18ed2d3cbdbdc4f396 |
|
MD5 | 4d83d2eabb50142b55fe8fefb14e59de |
|
BLAKE2b-256 | 9c032a2f729630a8375308ffe84e30a1f536c4ed67d0d6da69a689857496d014 |
Close
Hashes for cdk_lambda_layer_curl-2.0.51-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7b665b0e13a49e936e49478bfcf15ed496e0525a687a914c42072abbb874ede9 |
|
MD5 | 1ed241b80e305caec0e47c0cc3fee6b9 |
|
BLAKE2b-256 | 8d55e1c1b58d35de9304e0e1df13efbec0fa3d83e6fec8909276e8bcef961727 |