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.166.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | aa2be4f32c37fa5e312e2f8d2f4f149474a42f3f0fe41f4276739940c6268970 |
|
MD5 | f256380de98063b41632a9239934f2f3 |
|
BLAKE2b-256 | 668adccdc29b2ca06dd1752e7545a209408e97f6684daf232e2cb70ce900615f |
Close
Hashes for cdk_lambda_layer_curl-1.0.166-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 64b4b32a32d820f83c8e31c5645c2048e05a901e7304e69c2f6dd6c784023135 |
|
MD5 | c752e7c43f0beff8cb519d0b479b6fcc |
|
BLAKE2b-256 | 3860a76f1061a228c427569b1c0fcae6d77c04951e557f5664473503ad7e1963 |