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.583.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | fb4e50f9d2a2e28a5401eb570a7c9dbd084ba0f9b39240ff2a9f57805366deaa |
|
MD5 | 17d5073a401924e9c23e7de63431eda5 |
|
BLAKE2b-256 | dfa6aa9ac79e29c59d3bba0c0f2506352460e375db83b5565d9de5c13b12e1cf |
Close
Hashes for cdk_lambda_layer_curl-2.0.583-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1599421e56b9e575f95c0aeb8bda62157989259af22e937ac800da3ab0851f7f |
|
MD5 | 40e82800fd9707b5dd4415637c2c6ae0 |
|
BLAKE2b-256 | fd356c4c169e3d7a38de0acdd43449f68c74208a23af83d7fbe9854d5982085e |