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-2.0.422.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 35e120f4211bc339d83d4b895a8346bd1f6f45fd9f37ed67e5304a2f1aaef6c8 |
|
MD5 | 7713c0d9b24b1dea76747ae409146aec |
|
BLAKE2b-256 | f1a43a715a3bfcca820bfe832d0db53ba9024c41cabc8b30398fc50b5d584bb7 |
Close
Hashes for cdk_lambda_layer_curl-2.0.422-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ba366bce12e8ad544b944f302e0b572597afbc70dfe06e23891e884bbb3e06e8 |
|
MD5 | 932e8d27f405805b02bdcb714e314cc4 |
|
BLAKE2b-256 | ef9c0a73b1dfea05b2befe1d122e70667b0a6017e169fd2dd04382bfd8645264 |