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.426.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 71d297323c299a3e7153e2626f74ae04cdfe975b38b5fcf808ff15a0d32ea687 |
|
MD5 | b4ab9a5fe6859e484dfcfef897fa365e |
|
BLAKE2b-256 | 3cd99d655ff61b9fa70e20a04395533d426271af8750e4319c0c2ed6a2a94645 |
Close
Hashes for cdk_lambda_layer_curl-2.0.426-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2f5536ff0285a0e74c7361e1f415d8fe893b608f6a84f1f3912cbff3f7e5fcd4 |
|
MD5 | 0c3caa09062938fcc0b81c6efcc15b2b |
|
BLAKE2b-256 | 3f98895bdd5b25a97fac91a8720449afee3cb312e1881250bbab8f7a0dc396fc |