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.214.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | c322d3b8a6a132966ca20ad2d853447ca0dd494e1b58c7d5eabf7e8f784bbab6 |
|
MD5 | 2c564075718a834ba6ab76b201c7d9b7 |
|
BLAKE2b-256 | baf492d787e4d9e21f73a6761437a72dc954d506e5c4bb935c12b2042ee93d2e |
Close
Hashes for cdk_lambda_layer_curl-1.0.214-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5822f36d8b7acd6fba9721d4c1e15273297ea002d863ca9bc656cb047703fbc3 |
|
MD5 | 390e3291afb71af0cd25eb7fa42bf35c |
|
BLAKE2b-256 | 5ced4939ff2716501c08b2075258d792bc40fb4d00cc0f9a9308d43cbcd55467 |