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.374.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f5d15c28c8ae2fc6b29dc1c2ed34c88773933b794dfe347088398ff18a47ae62 |
|
MD5 | d743cf2822abb96aff0d4a8e28f44bb1 |
|
BLAKE2b-256 | 1ea29eacb59343853b3bfc87a9a85900bd45f9587efde2d396b90ecb958d2120 |
Close
Hashes for cdk_lambda_layer_curl-1.0.374-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 262a1ccdb6381d7b801490b39ab678f638cec0b5b7ee984e8c3a499bd7f9a3d2 |
|
MD5 | f2d1efd64f11d28bbe4df3808ba6ebcc |
|
BLAKE2b-256 | 1040178a51794554bb103c3c2b60d451242b97f3a2b70eac355748e4f8774608 |