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.477.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 08a4e5c7fe93ee4ac8ba1f27bf4666bf41baea3dce277d9fa6c806822627de53 |
|
MD5 | 08bde7458ce41c81cb585957caaca6fb |
|
BLAKE2b-256 | 8a551dfead4f6bdb96693aa689dc2c5ac20e65160a7db214d416aeef03648dd2 |
Close
Hashes for cdk_lambda_layer_curl-1.0.477-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 823e86f6ebeae1460aa102cfee3c51dab40a200f4a8bae653734f3efe4a72d70 |
|
MD5 | 8fedca0f41e46b81c94d2a55a9ce3db0 |
|
BLAKE2b-256 | 27b3e27a7607a1740b89a54b95c16d0c0da512c77c2a29e8d930802bd52a353e |