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-2.0.301.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6ccb7f04ead2349de5ccbae29c206dd374fb8fc1da815d0f06767f5dccba92ad |
|
MD5 | 68996ea331c83255f2a39bbf5978d722 |
|
BLAKE2b-256 | 46ed4b3fbc49b0cb404545cb5f214e59ffbd15fa78ca6fcb0a5956a4c050838f |
Close
Hashes for cdk_lambda_layer_curl-2.0.301-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e91a4cd6a8be8ba11d581b0d6f0e746a420bbb76cfd6332f61643e9053587be2 |
|
MD5 | 28a94fc96627f7f4d53e8745f0af9baf |
|
BLAKE2b-256 | a861c34b75ee5fc87a21b69e3d0e552c3cb74974e510dfd1ec07555cc5d5cbc6 |