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.313.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5e6d3c51b0c3c1d1a66c55b00386e66d12d4a420d98878a9afe3a6105df3df41 |
|
MD5 | 49b1c5dddaee5b1c1b4946c80f29fa33 |
|
BLAKE2b-256 | c24593f8087551deb69fcb2114feb539eb0a05c536c9df49481ed5cfb517e814 |
Close
Hashes for cdk_lambda_layer_curl-1.0.313-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5d4361314c5f3816358fdd9aa3c368af4998d085d8e0d170aa4da89b049de3d9 |
|
MD5 | 69bfbfee7e39bafc831550a627ed07e5 |
|
BLAKE2b-256 | ec4f3cd6d463f016fecb0014a19e45a2759a597fb13d5e67b6e5445e82481e7d |