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.96.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | da420bb5825f6c624d08c707e2f6e5bd1bf16675d487b3b2bad567fe3f9ead56 |
|
MD5 | 2eb28fa3c99be41e01f929c9cdebdb4e |
|
BLAKE2b-256 | 4b481d92c98567c3b159034d6e50fd622b2512b54f77f8542f1f1f3a6e145549 |
Close
Hashes for cdk_lambda_layer_curl-1.0.96-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0a8ef256b1816422478a4a7d0606684d21ecbb09a187bf5eff96199342855436 |
|
MD5 | 37e5e5d4ba761713856c2bf2cdc8837d |
|
BLAKE2b-256 | f25959391a1ab13b815a24082014e3b112bd3662e14b441a3ca1734f0f657b56 |