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.464.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 35ff5737aae9c070960449ba4197ecf5fe3f4b3a72203dd8ae3b9cd4db91be03 |
|
MD5 | efb8fdec4b3f45526894edceb5d05337 |
|
BLAKE2b-256 | 56e4e44c5d64a7b850cae8337037644be3112b87829fc064c5178abbca8fcc3d |
Close
Hashes for cdk_lambda_layer_curl-2.0.464-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 36ae771b3aebbabcee928e9cc37f89a23a742a41a4b1b469ffd8c9d5c68131af |
|
MD5 | 99514a4e9bfdd2abd183450fc7844b6b |
|
BLAKE2b-256 | d92828d2816f9d1c71c7f422b7c7305fafbfdbb940df92e597a0446dbd1709e1 |