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.230.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2a5ae69a76e2e52fcfbc59f8d8eee7452a2bd28141fa2d0346c61cde7904811b |
|
MD5 | 26ffc46198e5f3af07551e2ed90a0a8c |
|
BLAKE2b-256 | 9de9c491c795a5a4a7a47bf533e6b357c7cd5002787d384c4c0ca525abeedbdf |
Close
Hashes for cdk_lambda_layer_curl-1.0.230-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 870c20fd719694ebca9a8643fd90486a29149c86c101c66a59297d5e40d2a0ed |
|
MD5 | 2a02a2a7cec10568655781d9f19cca60 |
|
BLAKE2b-256 | 8a66f37660da03f054306e8b5e2cad168d62f9d179171281ee17bd7ba6dc8118 |