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.865.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4dec836775650d1d1cb70daa1b735fafecf5fa556666e1a1d2d8429ee838f76a |
|
MD5 | a7bb74b62854ab9870b0141105089eda |
|
BLAKE2b-256 | 30896831d08a0a3eaf7beffb5fd6cf8958f48b7aee21c934cb73900bcbd38f8c |
Close
Hashes for cdk_lambda_layer_curl-1.0.865-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8913c9acb6b24154cf861c3ee76c06e8e0c2291fb8472fc00bfbef0e25bc327e |
|
MD5 | 8a42879116bee3f2c2ae42133910c5bb |
|
BLAKE2b-256 | c3d3b7d980ee1b9efd6d10ff50c4eadb03d53e1eed74c2bde21b6318af09683c |