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.624.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8f06a90a6d1e4b2019a8aeaee8846ca49acf2c9bbfa2ce476e67962f1346611f |
|
MD5 | 189f20bd7a7ab8960c70d7bab396b885 |
|
BLAKE2b-256 | f1bb7caedc284a0c0c2c8c55bdf4e1b8aa58036f8ef19a3eb4ba1ae4a2a21f1f |
Close
Hashes for cdk_lambda_layer_curl-1.0.624-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 10da5e303f2c8f47140c296741b4bad6367c659ca603de3b07f7d3606884b78d |
|
MD5 | a9f9c7ab2572f3c01489355d1145b7f8 |
|
BLAKE2b-256 | b4231427355938cf337d19249d2d258c22e208aaa3d6d41c13e44326a5adf063 |