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.48.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 540955481e3871517ad6b93808a495ebef6be01f894d6ac88abb61695c7c48a8 |
|
MD5 | 3ad1e2a08cca8ece5a9d2803d5f9e874 |
|
BLAKE2b-256 | 8cf59f824432657f931ca497e81329fd537acbcab45fb9d8604860b0a8c6fa85 |
Close
Hashes for cdk_lambda_layer_curl-2.0.48-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c728db54fe6bc7a8e12590db169fcc42deb0ca9f994ff5d095e3cba38f206cb0 |
|
MD5 | eea91091a4fc8e67b981b151957fe84e |
|
BLAKE2b-256 | d8de404ac3e94509d2f257e814625060b0de00b16dd9c6e7e568b3a47635c146 |