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.330.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 64d32d9185f89e9b5bc7ea99c05270469efbb54c6aeea4dd2f6a5a69489c1b43 |
|
MD5 | 2a411e95c1e34df54116ea00aea7a636 |
|
BLAKE2b-256 | 092019027b5c88ac77ff23410ce6e11ec4a1e73266b957415c121f2b888e37d7 |
Close
Hashes for cdk_lambda_layer_curl-1.0.330-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a1ba4d97f93eefcc2307eb85c6f91701d19d168d58be6e20858174aa6e98c18e |
|
MD5 | f63c2dbe1381cece2e0fb9c769e58f5c |
|
BLAKE2b-256 | 27ce23c3d65aa672b16dfb56644b25ea42670f642e960971c1808c696e8ab0d5 |