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.191.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6f730d32a8109b539603a9bf374754983fb1325af036fd00431b38cfb8986eee |
|
MD5 | 979cf0d629a75fffde774762a63d93ab |
|
BLAKE2b-256 | 3012ecc2c1d7511391015117609e4b8dca2a42c198242a943fe30ec4de665697 |
Close
Hashes for cdk_lambda_layer_curl-1.0.191-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 73e4d8e4e63a4ddd6c8aba6e187f087e8bdcfb37f10ef5d979f776ce79bedc09 |
|
MD5 | 9d25a35a6f6c2fbc5b7538c034cded88 |
|
BLAKE2b-256 | 6c3407d8ad7fcc71d93378686d03a18df6eb2166f98af8760c77d1ce861dcf7d |