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.609.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | b9ca24a19c58c0c05b32ab193a5581caccd69764b29eec7222eb4343c6137b49 |
|
MD5 | 9fa3795de5de0961e21ae8696266ad73 |
|
BLAKE2b-256 | 643855380146609197036eafc075ebbea0834d40c7493ee7af4c49274e89b4a9 |
Close
Hashes for cdk_lambda_layer_curl-2.0.609-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b28253ac7dd5a8ea8b19631f6c88bcefdc1624f5680fcd5ca9b3fd0a597d5d0c |
|
MD5 | b57bf45d3cbd5aa6642fbbf6627f120d |
|
BLAKE2b-256 | 6e6f10ef523dc3bda1fc00e4cae96e943a0943ff7207f307536eb6cb6aec57d8 |