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.256.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 39eab846733be56dcad2160d4096acfdb88a9ee6346683b07f5af21cd2807f35 |
|
MD5 | 230bbbf8bbf33f92f2d89fe33dcbfeac |
|
BLAKE2b-256 | da91bdda6a35669336dc97b0c2e9952acc53828a316d8c4ccc3f5e99c575d96b |
Close
Hashes for cdk_lambda_layer_curl-1.0.256-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7454f12344dbbc98b2b9d0071012c558f2effe840195a86bc1d0b14c94ea69f9 |
|
MD5 | a32fe2f0e3444a32229d38d6c4054f0c |
|
BLAKE2b-256 | 45fb8a38cf574c39ed531e838c5f16beb1c9438516fe8d61d58b33f75dd47558 |