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.237.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 05594ed206346262ed36d4e84a345e310470af3d47450faad3cc41bae833072d |
|
MD5 | 3dea7e68282efd33068dacfaf572bb07 |
|
BLAKE2b-256 | 296090410162d0c721cc5bb31e15de5b85e479c8a3e1ab81fac62408e48f9979 |
Close
Hashes for cdk_lambda_layer_curl-1.0.237-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1e33e49d6360665c71d0dc8d02f9df63098a9490d3090fab385b2e4a85b99039 |
|
MD5 | 4266823ad9803345ddfa178912d05b08 |
|
BLAKE2b-256 | a12b05b4a15bdc4affc7f345b2194ec70c930999d1a8ffd76fafcaf915c31c7b |