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.19.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8ba3f09f2aaa5130a91cdc2353cf470ea282809d117633c288cf980f8ecea3ec |
|
MD5 | 279866725d68f141faf177b831bcbb14 |
|
BLAKE2b-256 | e12cfb88b3a4efb1c669bd8f3044c77a8376ab31e1a2a0257793e951d8b3cf86 |
Close
Hashes for cdk_lambda_layer_curl-1.0.19-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c0b87af832d8253102c0295866bb9768c929eb4582afc4327977fe1269b35df2 |
|
MD5 | 7a1dedd4decde71b087d35d05705066b |
|
BLAKE2b-256 | 30782d150467467bd0044ea39926659d24bbd73c2cba6eb70f645ef22cb9514b |