For lambda layer use curl
Project description
AWS Lambda Layer with curl
Usage:
# Example automatically generated from non-compiling source. May contain errors.
// 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'));
# Example automatically generated from non-compiling source. May contain errors.
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.12.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8c4f0041b569f3e470301096f6e3781da3fe88ad55ceecf6c9600324f1bf3504 |
|
MD5 | db8da1be8632cf2f71aac959011541c1 |
|
BLAKE2b-256 | 5e5eea1939b6a7ad3efb95e3371a2ba74b8cc62e54fc9e51f7d9394b2723af4c |
Close
Hashes for cdk_lambda_layer_curl-1.0.12-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 751cff1cee65a82215ec5ae3bcb68dad51215ff6dd959353824680ded6f58ec6 |
|
MD5 | bbe3d2156109e2b334473d671d8f18a0 |
|
BLAKE2b-256 | 58493d845e77eace905b472c194edc8c14f14e5fa15fa44b7821613e07b4ab0d |