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.163.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 99ce3aab7e22950f3cb8b3ffd88f091bf316efb6e34fe6c4129e06be5e90a13c |
|
MD5 | cbdb057ed1b77d6150fc249d4b4c1bab |
|
BLAKE2b-256 | 09836817464b8b6cf2f482517c5e27b1429df9f093d46630ed82b5b48a3c0b1b |
Close
Hashes for cdk_lambda_layer_curl-1.0.163-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 057859e29581f4dd849c212e8a895ce045c0c00ca166d1f260a5403419738b33 |
|
MD5 | a0ab6c25c09fc1de731199103f5d3a2c |
|
BLAKE2b-256 | 3e5f95ce118f37aadeddc1e8db25b140b267b764435406a542376cda2d3ecc51 |