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-1.0.4.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 336c109f9a31cc6daea3af58ea2978493ca9defe0dc7da738480e1d636c1c8df |
|
MD5 | 8a4ed8dac643f65cf1f4142159478593 |
|
BLAKE2b-256 | 22fd5665d6f1188349c0b01f187917be5cd29497059e63bbbc6134eaf7e70da7 |
Close
Hashes for cdk_lambda_layer_curl-1.0.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a7c6737ce357c7a41b981300d1e6b590303f67193055937615d81e419442a506 |
|
MD5 | 53605060cc4d8d21459fc9cd52d4b05a |
|
BLAKE2b-256 | d9d0ebe2517e0fcf0932df377e4da3ab457a33ca14faabbc656bcb7201db6d26 |