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.799.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 475e9ac026b628cedbe343ed915997a1bb7c51f5b34e01dd0f9d9c40a512b2f2 |
|
MD5 | 2f594d9f561dfbd7b90b2a87e43adb84 |
|
BLAKE2b-256 | 9935526d61a58503d5471e5feef52b1bc9c5bc84ac754236f47ed3604a115342 |
Close
Hashes for cdk_lambda_layer_curl-1.0.799-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | dcb390820bf6ab4de8425b0049a1983eb68886b4b428f9b52851889be5b1ebf4 |
|
MD5 | d92def43a28116e35ed846456e23b278 |
|
BLAKE2b-256 | d2179bcf5a10b649eb07c6f3129bd6bb4eff683ed8f6efd38e1fd394d76f074a |