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.21.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 18bf6add0a749749fb7ae23edbc2e14174e0e778144cedfb2327c6cababa34ee |
|
MD5 | ac9c22868c8341e728920aa962fe5bca |
|
BLAKE2b-256 | ff2910dc071d1563d184c879175e1b78ff4450ab16d6ffec67ef680f7926f7d2 |
Close
Hashes for cdk_lambda_layer_curl-1.0.21-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 88b48350a4a14a66df2c01926098ffee91d870d1b9f74028e0a1dc29cb4cfb3f |
|
MD5 | ff631282eda44dd55830cc3a71bfa5a2 |
|
BLAKE2b-256 | 76b1f91018bf5cd206733c4b2cbb24d1d4b8b8968df5e206e9215d8fd49b42f3 |