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.735.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | aea803523ac7a91ee2fc05ed75828aa72d04b973c1beea93f9623b4a135a2eb0 |
|
MD5 | 856ad00dab803be0acae7988d7e4fd49 |
|
BLAKE2b-256 | 16a4b8ae62a69803a30182d360d97f6a887d3bb932c8b3e9aefc6511d380fd9d |
Close
Hashes for cdk_lambda_layer_curl-2.0.735-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 85b1b56bb678974d5239c9e996b2937093f11a8b6594dcc153e6b0bdfc432759 |
|
MD5 | 34e7ab1080e4896cb74c578757dd5c91 |
|
BLAKE2b-256 | 83e1971d490d56aabab72ef96e995ed9c3e85f5cb5ef7af6435f564031329057 |