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.475.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5e3d113635cd7b2965d57202158b29f8223c64de5d5f9b725bf0b526af4a169a |
|
MD5 | ac906af0e0e52209ec34c50fc6f3e685 |
|
BLAKE2b-256 | fc5b157209f5695988d4fd37a4dfcacb588a080f563a4fb9ad90e64df9c1ab86 |
Close
Hashes for cdk_lambda_layer_curl-2.0.475-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | eb6505337c33631c0d7da8dcd976de15e8050f78c95f83eab5b9e7d7ed7b9af3 |
|
MD5 | 2f3120aaa911657ed4d24d8a249e9785 |
|
BLAKE2b-256 | dae32d0ff8976cf84df7c22fe6ecb9ee0165f2b9e876101ed503b51e31e16fca |