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.60.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f2dac8ccc9f9bcf90c9fee69d34b661ce595e1f664a6dc03bbbdf67f9d0d0ffc |
|
MD5 | eb1535dfc8ae9cf015d00759b8defc8b |
|
BLAKE2b-256 | b1b69662b9c61b6d9e5d05d4d7f350496228b87e26a234a3470963304cacf94c |
Close
Hashes for cdk_lambda_layer_curl-1.0.60-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d7eef22c62dba71e95f602b5d2550573ce91c5044b11b2a64284316da65c92eb |
|
MD5 | 067336f24cc37366e2ea76e625f1e3e9 |
|
BLAKE2b-256 | 573e5dc08b20e3a112d6b777fe0ee392991a21649d17a729cfcb6d1c088fcd9b |