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.396.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 36fc8b7b605715a2d0c4094aeea9948bd28e10eb2ca9891b6beb6cb32e990d07 |
|
MD5 | 5f39341d663fc292e6f73f37df4d51ab |
|
BLAKE2b-256 | 08a6c52d16267d88505b362c4a4e512cc6c55298c95877a93423112dddaf3edf |
Close
Hashes for cdk_lambda_layer_curl-1.0.396-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 372811734ff602463efaa206e9d7b6e6245316e1fc5caed3ec64a614c503af7f |
|
MD5 | d31807300f97635363d7df1e8328d27a |
|
BLAKE2b-256 | 02a4d6796d5435016b30d752218aec3c2fd0572f417fcb277bcd962515873cff |