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.467.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 57a239d1b41a6f1e4f98e2489bb12b289a869bc67bd138f218f3b32e7a9b59c6 |
|
MD5 | 954cbbcb46270fe39dd42e1f50758e4e |
|
BLAKE2b-256 | f9be571d70b397513a4f40050c551d10c8d95fed6bfbf0e52c8ab2a84816bda3 |
Close
Hashes for cdk_lambda_layer_curl-1.0.467-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0bedc05d776482c5483dbb05fa672a240938343b2aea136501470f0fd9f91f83 |
|
MD5 | d1557932acc30c7f6fdd2cabc1c654de |
|
BLAKE2b-256 | c9996800fa8fd2d1293b2ce9ac2c24ccac0f741f70610c614313826b5a8673f1 |