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.291.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | c3d2f4590c104abfb3164ac5ad807511a748cd4ac5b9421315c1ffe3dfb12dbe |
|
MD5 | cb7d60c15c4541478868f903531fdec2 |
|
BLAKE2b-256 | 4e18e7fd2ae03a0a0422dc14fd9e2a6b57ad00e7b437ec3de9a8c2e0d27d64de |
Close
Hashes for cdk_lambda_layer_curl-1.0.291-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d7c8f8c75e4f46bb8e70d17c2e6b30eb0edb84caedc60f85885e8dace2e4f111 |
|
MD5 | babb5bca028504c0fc055dafa1baa273 |
|
BLAKE2b-256 | 207345569813d94cc7e2dd3fd18185a5f29c06c8d33481104e75cb33cf58704a |