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.133.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2853d4318ac90b7991c778a908278f49cee23cfb1a2d7c870fd9ea0ee3565f10 |
|
MD5 | 29804fbaa6a7e58297864eae3df48d67 |
|
BLAKE2b-256 | e7ef0c66ff3a516e92c407d00dab7044d943a7cf221ea7c6f3596b249dcff4f9 |
Close
Hashes for cdk_lambda_layer_curl-1.0.133-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 247e978518135b8e2a3d23ac50ebae190a55e5c66b6f33807bdab63b55f68f20 |
|
MD5 | 82058f740103db6802e43629823e65f3 |
|
BLAKE2b-256 | 3f1053766831ccc68f0df40748d2b56f68d86db4348a0fc289167e013a06485e |