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.167.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2325f0903cf4c4f9b7448de1dfc0119ac7b53600fc50dddabdad3fd407b27c65 |
|
MD5 | 4f89454aa512aa4f2b4280950d24641f |
|
BLAKE2b-256 | e75b2c8c1d8039127b7658b53393188d096269d12ab7bb5b247736fdaceda271 |
Close
Hashes for cdk_lambda_layer_curl-1.0.167-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c32830f60a8e437683493599c4c79d430d9ccf8051721c51d1cbaaea98cc04c6 |
|
MD5 | fecdaaa1b0cca8d960f05c78c9d6e2db |
|
BLAKE2b-256 | 6a0b5423796fa0ec9760b7fd329343c745593f4d17282a8fd9114b8a5574368e |