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.777.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | b7856cf53927e5706dfcea1ef583a105bcabf725c254986e027670cd43ddc835 |
|
MD5 | 8338ad67c63b595ce1dd3ee0dfce9e12 |
|
BLAKE2b-256 | 398bcf1723e97b681b3ba102fa521623aa059b08298b62379e6329f0d6187839 |
Close
Hashes for cdk_lambda_layer_curl-2.0.777-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 08b15546e5e525774151a28226e036790ddf94a68725f02edd769a753cf59da9 |
|
MD5 | 725ca5dbbf656be9c3e0adc32f2ba5d1 |
|
BLAKE2b-256 | 70728ef13cd515c9f01dfe84bd1c1fbd28f75167114d3ae22190796c5213bfc9 |