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.662.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | de06ac8f9eb4706f2464fda9ea98689d35753df69a976b51829399f1d6306f04 |
|
MD5 | 8146e64aff7b68d3fbb66ef22a577452 |
|
BLAKE2b-256 | b42f70c46a0647d382d8d85cee69011e501d52c5d2c13ea7aaea4076053e961e |
Close
Hashes for cdk_lambda_layer_curl-1.0.662-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fc1bde6822f845f667c17342fa666af114fbb0737e434719eca133f1ee089db0 |
|
MD5 | ee2bc858ef8ddd11d1016ce0cc562eca |
|
BLAKE2b-256 | 654c177a11416af78a7583e81cc11e5fb4b57210fbbbffb0dc2e8560ec5a735a |