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.691.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0f73f88c9c34353cd125c6b3be1aed7beea1969a488595229ff33431f6083621 |
|
MD5 | 7b05bf6d7c026041a8ef3e2d2b1b8d35 |
|
BLAKE2b-256 | 36d4f9256da6eac5b42ac101c471a6a786f5bc793c4d24857ec605d18023bf72 |
Close
Hashes for cdk_lambda_layer_curl-1.0.691-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 21ff803f1470efeed29dd4de9c512fca212eff20ee23a642f207d1f45bdaa19a |
|
MD5 | e3dc7ea913a121a2e2d71d2046cd104b |
|
BLAKE2b-256 | 0a67671901e0411a4865eeccd34ca6eb9d351be2828e870c630d23d2e0913e73 |