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.155.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 387ad5da57a42738847711d976a17f6020dd2ef5a454696bec5738f7ee7511e2 |
|
MD5 | 1ba35031b1dded8a1c55671845d49fc1 |
|
BLAKE2b-256 | 8df806e61aa139e4afb7edb5683bbf8d47eedf553936d898e8aa9cef941d4b4a |
Close
Hashes for cdk_lambda_layer_curl-1.0.155-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f5006253ac278a911fdb62f1fcb9d6fdafc57f143a1b072f7bdb20e586927d2f |
|
MD5 | 5cbfbc07490ad1897b04738b88af5459 |
|
BLAKE2b-256 | 4e818d5ec2d09a98d1de60b6974e52dc26cbe52be50a5bbb6022d03342b35395 |