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.377.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3ea94cf009bafd0e958d76a15641ff0d53833f4f21dd166d93a23ce0205138a8 |
|
MD5 | 23325f1e77d9cffe7140db56bea36bbd |
|
BLAKE2b-256 | aaa1dd77a24b01b3824972ac22671bd3009260ebf3779dbaa361e2ce3d12c3c8 |
Close
Hashes for cdk_lambda_layer_curl-2.0.377-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ec7da7e6d689b5f2debf15652b16e1ea62c3cc51793da1cbfd06c6a4a2edb267 |
|
MD5 | 30746bad9a7f44e5ab7316d8bae44dd7 |
|
BLAKE2b-256 | ebf24e72701e313858e63834e49da5019a01c50440226e3ca71946a0a9233a83 |