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.112.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | fbd04dcd846e3c245f42d10bd945bbfb3bf17a946767d82e4d64a32e611891d2 |
|
MD5 | 61954b40867f46df6f32516599718d6a |
|
BLAKE2b-256 | 4bb3aedfb41cf1cbf924582bb73a4ab15de707622f3c687ec61703354df2be30 |
Close
Hashes for cdk_lambda_layer_curl-2.0.112-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8a8d9983e2eb5b38b91a8aab1e5ec1bd6502933f1aca015cce1191b67459dfb2 |
|
MD5 | 103c75c9d494384e453753d991ab3bac |
|
BLAKE2b-256 | 3845772ee88f3efefe597b2d99e087552b4efb2c4872b48da772ceea7044ecb6 |