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-2.0.757.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9e20cd6b8b00e1221d91dbe4d2b71a655d0d5395194ae068a4e717ede35a3225 |
|
MD5 | 5bcfd533a47510bf2baf607fab4e9b6e |
|
BLAKE2b-256 | 9791484aed2f16d2caf857136d675cb4018a7e3fbf29902f395b7b8cc88c5048 |
Close
Hashes for cdk_lambda_layer_curl-2.0.757-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3b3aad0da011d86fbf2dee6bce9f87e74e93e90835e912af9e6544a8db5d5037 |
|
MD5 | 45bc0e57731f1d02064796a63abacab3 |
|
BLAKE2b-256 | 5e6b15e8b14bfb531b82e23617d89c4cae55918c3798df6c8d7656f81cc5465b |