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.780.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6c693109c008b845b4acbca6230a244035acb57133a1255d30fa59e79248ad48 |
|
MD5 | 7dfcb639c72241a2a956fa488e64c4d5 |
|
BLAKE2b-256 | de3e2ec1ebd1b83655162d3d1cb466667421f738e5ed89ea232f39623dcbe3b6 |
Close
Hashes for cdk_lambda_layer_curl-2.0.780-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | df56eca1798ecca05292cdf33dda1f3b23fad9c9d69847523cce47da0e86cd19 |
|
MD5 | 9788606645ed63793a0c0eb90a430134 |
|
BLAKE2b-256 | dfe35b6befbbae8715cab864c3ab68662c006cb7e2fe6dae29633e72528d923f |