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.408.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 297f6294982e5033eccf7791dd6555523eebd05b8420efa0423d1de18e5d79fa |
|
MD5 | 9623361234830b4976e8edb8191c451e |
|
BLAKE2b-256 | 143586c4ed7e9399c44072a3598ac707a9e2a5e4a13696716f8a6d30eb4b874f |
Close
Hashes for cdk_lambda_layer_curl-1.0.408-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3f92185b72885fa040cfdb617f54e80078ea106efdcf466dffb7616fdd44623c |
|
MD5 | 93adb87c8294d0de8941f87d52974740 |
|
BLAKE2b-256 | d188df44956086db0b2508ab9b4c15a3a73fadf1bc11706bd68897cd32db5dcd |