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.750.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 59312ee803a6e983f8b9d9daad7744936935e6b0c6de086078dd8f860aa37a63 |
|
MD5 | 2cfa736f70c736014d040daf61241501 |
|
BLAKE2b-256 | ea1479921e1e09cdfbdc03dafdf0e437c854df540d4b8e53d06b9c3fc7a2d142 |
Close
Hashes for cdk_lambda_layer_curl-2.0.750-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 10f17a582d32b3fa2b5773fe20ddeb33e14047864a1a51adca69ecf57c11d118 |
|
MD5 | 29102bff74bd83d85ef8e01c727927b5 |
|
BLAKE2b-256 | f8de3c18a940485ad4fb872f8feddcdf56ade9412505407c7ee6752f6c7008bd |