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-2.0.11.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5abbb72a6c7c9274cb7ee2a10297146ca5083b7a9c0d7a23fdc70651edf9505e |
|
MD5 | 90db4714a82fd39c7639e7d65c5bb26a |
|
BLAKE2b-256 | 1d81562fb3837cf870c88b765d4c87ad1f6dd50a4c4ab0ac856f2d448a87ab16 |
Close
Hashes for cdk_lambda_layer_curl-2.0.11-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | dcca4e49c61181b89c17152558131beb3f002b2ec75c41edd545de6a6c5a3328 |
|
MD5 | 6de0c826ab3963c72f31a4a117d01aa3 |
|
BLAKE2b-256 | 9990f4c71e0361613850241eda334e9083bc2cec74efc1dd741810ec2e0d6913 |