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.457.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 240a7b5abdf626d1e50df933d9327058eee3572474e128e116d29a5ca49fdcd7 |
|
MD5 | 24a49c5d0527d7510caa32a4c23faece |
|
BLAKE2b-256 | 1ee2b7d028e274ac36b0e5c3dff41dd36f7c44b15cc58a91267472433ccf38bf |
Close
Hashes for cdk_lambda_layer_curl-1.0.457-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7e987422c06acef4dd302c171c99ad98cfa60d5ae417694b846a203930ed5177 |
|
MD5 | 0658e12eca26a0bf3cccd27c2765a80b |
|
BLAKE2b-256 | 34d9f44e94f9462d6fc9a16488491699d76ada5a2a64b67f7ed15a4e88a3bd65 |