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.711.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6012dc544adc65cba7e287f6bfdd9d6d9c098a2322edbf34554bd79ff0ac85c1 |
|
MD5 | ec1c509835ee94dabaa4598d9e36a3fa |
|
BLAKE2b-256 | 0aa9b2626395a70f60e124ca381b3f8b46b88cbad6c5c69c9924cd90cb763c04 |
Close
Hashes for cdk_lambda_layer_curl-1.0.711-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fe49c11bc7e1d9f6d9bb3641df19f859376173fbd0d6b0edd0348eef6f5daf16 |
|
MD5 | 4a1e592cfc4fee52fe3a018b30265ab8 |
|
BLAKE2b-256 | 25b96fa3cc3934a3db6056c7e095cba87a9b2fd93242cd993f22ea4060416be9 |