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
File details
Details for the file cdk_lambda_layer_curl-2.0.838.tar.gz
.
File metadata
- Download URL: cdk_lambda_layer_curl-2.0.838.tar.gz
- Upload date:
- Size: 1.6 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3bc72a0675fe659cc70a7982904a8be530df83dcdbc91f89646af694a446191b |
|
MD5 | 3b36d9b441defe4f6356bc39caf981f6 |
|
BLAKE2b-256 | 897968dccbf4edf2fb95d7395ec0324a990e98329852c2e97566e16cf2856732 |
File details
Details for the file cdk_lambda_layer_curl-2.0.838-py3-none-any.whl
.
File metadata
- Download URL: cdk_lambda_layer_curl-2.0.838-py3-none-any.whl
- Upload date:
- Size: 1.6 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4af1d39cd59a739353e079d5a971bfb028da1f4fd76e8bac6260543af12559c5 |
|
MD5 | a328fad23b0134552dbfa7482f25081e |
|
BLAKE2b-256 | 63cec26d1c3e1795de9ad62ca99d8bbdcde6500404f53d27feccc7210f05bc19 |