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.503.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | bec699203969d470f5491c6ea9d24fc481e3bab611f4072d83c84cc4e44d40ef |
|
MD5 | 03e6dd24629d78b3478ab9cd47981f27 |
|
BLAKE2b-256 | a8f0a73247a976d0f2b5f38813fca2d62611ee29d94d060f6ee326257a0e5cab |
Close
Hashes for cdk_lambda_layer_curl-2.0.503-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b407115d0c926415a0a2c1840120a3ccaf0f6a5b4fc3a5254450282ba379fb60 |
|
MD5 | ac4ea16ece0020b2acc8dc3d72fd0a5c |
|
BLAKE2b-256 | ba5bf9f1b21ee1d3d47073e8e9bb376ca27e2074a1352e3987fc6c7b9f83d889 |