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.46.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 72a3773e70b65631c16cf482755725e8ec45a19b229d3d4c974480c794abb3ed |
|
MD5 | 004bc12545387699c1793e5343f98d5f |
|
BLAKE2b-256 | 9a0a55db211440bbd2347d6f498cfcbc7d1588a88a670fd6bb947d44ffca4e1a |
Close
Hashes for cdk_lambda_layer_curl-2.0.46-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a45153b117e097440e07a08aaacead1c80a02a442f06e724a0e97a90a9f9eca9 |
|
MD5 | c7167d468b3cd72a520dc0a22618ed52 |
|
BLAKE2b-256 | 8e578bcfb0fb6bdc19af6668e4df802dd35a97f8dbe8713852fcf34f2ab81ed0 |