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.400.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 70ffb62c1dd9a7e433fce5b38dd9b3912f5d4b1301c1c4c2e9f648468a089310 |
|
MD5 | 23095aae3a0e7972b594bd3d28a62ca0 |
|
BLAKE2b-256 | 0f884e807a398c1897803cd33d229d6ee602c020dfd445ac88ea55495ce8c3d5 |
Close
Hashes for cdk_lambda_layer_curl-1.0.400-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 244cde7a34c0ca4f11e35e30804f717bff0c4364272fb62d8ab3f6e6dcae47eb |
|
MD5 | 19c080a1a1f4eae5ab522935ed15c96d |
|
BLAKE2b-256 | 6f17b47d4c128f459a3ee7ee25d4649eb6023018dc31960ee80cc8c5f0b53caa |