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.110.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1b2676dd705971249ef619754735427c56fcea89d8f29085ed2679584f6f5d6d |
|
MD5 | 497f7ebf86feb19aca598ea3bdc6f7a0 |
|
BLAKE2b-256 | 8efaf93a30ce4989f9f6f18b4efec3b5fa65fd8000cb3e9835d26f0349335e2a |
Close
Hashes for cdk_lambda_layer_curl-1.0.110-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b5784398661e05b3103b1a120dc82a8d1ddc3e32b63687b60885a1845d282753 |
|
MD5 | 029ee9ca159f145c946072b8b341a130 |
|
BLAKE2b-256 | 437dc185e6ce691af2b7d053e3813279e8c234c174473c3854016a6d0c235e41 |