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.22.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0ffabeec2ce7152a52117d5359f6302188f05315c9494326e5ffbe19f11fd0dc |
|
MD5 | cf236e475ab39496bc423fcbca2c96e1 |
|
BLAKE2b-256 | d229e1682b3a0c7203db2d6b55060b4751346c534929f053f019ee1310f54a1f |
Close
Hashes for cdk_lambda_layer_curl-1.0.22-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f1e1032e2502a4f9afd4e0d708e4b2b9707840863a1d228ed53d07260cface04 |
|
MD5 | 3e023ab688a3737b39053b4c4c1100fb |
|
BLAKE2b-256 | deff82c21a5c7ba53fa9b4ca84d65227fb373c088cd3afcb903ad42999145c8a |