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.369.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | ac04883c66d3c0565d2767937c8df64d1e7b4dbbff8af4d511f6e0c5a1589782 |
|
MD5 | ea732dc4630bece83895e95d751f43f6 |
|
BLAKE2b-256 | b529d8d14d1bce89d26ccc53757bf6270f82afed62f598badbaa8921ad53e595 |
Close
Hashes for cdk_lambda_layer_curl-1.0.369-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5582819e555b986db5f8c1a499d0754d96242fbe0bc76458f648b40729bef3b0 |
|
MD5 | 86259ab1e23db385a38ae35576ae4121 |
|
BLAKE2b-256 | bd30c7edca064d06d3983f8aea2f803a802857173e57156d6d149d01a148aafe |