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.305.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | c996087f359702bc27c4cfba477fd8f067806d509699b69546ab3adf20ed851d |
|
MD5 | 277d747ee2a5f53a97386383c09bae32 |
|
BLAKE2b-256 | 2da315a28e4b2c72f3316c8a27d7849b28fd731a7f8dd2967bfae101ba4ddc04 |
Close
Hashes for cdk_lambda_layer_curl-1.0.305-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0a56c151ab542d8f61e7bc2bab1b97487aa14a82205ddd884067806843cb6087 |
|
MD5 | 4677ffad309e3dbb7d4cc75d20c2a29a |
|
BLAKE2b-256 | ce4461809b80e1e3904f77009c443f28f3957c1fe7cb8cc02041dcbcb062637f |