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.181.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 430e91e21385c3a56464604585743f163c9ea7b17e30800ad2a49300093acc32 |
|
MD5 | c8a2dea4361c2527bdaa1bce4126cc22 |
|
BLAKE2b-256 | edbce8cfdff4e293871a9028ffda110998d57427b3ab83b68e071ca62a51f72b |
Close
Hashes for cdk_lambda_layer_curl-2.0.181-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 850a6401b5dcff36cc7b6ce7844afdafdf9038aaac0d9f5f50d2e74423621f2a |
|
MD5 | 0a6a0875996fe17d37e7d1ca7d2c5f44 |
|
BLAKE2b-256 | 7d5a05fde3dc050e0aacfbe807bcac68b0f98b44fa2a8ff5d8f741854007c962 |