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.273.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | c79e8fe25b8fdc3ee7abcd4545ce440231e4a9fd866397c9ac7d70b1f7ba84a4 |
|
MD5 | 605fc1105fb5ae2f479cb96eef09de48 |
|
BLAKE2b-256 | b1cbe031b0cf609af0b93146a762061798809c0c5cb90d585fb60af4bfe91a30 |
Close
Hashes for cdk_lambda_layer_curl-1.0.273-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f01ee4154099d953aa86e99cf6e9dd985edc7f00cb8b86cc2d24270779733fa3 |
|
MD5 | 00014530e80a8e3f8c5c17057097ffe6 |
|
BLAKE2b-256 | 544c72a84be35807657f6f2e1dd7462c53938089f443e20aeae35f52ad1e4d0f |