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.527.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1c6b5b02ff2affa0ca12235903bf6576a29063eabdb346e37e0d979e70946a07 |
|
MD5 | f4fb12e6c9e3babe57d3492eb0540182 |
|
BLAKE2b-256 | 410b020e18bedacdc0070b988d9408c463514e2d20f5f08d62ac533efa53ca46 |
Close
Hashes for cdk_lambda_layer_curl-1.0.527-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d65043f0936761afd9a4f58bc8edd885840b7bb08f8771d375eb4e3c76b7c28d |
|
MD5 | 4c27be9d591a7b4d694880412ac7ba8e |
|
BLAKE2b-256 | cff8255b29e7e56d73c0aacb421ff874adaa17b3a32bd51ad00e1d5a97ee0b73 |