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.412.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | ae4f99736159cd517cbb13864f99fba76fdfeb3be6cbbd90440a8d66d11472ef |
|
MD5 | 4bb0ed353a94f26c52aa8c6335d68401 |
|
BLAKE2b-256 | 9854023cec8476b86f60b4491b69dab7a30f0f4c3481fc46d6e7893272a4a360 |
Close
Hashes for cdk_lambda_layer_curl-1.0.412-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c81a5645a37e60c721e467d49c56e2068a796ecc5c336693dab0fdf91b2afad6 |
|
MD5 | db562d83078dd1728abba921acd50fc6 |
|
BLAKE2b-256 | 9f4ed425d0426a692827807d7f857a9b57802d1970f4371e3998a65fb3185f6f |