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.775.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f0c171b55bd7111351dde7ca1c416f6592426ee1796460ec85ca983e168c56ff |
|
MD5 | 4771b3ccfa9648b855ffb8e15b2b69ee |
|
BLAKE2b-256 | a2c4efc392d2acf477c0cf904f2d52cd5b94306b6f996647696bffc5680f2109 |
Close
Hashes for cdk_lambda_layer_curl-2.0.775-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b909683604d63cf7716ab578f1b30a6aafaf975458104b979109eea210f1b2c7 |
|
MD5 | bce4863ed4e53e89306b622b881594ee |
|
BLAKE2b-256 | 8cc98bb40f72e191bbca851e21d2fcd5c92c07025d28381c6a70489e68a44771 |