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.687.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 16b3cc4c5a88f8320eca47bc4586cf2d49e4eb0db40177762f3a89d1466dc6d5 |
|
MD5 | 64cfd6ceef1c755f93450b837bd3b8cc |
|
BLAKE2b-256 | 11db87b4aadbd4ef8d3db0cb786f5cc3db66d671360380c3e6278c135184234c |
Close
Hashes for cdk_lambda_layer_curl-2.0.687-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6170bd321e7321f34eda71d1bf2296182f6a9c43a26fc42d267eb3b46830e03a |
|
MD5 | 6b7db8e32bbc233e9b1d32214c758756 |
|
BLAKE2b-256 | eb124279f7437cfa1d1cf11aedc760b12dba09bbef8df751d91566f385a8f41a |