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.310.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | fa07d172cf23c34333964f842baf460e52108551e265e061fff7c0816a3649e8 |
|
MD5 | 102bfd2a8da6c294500e683364ec8595 |
|
BLAKE2b-256 | f4340248bd93c2241d920a0073453dd2acf30bf9eca2bcf75a640fbb5c305223 |
Close
Hashes for cdk_lambda_layer_curl-1.0.310-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5c03d5212721dc0731b66d0ef0f2367147e6841881bbaa700682461f48b1207a |
|
MD5 | 76aec26106062cb9edb90c54d6c8eb14 |
|
BLAKE2b-256 | c485a4234990db7ec0541a24c83a25cb0610e8c6f6d61ac6210c95b4a9fcf5bf |