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.671.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | a97ec709b1cf239404667e4a1de049bf2072c949c61e51bff95b59ed2e2b9065 |
|
MD5 | e28608e4fab65c957d2e2427ff57e1fa |
|
BLAKE2b-256 | 4c4aaa4e6ed694f705532be882761965d52ce99069cb5d1975af5f0109f89a5e |
Close
Hashes for cdk_lambda_layer_curl-2.0.671-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d0d594da95674d1b82272b24a60df417210774f7aea0a4a4be9997a7db4a33d3 |
|
MD5 | 90a40853ac3bf62f9c6f14d21c8ac0a6 |
|
BLAKE2b-256 | 0f3f826fb32c41d5cb9c43a73e3c9fdc8a615adc499828bd755866bec0138d36 |