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.553.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | ac482b8caa6f1f7c8908d59124a6d0efc91a932a88cccbfb0e3b2d86b1920e89 |
|
MD5 | 24da9184bf16cc4a5e4fdf5de613773f |
|
BLAKE2b-256 | 14a65577cc438b83241f26ca7b8c0b38775324f31c9b558119e3817e7657d409 |
Close
Hashes for cdk_lambda_layer_curl-2.0.553-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 74e737c594f96d5dd7d863103149e37f9e98c9b5be93375a8106a632c4c14282 |
|
MD5 | 97fd58ab8d0a76e4112de1ca38326cbc |
|
BLAKE2b-256 | 32d64ac7020d6d241a8547c3feda07c3cd1f7d5a5d6b7a5d1e5c0f7965bdb822 |