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.135.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0465d89b8a92961f1e40bddd23c905d77fc8276495f76a41122ccffa24b0f313 |
|
MD5 | 89e791e4bcc6cd696a3b4bf8c4d9db80 |
|
BLAKE2b-256 | 89031f112d22922e8b8813cb4a410183bbe13bb24a60603a858a6bdf125a468e |
Close
Hashes for cdk_lambda_layer_curl-2.0.135-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1314439f4e5412574cf47afe7c987b65639e4a706123d37655c23a3e447aff62 |
|
MD5 | 023775c1a19c0ae10f5c4df376fbf86a |
|
BLAKE2b-256 | 506437fd398830ed7276f706f77acde1718f1e67b84f74b486bee2a4fe123fdd |