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.164.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5ac7910cdba8f321641ea36c5edbab75968e93b894538d1b4f31472be4063a8e |
|
MD5 | d95937ec79482ef8238fdf7b2f613493 |
|
BLAKE2b-256 | f3610e01d043c526b9a25283b1ce0c6f776a0ffd314976dd33036162fdec7b9f |
Close
Hashes for cdk_lambda_layer_curl-2.0.164-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 82892482a16363d9e900d5449050f00d05010d07ffed13dfff95edb5fb9ab8e5 |
|
MD5 | 74d44c63a89ad2738f48bee58fd342ea |
|
BLAKE2b-256 | c1c36a89f7e5b9f75e1126d2dcfe2999e42b7d5e4189c84e2343925af8749f68 |