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-2.0.478.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 49bdc1936738a70737967b826b084d0b78e95314bb9a1e9ec2faf0a53b988f8b |
|
MD5 | 28f0fe656aeae4394787bef8c0885491 |
|
BLAKE2b-256 | c3ab4d901c8bd6321033a275e245b1a402ddcca0fb8f9e71d7829eb1177a420f |
Close
Hashes for cdk_lambda_layer_curl-2.0.478-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ef3c284049edb04f2f3304eec84412c169078f4a7bba09ee60a814af251c2073 |
|
MD5 | 805a551e454f6adbad489add64030f45 |
|
BLAKE2b-256 | 3be01e169052a4663a6dbd05d09ead3e9648a42472c345c88a8f5290dc2d7384 |