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.715.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 52d39585d271d4d88f3c59af954d1df499567d0cee585134c9375cce4e71e190 |
|
MD5 | 0bd358b0b5fb6c05c7c1826966fdc717 |
|
BLAKE2b-256 | 38824829d12a1fa07be3c2d6e287b95bf1a77e6e9ea5a9bd112439691fcf626a |
Close
Hashes for cdk_lambda_layer_curl-1.0.715-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2bf1a3126aab5286769c8800671a996b2c79c6b9bb3283609ff8fb822f150c6b |
|
MD5 | 140a729f567df320228aec1faab06617 |
|
BLAKE2b-256 | 86a2c3d522625245022c675f1c3ebdd94fe6bd55abb1edfdedbb8fd82d365bc4 |