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.151.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | be6c9ddf07c0b196bdcb5569ee50e05340fead8d0def5f86776f7ac747e984f7 |
|
MD5 | 5d4e75bbd4271902d01bb4e8331cdca4 |
|
BLAKE2b-256 | 40fb73370631577ec7edb19ae0aed26f636dde83ddbbbbff741ddff34b00cc23 |
Close
Hashes for cdk_lambda_layer_curl-1.0.151-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a95902a43efefa2f934ed0f2690dc0c86678682babb0f32e22a4f6a99d0ed43b |
|
MD5 | d911e9e7f73160afebbc5d04d48f5370 |
|
BLAKE2b-256 | 7e10164d3a5766049cc57118b8d1bcb3ceefbdc08a5eceeda0704ad1d947aedc |