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.555.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | d49582426d3bfd8a769b2b31132ec87b9ef6815294ba1cc8032d0035e10fdd62 |
|
MD5 | dc8a0eafed1221fb3c63aaf155de604d |
|
BLAKE2b-256 | 2bfa90063165824db076e0ff9b338cc3d18991eb6899a7bc2cd1110cfe7f8165 |
Close
Hashes for cdk_lambda_layer_curl-1.0.555-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cf2fa633cd32fb560440530f57f6a700b829d9c9e8968497b4104c99c062140d |
|
MD5 | d89b2b7aa84a712e01b4f26ff4bcec18 |
|
BLAKE2b-256 | c1d892d0128c1ae98004ebf974fe2c9f693e1b030cac9a6e52db59324a3a5673 |