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.814.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | e88a2368f14f1420cf53b7411f077ca39ff172d60a7ae5ce03bca73d4309b7d3 |
|
MD5 | df37ba779e8fdf994dd98aeae7da9020 |
|
BLAKE2b-256 | 6fa66718721013b82aaceb68c8598dcdf149390a9123b5e33b512d77a3085854 |
Close
Hashes for cdk_lambda_layer_curl-1.0.814-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2155352a8728e5e527193fcd122fe3543b4a405a9ce864df0d66edfe4201a470 |
|
MD5 | 2d30dc260940fe04772c4d70cdea384c |
|
BLAKE2b-256 | 20456693777743104a381872fca08185ca6049a93eb41106fe5f3bd149dac781 |