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.776.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | e054c9ec13c2f2ba72352c0bb613e8eb9328c58c805fbb66037f6316370e826b |
|
MD5 | 3ec993d1f4eb79c25a2461640ba398df |
|
BLAKE2b-256 | 07996506a3b55dd22e6966b723bd859477a0eb1579f8e7545de123a899ebd9aa |
Close
Hashes for cdk_lambda_layer_curl-1.0.776-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b5954f12f386e5af454edd14cd8c5aa279386c58ef2dae5ccf5b2eb219f8ff2d |
|
MD5 | fa3824ae949725d79bc304b0193bbae7 |
|
BLAKE2b-256 | 783deefec0f57745b07fc34b5698e4686184b365ee3bfdb934f5fa88122e08e4 |