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.25.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | a262774687ed97429a8b86e58afb012956e6deeafd948c5992a7fd87df4eceae |
|
MD5 | 0de02e944d46663bdf8a92290e4b83a1 |
|
BLAKE2b-256 | 2c0343a9811acce94ffebf5097f8de5c2b5dd2250aa65152a6ddc78f52a2d236 |
Close
Hashes for cdk_lambda_layer_curl-2.0.25-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d88d15ceda14a1954a2aae0baed0fab97ced930a3b15e5848f0f5f831c536e8e |
|
MD5 | ae14ea0dcea6a39091d62aaa27d8dfca |
|
BLAKE2b-256 | 6528acb02f9b3cb5f0aa429dca319e39fcb5de5b73edd828771018c028ce695f |