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.94.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 204435d681edcad7051f807bbc96b5e2156eeb1d41a3fb4910753cb9623aa795 |
|
MD5 | b66ab72b4597d185662c5027c5d072d1 |
|
BLAKE2b-256 | 2e6157dc8bed8c5a79ed958ddbdc4beec82fcb5f594d126cae25659adb810792 |
Close
Hashes for cdk_lambda_layer_curl-1.0.94-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4cb6fbcef96149a74d5ebfede6452cc598713fe0a6ad25db5024e1afde6fc7f5 |
|
MD5 | 7de298267a71f654242814774ed3cc0a |
|
BLAKE2b-256 | 8c6a434ec93c8f10a9cd74a594f7c7c396779ec4385772c733f2f9c56aa7142b |