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.325.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | a39fe4050539f6713958404b1c9ab65e8339e1d70ce5b249a8c75ec17effaca6 |
|
MD5 | 7bb02dca8e16a05169eca59ee5e64712 |
|
BLAKE2b-256 | 366644afc73687525b27d9a6e3e2291b913c36752bfb549cbde7dd7a99ad9d7c |
Close
Hashes for cdk_lambda_layer_curl-2.0.325-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5190c0178dfeeb467322000de8a55ef89a368010d2e41cfd4942284333c04591 |
|
MD5 | 2029be259e369a9e0f7c04bcdef2000f |
|
BLAKE2b-256 | 3a6d364b5a3bfe74fc40d045a0c71b4e3992cb318fe80089a142f72a313b2a73 |