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.635.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8bb79dfa7d92d94cf231588372caf2fd9d1b2edd1532b9858803b22b54cbf36e |
|
MD5 | 4b6420006d3d55791cc9d8fe4e07824a |
|
BLAKE2b-256 | 5e0d195dec26547a8b9b620bbccc3b84ba004ff17502e914d4903312c655d333 |
Close
Hashes for cdk_lambda_layer_curl-2.0.635-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9f3b478f2cbb6ee7545ef79c05c16a9c0f923c8a6db85ed14ca23506c0bc9d84 |
|
MD5 | 23045e9efcab8048477da65361246c84 |
|
BLAKE2b-256 | a9dc86469421182f3cbc02a96d06c7d3bdb4943b573af4ed0c711725df983e03 |