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.54.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | bf0b473c1b4ddadd94108677bd4eb2c80ab6335d96680b6ebcc3b7732d73b773 |
|
MD5 | 996bc213744ed341ed80650d3e669da3 |
|
BLAKE2b-256 | 87140279382d726247887168c8f71da9a12d36b02dd3e134df2af66bd4253267 |
Close
Hashes for cdk_lambda_layer_curl-1.0.54-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6255e446753a01fa095fe48817b08cd9840de96733d5d89ac325e6d75ac474e1 |
|
MD5 | 3e7a8102b7f2576f1ab2e4b090a1b830 |
|
BLAKE2b-256 | ca27776033d51bd58e40fb5a4fcbea4246c8bd717a09c8755b351c077c6f1a3a |