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-2.0.355.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 438c104da5bb33d1176f00eed3c3bf9bc2e11f9aa615632434da3de086534b12 |
|
MD5 | 8b6f2471340253e44a4de7b1c15323fa |
|
BLAKE2b-256 | 9be797f21c8b4acb7c067bf9ca247a6351ead271cbc47eae2aa76908229dce4e |
Close
Hashes for cdk_lambda_layer_curl-2.0.355-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a74a270bb5e740467e9432e2b5527db124d5fc074afcedf78db3a336a069fe9b |
|
MD5 | 49b1ca4372c1a9dcadadedfad0873547 |
|
BLAKE2b-256 | 8fd261f97d4fee222529f293c62e45f852867d4d66e75239c9cdfe78fba3bba9 |