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.303.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | e8167c442ceff882828230e3ca8e6c3d6db79da0e0fe888339bf0b387d432dee |
|
MD5 | 28182900993a10172f64ea0889d0a73a |
|
BLAKE2b-256 | fec00709e8fce64f88eda367bc1b46eb20965f14f58566806409002e605a060b |
Close
Hashes for cdk_lambda_layer_curl-1.0.303-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f1efe1980629bcb8f3bc1cec61596aba3260e1f9ce68b32b6a42745a9291a4b8 |
|
MD5 | f23b389fa244a2092433c4dab3e78d5e |
|
BLAKE2b-256 | 96bcbf27ec5d5af20fb6fdd92bc3fe932f92fabf069ea4801a4a10ce9872d50d |