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.617.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f170bc12141dae589545921aaa9682a276c17dfa17f0f2b303eb6b7ae1db953f |
|
MD5 | 705d0bb327a02b986932f038ce2d59c5 |
|
BLAKE2b-256 | 0b27c75b9ffa649ac3b246f7e9928faf87ae145e092afa7c46a6f4ce4cc09ec7 |
Close
Hashes for cdk_lambda_layer_curl-1.0.617-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1dc37d5fff5ca886cc6e1ffb9eb0dd34fdb644c47714744d050a7401506c3abc |
|
MD5 | 1447b76c45191b8a8172175ea0f401af |
|
BLAKE2b-256 | 246678b375275400c3e9091f2ac03b3d71489c9a8651d051edc9b76b9e43457c |