For lambda layer use curl
Project description
AWS Lambda Layer with curl
Usage:
# Example automatically generated from non-compiling source. May contain errors.
// 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'));
# Example automatically generated from non-compiling source. May contain errors.
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.6.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | b3a4f0a338a92a2fc2f4db2622e18b05379c7633e7fb8eedbaae8bc0b21468ce |
|
MD5 | b79540a04fb9fdd2bcdbb7aed1e4ca50 |
|
BLAKE2b-256 | 7508afd770b5f5fb7df2f6cddee16da89b2592890665e7d5dc1f4887e338b04b |
Close
Hashes for cdk_lambda_layer_curl-2.0.6-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bcc16aa755b1afb3a7c9ce3acf2d584010b85560f9497cbfcc4cda538b3ba83c |
|
MD5 | 1c47db35411ca3e7fe1b8042e1176bb9 |
|
BLAKE2b-256 | 37599a5b0f0b6964179fc26d404634512be3a790d6e0a1a4ebd75b980d722a72 |