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.447.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 75905dd5034b789effab87c662616b5b0f4a7c3469ca87f189f826a5e64b1eaa |
|
MD5 | 8e9761ea908c3b661364c4b0a192a3fd |
|
BLAKE2b-256 | ce1c91104fa9fab92e0f7e99974d72c57d6db56ffe3ffc8384b0720c999676f8 |
Close
Hashes for cdk_lambda_layer_curl-2.0.447-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 783c647b796587988893a94e7e371f9270fe0166a55f72a9c53702227eda76ce |
|
MD5 | 5eb2a98bb03db740c07db139d1fe15ea |
|
BLAKE2b-256 | a7d73a30f0fb31a34a89918013e30b64e2cc142179363f9854dfa6c9ec7e48c6 |