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.760.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 76c82fdfe48ff9b0f689e02f7fa743e071fbaa80ba0ae6b4f81974e1c0e9a618 |
|
MD5 | 20c4c56fe57c64fd62d4c65e18438b9a |
|
BLAKE2b-256 | 84b0688759704a1101b2cd434599e93f602250bfa4c34758c30725a2b1fdcecd |
Close
Hashes for cdk_lambda_layer_curl-1.0.760-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0e653e3c31b9469073be37a97dc8aff49ff384e0800a721e7ff872024a433723 |
|
MD5 | 92629a91ecf6da6374328fe23098582b |
|
BLAKE2b-256 | fc49e5b8728323dc7679d1c6d4c7ed9e8cccb4bc7f9facac416a175904c3f7be |