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.602.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 87a20f7c11358cbaa6bfd0eea23cfddbbcf73d393e9e20b4413e26dbb913c7a6 |
|
MD5 | 53a8b697360ea7a950216cd782abc27f |
|
BLAKE2b-256 | 21625ad86a2393c29cb2b24dba1f8b0de8575e9d50b7180351acf89678da5120 |
Close
Hashes for cdk_lambda_layer_curl-1.0.602-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 79e890fcea692616cf9c67b48601b4143b978085e7992799e8525173e6253a73 |
|
MD5 | c82fe7c22d3b975a2e0a06686abb28ba |
|
BLAKE2b-256 | abb0bb57dadd68bb6e7f6d05123ecf5fb302151260545fcbd9c55ad4fdee9511 |