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.44.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0afefe13b3eb5d8c3917afa00ec7531eb3fa639045aa5d58dbfe8a840f923865 |
|
MD5 | 228bfd83efa357cf06b7ca9c1e8594a6 |
|
BLAKE2b-256 | 4ce561b3316c200a1f5db2cb13bd400df80dc4ef689c8402c41fd1ec96e591c5 |
Close
Hashes for cdk_lambda_layer_curl-1.0.44-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a69f4ade9f423f887479c2cca4245bec4ebfe7df5fb2dfd1477545d79067c862 |
|
MD5 | 96a9b0ea97b519405cead10636abb98a |
|
BLAKE2b-256 | a46f227b2312d40e001f94ac0f2be2286404b20f86a8da1c5ebd82d3fbddf1ea |