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.522.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | aacc713c5b8faaa1f871925177dfffa39b3736dcc48c9cad248adee605e85ef5 |
|
MD5 | f50b0be2e8f6f6266342a477d92ce8bb |
|
BLAKE2b-256 | d83a19c7e846926c26e2bbd97e941387083c02ba7714920a903ffb806c06cc5a |
Close
Hashes for cdk_lambda_layer_curl-2.0.522-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b0e90a6a4bc8346b737a79dc1fe8dd7cd40dbf613310ad55592bedd5ed837944 |
|
MD5 | d8cac1a3fb2af5d5f6613fffb2e9d815 |
|
BLAKE2b-256 | 0cdd44ad63076faae3360f6acf57cc0e02c472ddf2cc90735a60a7fcdd1ec57c |