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.170.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0f65c57776c4293a9ea812a1724c3a82a8d1ce16fe9ccd8dc3192f8db88e9c9e |
|
MD5 | aadaf07589f2f72763583b2cd52ce9be |
|
BLAKE2b-256 | 950a02c388f578d6c2d6ed9b920cbe0b1de2efa1ea4726b5fb2a6a53f348770f |
Close
Hashes for cdk_lambda_layer_curl-1.0.170-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | afd5c5e2c345c762465270f6069b3a5cd08d1c3b412f9fe361e8f5d94d8f1280 |
|
MD5 | cdbe914cc5202766d97d4ebb1174bedc |
|
BLAKE2b-256 | b608b1fbe37c48b2abf9f0ee3a2fa190aecb983f1e7bf0308b6e9ac446bcb6dd |