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.342.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | aa2db8186e2de5dee2aca993a8b37270f5159a7404a09ef958f00c49b261da1c |
|
MD5 | 206696afec06e3b920f22e88b9f9f62a |
|
BLAKE2b-256 | 820d2e8ce39ae78c66d41499c60be8be0766bc94b10f2c0a3a8d9499db73b6a2 |
Close
Hashes for cdk_lambda_layer_curl-1.0.342-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e667e587dd82956164281c81651c9d0a581065d2e6ccc624c83db2079c614a85 |
|
MD5 | f18b6566ae60d776a3fb429659a0d353 |
|
BLAKE2b-256 | 5d22498c2ebc05538cd6dc89dcc1805e5e9f29c47e55ed77a285fd5258c4a3c8 |