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.304.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2a2a88e27e55bb7b56957a6a9824a66a1b574607f48c0b551b7addecd136af0b |
|
MD5 | 49eddf2cc872c11eba20e5effe58b1f4 |
|
BLAKE2b-256 | 464144a5346ff8aeb96a5518e4832d7192e256777cbe4fc003c676c4eee75c2d |
Close
Hashes for cdk_lambda_layer_curl-1.0.304-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 16408669b871919884e2d11d09db17c298ce5155c07d6715b82a8888730d79a7 |
|
MD5 | a7223bfae391d6000523b970672e9d07 |
|
BLAKE2b-256 | f6f1b5ece12dec78ff07d5d45b7a563eea19b5daaa01ef2f9076cc42f890edc2 |