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.52.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9c44ddc1302ffafe416d4daf5dd32849c94b3f476065ed9812f1e7b9a6a98653 |
|
MD5 | 1b4690d48e875cbc78627b3d1c946bdb |
|
BLAKE2b-256 | ed6da5706d1e6be310f75fce9f195edd2fc77597b2a9825560b94ac51815bfb6 |
Close
Hashes for cdk_lambda_layer_curl-1.0.52-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ad858dadbe99f506cee2a8f2b6fbdb09f3b6b89af60b4421dd0f0cbcd67b67db |
|
MD5 | f862f291a641937b8886b4af7d37daed |
|
BLAKE2b-256 | 0f50efff6c7b3ebdb47d34264c20a3acf8372510adb56c2f36253ddbde444e78 |