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.116.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 91d62c41b90b7d09b185d03aec480840eb4957aa46a263298e0176e25480ec35 |
|
MD5 | e511c37cd6ae5ae732c29fb4271f9cfa |
|
BLAKE2b-256 | 1b1e6cb3abafab4847ebf29ebbeccfb8fd87bddbc67e1ce20a4d05cf11581375 |
Close
Hashes for cdk_lambda_layer_curl-1.0.116-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2ee08b6ab3d507bdd286e79f4fb954a5df4e13737e08b9945247d6ca1e6fe82e |
|
MD5 | f0c15de59a4a60144aa8d0920e7ee537 |
|
BLAKE2b-256 | 16bd92befdba7922d5969a75cf2c0b860805983058122564d26b77b4a5a48ad1 |