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-2.0.104.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4a1c5399b6e833c345ddb70b6e170e27c48e675aaec160e974a1fb02391bd867 |
|
MD5 | 8a73394ab9c4895d0d67de1c8a5f32b7 |
|
BLAKE2b-256 | bc330a6131f06940f828fbf910b4be7fc8b9f892e85c443a9844214936ac2bbb |
Close
Hashes for cdk_lambda_layer_curl-2.0.104-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 019a13b66b5791649dbd9da57180996f229d7b7a3bcd79f68dbe46e8b57da055 |
|
MD5 | 252729a0febeff169d119ea95309f89f |
|
BLAKE2b-256 | d9d8ca63643b599af3f66a4375c72cdc872c703f2541e4a18c8bd89c58fa5645 |