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.770.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 91c07ff9cb4c7b762b9beb7bc751971e5e798c361d60e88311ab49361287ed8b |
|
MD5 | 0db7bad44db221f203f469056743022e |
|
BLAKE2b-256 | ca204d9f58caa6ebc67d959d78bd6999e2697f72c092bbb8985cd91f57ff26e4 |
Close
Hashes for cdk_lambda_layer_curl-1.0.770-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 15ca8d63f47c4685610593044efa4751dae652a1c94118f22a48f3feb8bfc4e4 |
|
MD5 | 6aaceaac99f016f22b0e8dc269b18acf |
|
BLAKE2b-256 | f7cc44228d00d0a17cab6e0f4a86a38468943ae114a9368b5abc9a1c51c39680 |