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-1.0.474.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9954bc4a2437da6bb43c3e1929446fc1c575936398bb133d04eeea451e54d238 |
|
MD5 | 19b1f88214189d0a5a7a9fa6ad4238fc |
|
BLAKE2b-256 | 186d4b14fb2f73bab1f91195abcbcdb1643efe384e45a9b0cbadfab8cd79ec74 |
Close
Hashes for cdk_lambda_layer_curl-1.0.474-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9db8fec627da80f8f677cfe1dd6644f47f05daf82bb91fe3a5a7385294981d4a |
|
MD5 | df061115f8f05f58c25fc2b18fcf14d6 |
|
BLAKE2b-256 | b26c3297e0725f601b7fae7186d1555ecadc87691ad5196ae88909fd20938e88 |