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.436.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7308cc69fe57a44f53d316f49dbef42dad864c2a8d4161d4204fb833d6ad0ad3 |
|
MD5 | 797ba12d34ef03571bfada273a881c60 |
|
BLAKE2b-256 | c88130765003287c8c5ffd436dd137ca71eef68dedc045fba00467127f78de43 |
Close
Hashes for cdk_lambda_layer_curl-1.0.436-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f6f382feada8e211aa1960eb94be6bf04c60f6e08e982419a083fca5abb6981e |
|
MD5 | 07615ef735761a56756555a898426a99 |
|
BLAKE2b-256 | fa9d9dae4d7b7967fcdf93b55e22fbe17cca4754cbe63b7ba9534c66b05278a7 |