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.119.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 823cb5776d03273f042d64f29d54b30500bc867cb4352fc03c0d7ac30b43c2fc |
|
MD5 | 5744cf966e15edebe5488e55d3b7b551 |
|
BLAKE2b-256 | acda321142fffc82e900d1e5440e91a89353d43eb6641d2ce3b3c37de11812cf |
Close
Hashes for cdk_lambda_layer_curl-2.0.119-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 01558f304b011f124673c93eea5afb2a0094f2c2900da1f9aaac08009e16b675 |
|
MD5 | c299bdf5c11082b3c3c8957fb4f68e3f |
|
BLAKE2b-256 | 37a3337a8cd04e26b46e947a347eaced6fae0fbd17825adeedef84b972a87578 |