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.369.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 486ee885df0008f86d9844e106cd4ba699c3d08d6e3455aeb59bcb3e9d2f03b4 |
|
MD5 | d8a188b0970d69672a730570e4ab99cd |
|
BLAKE2b-256 | 9eea7d40df3d9c634415af34465d5de1a54e84ed8af34a3c95be7b868ce12e4f |
Close
Hashes for cdk_lambda_layer_curl-2.0.369-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6e3f28b1ffab6cb189ad894f9965369a77d0e4407718dda2578d8b06d3218a5a |
|
MD5 | 2389a74abe138ed7ba95ed8daf67d26d |
|
BLAKE2b-256 | a35cfd1732957cb13d776631391b4fe04cfe397d52e07912c17d18f5ad8f9ed5 |