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.434.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 00cad41f17542608a34b288ebb603a61415c78089d920c8c14fd92b354efbe01 |
|
MD5 | 81327fda395ffb10af23fa674bcd8f41 |
|
BLAKE2b-256 | a9b28a91e51447ed3e330e8fc1d7fced3a5062b876bf1eb0027d9d56a565c1a2 |
Close
Hashes for cdk_lambda_layer_curl-2.0.434-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f847ea369465cbc3e3ff31c06b996d248975a963e545920a2715ffb54da7bd8a |
|
MD5 | 1ee7f1fb4124762c561512c93c3f198f |
|
BLAKE2b-256 | 9c0bb20f5d8524f0bd38a9f33fc150551969fbecece915aa84a0b62804e0c89e |