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.505.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1874c2220b57e2a430504e988e410310b62a14d7737ee75e680fe9eba928f2ac |
|
MD5 | e23eefc039ee97825f0bc185719bf305 |
|
BLAKE2b-256 | 86e55777e03e3ebd835e187f840b508e89dba61b50fd0e772b9b4e94ac816948 |
Close
Hashes for cdk_lambda_layer_curl-2.0.505-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bc9bd13ca095fcaac59599bc3faf07f4d7894e7706d86f3c5b8a00cd26db23fe |
|
MD5 | 91f2e09ecc361811df500e10778d63ab |
|
BLAKE2b-256 | ef2bc4927c002fd9dd6bcfb2278fbbc0438816b04200ba4433e29da7aa767a5f |