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.29.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 550ad184d50e8a7fbab3869a699a758727db3ee06c6ccd5810dc9835db00e8f4 |
|
MD5 | 10417261415dc8bfa2222e2cb8221913 |
|
BLAKE2b-256 | fcf842713fdb2e5190f798907582948f3104ac0b58903654fa0805cdfb54f78d |
Close
Hashes for cdk_lambda_layer_curl-1.0.29-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6b8c3ce14d88a59e3e914638f2d1377fdf09c4c359f211733b8f17e971519ecc |
|
MD5 | 863b097f721adcd9ebfa96f6549f5e55 |
|
BLAKE2b-256 | b7f2f460bcccc86bdba489b72407e9ab86ad7ab67c181d6d2e6f5c348cd60fad |