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.713.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9e118fda2295345c03b221049d7efc822dfb33eed8e2e90068a5770918d921dd |
|
MD5 | cd8310f0e8e97cdf3df90e8d731d160f |
|
BLAKE2b-256 | 8b9e3f00cc53deb8ced118f412c7949aca53559580ab72efb7c8a278257a9a99 |
Close
Hashes for cdk_lambda_layer_curl-1.0.713-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 70c3a593c11106db3866e3dd3c29d358c0b94ab0380ebda78640b665c22798dd |
|
MD5 | 323b7e8f7a54b8244b89183885b635f5 |
|
BLAKE2b-256 | 82d21db623b01b7b34b0f9841858bd01c21526e8c40ba452ae82d89af1d7a810 |