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.159.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f0dadd947ded41881c2b63bf8005e0fecaee3d9c88c60dccc864bce6be60181c |
|
MD5 | 3b45566f5d7ab842da759be65fa57688 |
|
BLAKE2b-256 | 3addfb8141a3f4196d3d14a5ae890e9a694d4a91881da3872fb1d8f1705aeeab |
Close
Hashes for cdk_lambda_layer_curl-2.0.159-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f1eeb59ef1bbb7db665cccf8e6faaf54a008bce2de2c677fb0a135dada88fb8c |
|
MD5 | 34df40b9244e9cc14255d657fc5bad66 |
|
BLAKE2b-256 | 0247603073a1593ca2b162937b13933e453d10c834a5357233505caa22508791 |