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.483.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1415fa93e92fa047bb6171708dc9b142d222b3b96211fdb4abd8b061c62d6107 |
|
MD5 | 7e909a03784f1bf9c7bb2932b5b80a65 |
|
BLAKE2b-256 | 0f6fd744f3d1d1e6d6569a53f413567bacafd18beafe8befcba3659bde21bfae |
Close
Hashes for cdk_lambda_layer_curl-1.0.483-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cad10221771f8565a5c21e9d32befb1727c4490542e3ff464394839a35858caf |
|
MD5 | 634673e65ec02c729874cff3d99da87e |
|
BLAKE2b-256 | 766308d41005c843530bf6ab8cda392ceb1228030004944c4ae75576272d1daa |