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.737.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 76b8deb216ec9d6f83b6fb1fcf245a306e2919564d4e485a8417ed0db83564f9 |
|
MD5 | f886e40ac41715575a590107c135ce05 |
|
BLAKE2b-256 | f7b1a9ce76fb8a8d69339ba8114304bf0a049d048e61202dfd2768245128b2b7 |
Close
Hashes for cdk_lambda_layer_curl-2.0.737-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 678b59d6737f1a82d9b5ef346b82ed51a0ef6106b3039e1f8424ab932e3b6b40 |
|
MD5 | d5a215b76bd90de7c038709de9d55363 |
|
BLAKE2b-256 | 138c535f0b248772b8a45f2093ed21569c6b9ed3b5352b80701abe308451e0cc |