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.607.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | d8774b91644f65e448a532ab39ab6385ce13078c312c1545b433fab30f34edd3 |
|
MD5 | 0d0b3c2b8deca25bf22c21bca72eec82 |
|
BLAKE2b-256 | 6a666162e12db5bde67883f33414410d263392bb962ac1c63fdd1dea59af3a64 |
Close
Hashes for cdk_lambda_layer_curl-1.0.607-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cb34181d9cfb464bb670870a1d1b29569b7b614358cabe1d10ef9d44b7c59bb4 |
|
MD5 | b7e21c2f8b53852cd8c51d3f72376c1e |
|
BLAKE2b-256 | a24b24761cd311249473a502cb85570585f683a4a3774b2c1e93dd327c43089f |