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.717.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | e682ceb4d5363c4fc25ba17581510f1eef86376c0b745c4e59d7a8daca89386a |
|
MD5 | b638f14d0f6554f1ab1311a2278cfc15 |
|
BLAKE2b-256 | 318515621c14e2f743af106a5d4d376b5acb6ab72d681c6425660bd58685fea1 |
Close
Hashes for cdk_lambda_layer_curl-2.0.717-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d5f24e9733b046963aa09b395789a6f8affc608351c35e20268ccbf0a4188827 |
|
MD5 | 1ed8a210a8628ae71f2acd4d4c59ce1f |
|
BLAKE2b-256 | 61d611b8f257266ed45c61dbf1aae729165d42fc2b74ecfe6fc23900e3df2c0b |