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.691.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | d1dcc19ab15eedc22f83a52f54cd0b79cbb02640c6a23bf168d1c83dd80d35d5 |
|
MD5 | ed22a6b637dbdc7fe6f88fc60a8a0065 |
|
BLAKE2b-256 | 9ef5996fd2374ec2e6e4d81e60ede14945a6360b283f60ab2bfba37969589c8f |
Close
Hashes for cdk_lambda_layer_curl-2.0.691-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d50cfe9585ee315797db46c70a7f39d4b340972289e4b624149b48ee54d900d7 |
|
MD5 | e1fca437261df7afef22f857d9441055 |
|
BLAKE2b-256 | a668196ebda3c730a00ed967e27fa312e96f339f02e76504fef91f04b4a5aa62 |