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.392.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | fd222af9cf52c1ce81d5ab01e46d1c4b8de689ee9a376fda8e5a20637094b59d |
|
MD5 | 68456be7ac9dec61d2cf6c1bdb4d96e1 |
|
BLAKE2b-256 | 3329f64d97e556460b1cd3851c4a78603fee2fa978201642d9dbf96cbe1d98fb |
Close
Hashes for cdk_lambda_layer_curl-1.0.392-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 040e72918233f4e687941c42d3850cc3cb9e52fc86d516b267050c1f5ce16b08 |
|
MD5 | 265d19a5136c2267a2507f286791027f |
|
BLAKE2b-256 | 3c79644a52481d6e4a7ff18d95877ac62fb9f15da8b9494f47f4d8f262852360 |