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.146.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4f4755879cd9d480d6f97cd2a0436268bb9659afaf910b97d6e55bc325ce6180 |
|
MD5 | 84487d9db0b42a771af2438f9806f578 |
|
BLAKE2b-256 | 159cce3737ba8c7c58c003df07519407a59bdf36a4791cccb85997415237e912 |
Close
Hashes for cdk_lambda_layer_curl-2.0.146-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f90a75e75b38c26d0fd8c03b1b52486cd336ac6ef2b576c92c8eea14fda6ac12 |
|
MD5 | 9702d006cf2e1b18faa665fe4c9a0d81 |
|
BLAKE2b-256 | 680b7a4c8bd432bff3ca064248bcaaa8e3372af020e0c9e6e303d08072be9c53 |