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.456.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 659b9e736e3dca6024314a1a717dcd09b093265ce1e40b3934ebb96771ae6798 |
|
MD5 | 6b12849c58bb9b26ef7f0d64d9850904 |
|
BLAKE2b-256 | c81492630309e25c83e15862fb7db12694b14a13c3d6c9602f3364bb3fa75da1 |
Close
Hashes for cdk_lambda_layer_curl-1.0.456-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2c3d35872f11ec37a16d8810fe457853a03de3f763bc3e4bda6ca1d0ec866a06 |
|
MD5 | 6be4674fbd12ac03059f31652bf61910 |
|
BLAKE2b-256 | c1ee2dbf951fda0a27179c4d4be46a057e993e2ff3de8ee88f693b1c4f991068 |