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.686.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | e2b0bf279db231fbaac3da861e94538db6b6714fe3e87f928408225a275aacf5 |
|
MD5 | fd60ba17bc7d8f020eda5c0f4d4095f2 |
|
BLAKE2b-256 | 6e5c5820ace3932f2b7ecd2812fbb623d1acfe49a81edc4c10fa43516b9ad011 |
Close
Hashes for cdk_lambda_layer_curl-2.0.686-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7d2ebd6868c7a7cc702954082e880e6ea3e50ebdd22b13d037e9709186040e4c |
|
MD5 | d00ef25724cac45d74cf22bc6170a85d |
|
BLAKE2b-256 | fded24e5cb2cb59c5e76df74cc092d6e5f80a156dd4f0f68ecf52850ca67032a |