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.356.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1014654a2eda881bddea2e54769b0d4169b62726bec89389b0ec50992a23de8b |
|
MD5 | e307dabc7836cda05751128d9cd8b75f |
|
BLAKE2b-256 | 7ed90cf524cf79dd94b8d3d43b61ba4675ebff9691e75106193088ae51c012c8 |
Close
Hashes for cdk_lambda_layer_curl-1.0.356-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e2c082262c632e3939dcbb8c34b572a582da4f8467720a65333371797e01a40d |
|
MD5 | ba94a22a87aa90f186c617fa4fcf4ffe |
|
BLAKE2b-256 | 754d5a1ddcee3e1f1251fb0f0a5c4dc7bbd2312e67b09c0b2275eb50779a1f66 |