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.587.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | b61fc2e9324db6dc62dfee49e60ccb18ffc16aa349312ce972fae5bf74c3f18f |
|
MD5 | 5176ca3502821b980411c2dc25568934 |
|
BLAKE2b-256 | 0ff6814e2a43cfcbbb4aa4d8b14869010a9ec8fde6566de3d7ba570658c0d474 |
Close
Hashes for cdk_lambda_layer_curl-2.0.587-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 013c9eb0594581498a6c10ad8b6cdad68cd0d91f4547fef34b6b3e15ffd39572 |
|
MD5 | 2c2c31a6d7786d632bf30efd80341cf1 |
|
BLAKE2b-256 | 90cfd4ab011468fca1d1bb1ee4e26777127f8f89947476b817b85b6006562487 |