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.561.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 27df560c26bce161992eef75345da44aa9dc5ddd433f6bb7e215d580d4d81bba |
|
MD5 | f24bc41a0660150482c4b960edbeff68 |
|
BLAKE2b-256 | c4eaa21ab662f57122a7093d497ba13559bb14cd4f73bee8297fb5bace2768d6 |
Close
Hashes for cdk_lambda_layer_curl-1.0.561-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e921ffe647f22666cd10cb4f2ac324e00210557b454dd68335a64bb75506615c |
|
MD5 | 14a79171e6d9ef303ee4e77dfe3f5128 |
|
BLAKE2b-256 | 4e15a1b7a37d4402854d7631df3feebd1ec408b77bb4a209f65dbc1ed10196c9 |