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.602.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | b5e5c6661febd85cbc6a3a9439f07e052eb2645683d1b5482ec81b90564749ad |
|
MD5 | 086388c681c1e1d01b74691c6ece10e4 |
|
BLAKE2b-256 | baac843ac944dd5a103f793daab44e449962f48cf9307064cafd3dcdc2210944 |
Close
Hashes for cdk_lambda_layer_curl-2.0.602-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 563e23a852def0fb88adbc686cd06cb2d3aadae00ea46464b483b886ed5353df |
|
MD5 | 0a88424c1457ca6a7eb9dd9e4886bec0 |
|
BLAKE2b-256 | 90a6c2700d8f4b60652e9d1c5b56cd65f8f56fe8141628c03beee1e94bb1d512 |