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.259.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | aa98ac9f293fdcf0f4e99017635eda62158a9e13146bddaa79b3112f57220852 |
|
MD5 | 947aa5be9b3afa42003558fedb0ba4cb |
|
BLAKE2b-256 | e9305892d37a41f23b7aa4ca247ec3d90b1023148165610eb2b5793ebf85092e |
Close
Hashes for cdk_lambda_layer_curl-2.0.259-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d3e86d07afd18e197d8f3d48da2fddfc2de63699142cdc4d2344144cc36c4abf |
|
MD5 | 1966150138054e2a2c7092ccc998a89c |
|
BLAKE2b-256 | 1cb46483d00760be4a9a4883fa8c7e1d32c66dcac883cb68738892ff9f5289f2 |