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.222.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0006e6f5face4c8ad09f0ad1446734e235ce51ad1685e4736bc8731e9c4a2cd9 |
|
MD5 | b8436fcc9d729f86dfa566e4f882b8fd |
|
BLAKE2b-256 | dd0e650dba8873de8249c7577e35125023a205f6804364c662cf016e20897623 |
Close
Hashes for cdk_lambda_layer_curl-2.0.222-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d0aed457128ddaaeb15e03d83d62870a3a5718285fe524d97201f0d390815d9b |
|
MD5 | bb2db6887b2a38637e38bfca2488bd09 |
|
BLAKE2b-256 | b5f261a8b4c1d95db536d57f27b16143c6f0d64da00c05ee589f1e54f7b1a983 |