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.589.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5ccce3fb9a0fc1041c952d6ae9a7aa11aa7197a7dada066d5b08b2ea2dc79d12 |
|
MD5 | 66634fc3d03c744e73c52d740151cd4c |
|
BLAKE2b-256 | 552dab2c8c43b64b8670156bf138ba4c2df0c10f6992efc6f44339e75ee3c4ae |
Close
Hashes for cdk_lambda_layer_curl-1.0.589-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b5bd53e966eb1c58590d40a9aec07c58662a92439559d41123644aeaee1cd688 |
|
MD5 | e5b2e3ff4bbe8899737948da0bba9858 |
|
BLAKE2b-256 | e87cc50b7bd156b9957f5f94facb78088e300e8ea2554c3439689036b644f826 |