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-0.0.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | b6900dfb1b08433380d906523d428d6bb8309bf0b6182e27b915222ffd6b8778 |
|
MD5 | cbbbd22e9a8ed1f1efc9da99648f107d |
|
BLAKE2b-256 | 823c6153d3742e971574261ee21ad2182c62acf58c1589f1a7e1a493d539be53 |
Close
Hashes for cdk_lambda_layer_curl-0.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fca1e6af17b7d1ee0043f2fc27bc1ef39d34d204f43f14c61f53ec910ba5299c |
|
MD5 | 3fa91af9d8f7be6dc61a86bccaa5b61e |
|
BLAKE2b-256 | 61b4497eeca1a8525cf0579acd954ce55da81f3cb27cf7332c8d73aab1008b15 |