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.541.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8dabdb43db4f57454ae913e43367a56a73fdc7c9985dc661945e49d9d207ab3f |
|
MD5 | d972479cbf9fef8c79d5fb50bccced9d |
|
BLAKE2b-256 | 99d4c9d386bfffd4362d67b30aefa376c9513a3705d6e8dcf0f033fa3ade5eb9 |
Close
Hashes for cdk_lambda_layer_curl-1.0.541-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9d1cfc0e6ef5c1c978cff08ad7532efd47476b82bcb8942c17efc97ae90f44ac |
|
MD5 | 5e10faf592cd74ba16cc766724a86548 |
|
BLAKE2b-256 | 2dd88e0b2e08e25a801e4e8441af9e2cc9d9e1f776602ee9e8dccb3a4128f271 |