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.579.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0edd295181a62310903aedd9ce5976bc139274fb3cd1f553a3119004de787c3d |
|
MD5 | e3ad44b23c7d0d0987e0baaddbeb1d44 |
|
BLAKE2b-256 | 5f92e5c21befd1b94063cec49a2c7661fabb0fc5866f8fcdedf4a202aa563057 |
Close
Hashes for cdk_lambda_layer_curl-2.0.579-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e7e23d44ff06b456e681526efd455de2dc229ee5702d57416dacf3b5fbc6658d |
|
MD5 | 302cba356c763761f36240160eebd800 |
|
BLAKE2b-256 | 7ac3fb5328704c232f022b790dfadf9e454fc9316e9ffd492a22e88138e09fd5 |