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.38.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | abdeb43b93ef1b69a663d8e52db8167bd0753f9034014c0086cea4af0823abcd |
|
MD5 | 1f5646bddc21cd171c14a22e2ebedbb8 |
|
BLAKE2b-256 | 6bfed88b3a89ee3779e5aa43d0ab2d97cead4cddf2d5950a6c16e0bbcfc85990 |
Close
Hashes for cdk_lambda_layer_curl-1.0.38-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f3ab8bf426db20c2266f625b36329a369287e9deb21732989970b9085aa2c43c |
|
MD5 | 19f67638f141a8e1caf958b73163af4d |
|
BLAKE2b-256 | 6e00c424a32e345ff6ac676b0f36850e62d39e49592f3d499a15b0093265eb71 |