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.7.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | a6aa9b65c6292e211558a89446d0283a7e90fd8eb6f821c0fa8c849180d273e6 |
|
MD5 | 06cdb84510f50479057c825be93b8485 |
|
BLAKE2b-256 | 74cc5ed4b73ca6df1f709bd8a53c5335f481019ddf512f06c2b6bbdbb1c824d0 |
Close
Hashes for cdk_lambda_layer_curl-2.0.7-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9663a985b3070a944cbdfc85f871af151f4a1246d74a86d277f5dc1ec5752ddb |
|
MD5 | e3b057afa950cf4eb220eb25522fa336 |
|
BLAKE2b-256 | 72e5379072bb4046c0b4b053f242c7ab4127cf72c9570449fe01c2a1f79eebd8 |