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-1.0.693.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2a87f902c0e39691c753239471141ff076d020dcfbe0a2eb8ac11aacb742b91c |
|
MD5 | ac032cf113baf7661425bfab2e27a927 |
|
BLAKE2b-256 | c13eac9dae5835e944bd64d3110581d799be37081fc6ae37b7bdcc987f9242bb |
Close
Hashes for cdk_lambda_layer_curl-1.0.693-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d3f163013d6603764f0de558258549159e6c8f7b983b698ded3d2f793c775b9f |
|
MD5 | 87d2b69ffe8eabe5c5bdb0a53da932c6 |
|
BLAKE2b-256 | 1f9dc9dbba8f9f93e358aa4df06f96c86e738197f3af81d6d9f9d5b658a819f4 |