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.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3fe7b975074f2839a11e7517c4c699a4ceefda58e1d1aa1f40ae8c409acc017e |
|
MD5 | c4abcc58f89862c72b07519ec8a7e6d2 |
|
BLAKE2b-256 | b3d9362095cea7ea974c7e0852f25bc5d03447ab33356aa07d6f3834a9240b5e |
Close
Hashes for cdk_lambda_layer_curl-2.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 67a1d975b4d4c45a85f73db6cc46bdbe5c0e4a230fe687c6cd136877dba8fb19 |
|
MD5 | 0998db322eb9cc79d4bf1f1319568092 |
|
BLAKE2b-256 | 08624141d1223c10dac4dffbbc607e221221d9adde4305629edabdbcb262ac04 |