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.34.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 700a469fa679ec6f5bc274a50850bc99b82c50280275ed4912d717ae84aade1a |
|
MD5 | 4d7f37fbbb6634623e890ce36444ef3b |
|
BLAKE2b-256 | 95cc8ed86d25d6fb46494fa607c58bd5aeed734db886258bb44747dbdb595565 |
Close
Hashes for cdk_lambda_layer_curl-1.0.34-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7ae7e25a40ef933f897e09cd7523847593a19bf7b68afda079a259d2396b3afe |
|
MD5 | c89a0e711920a39af729980d9efaecaa |
|
BLAKE2b-256 | f8ae9ce72d6417888e20d6e47c5bef36df083e3a7c965c96fa77772329613562 |