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.649.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | db37847727d105e44da73ee778ceede800af626db72e60e6bd99d3bafdd516e0 |
|
MD5 | 38fe5057ea5bf1262fc777749621b702 |
|
BLAKE2b-256 | 8af1411511e4b4cea6e68a84ca7fbf72b77cc85d44c7b9dab35393251102dd27 |
Close
Hashes for cdk_lambda_layer_curl-2.0.649-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | da1e8a41e9f5dbfc633e0e64853b18aa6e628eaa340b27e185d615892ec12290 |
|
MD5 | 51cdc00d06858908774640834ecadf05 |
|
BLAKE2b-256 | 1eb9177c81e440d92d6baec9b8a02066a0db01ae7ee0d5d357a25f7b20619b78 |