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.10.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | d87b16c1ad97f5c3c505832e4b520e4bec1eb2f5ff8730af4996765794352d88 |
|
MD5 | 6316a40ccd1459af69da42128d92fbf1 |
|
BLAKE2b-256 | 84d77a1226589228cb2bdefe4434db9fa9a099904904f7f66c8312a8cd2d6603 |
Close
Hashes for cdk_lambda_layer_curl-1.0.10-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0f6e7e8ab113347455de684542933c74b9fc924052c029055d37f265c7e6d67d |
|
MD5 | 09a0bb16b457fb030c5d1a656976a8c7 |
|
BLAKE2b-256 | 2d500c64459965da8627c533c5431eb2a773fe6a6b7d874aec127596c6ab65e3 |