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.141.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | cedf61e4fff0f9037f388c018a879fbe71720213981642464ca67d9b1d8f4d86 |
|
MD5 | 2073c7a06ae88427e6a4dae7b77238e3 |
|
BLAKE2b-256 | 4f3fb4fc00a2b6126c93283fcfc7219820322a780c369a00e50061fdc0fa1f33 |
Close
Hashes for cdk_lambda_layer_curl-1.0.141-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 08b95d5567e5d05eaa6484b0b6ccfd5ac795d8d9a1145aeda7e8b355587fba18 |
|
MD5 | 6ca0e065c022599c1e0c9cd2b145e3a3 |
|
BLAKE2b-256 | 7c5aa6b26994646813c81cac16e38ea3a726374dbd5eb601f5765fe57f62fd30 |