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.120.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 633edb1aa59283fc2c7707e7c3ef7ff64d3847a06b7238615d9a37ce498fcd15 |
|
MD5 | 47a6b55be984cdf859db8ef81fd90945 |
|
BLAKE2b-256 | e10603ff7ba1ef6c450c32d0dc10e14cdd58ceb95d0bf7de510bbcb2bb464ea8 |
Close
Hashes for cdk_lambda_layer_curl-1.0.120-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e19e6b7a1151e9c189438d622b1a10a1b440ad76647a91dd5609f08c8e90db15 |
|
MD5 | 75ed390080469056c511a140c789063c |
|
BLAKE2b-256 | 3e453001b835123e1db8bcc3b5b4c0f4fae6d637cb571521c27a26ef439ef808 |