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.45.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | a44759118964a5949051781a1d6c4271887c7dd7451e904217558c51617235c9 |
|
MD5 | a954168a576ad5028b5d45e4e58cec41 |
|
BLAKE2b-256 | ff584c065f4c96b96d7fee0fc029f22f87a57b4ed8b43a4a765750564c4e787b |
Close
Hashes for cdk_lambda_layer_curl-1.0.45-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b576a7cfd47df83965589c7320d8d5a8b8d340583058934265ff5f30ba448057 |
|
MD5 | 8b454ad58b5cb7498c8a7cbcc4499f9a |
|
BLAKE2b-256 | 5fb0a2eff84dbe3f3963921e196b7ab2d51fb14abad1237fc71e7cf5b5236cea |