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.682.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 09f6a46140372376ad719819e79fa03e45a09a90dd48f1498850613a2da093b2 |
|
MD5 | d9c9ea4b29325e3c1a4b2f325e8c5cb8 |
|
BLAKE2b-256 | 53d1034b8485aeeebca8ac129032dab8b69de7918094a0887c457508a7b55948 |
Close
Hashes for cdk_lambda_layer_curl-1.0.682-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 62a6a1353324c5025ec418b09a891aea1dadc3983cfc09e1ed01c9fdc2431283 |
|
MD5 | 293aa38633c9b16327bdb4bbb4fc8cd5 |
|
BLAKE2b-256 | 193fd8424b9000f4de15d853e13dda3bb9f6427bac6f71e25750c41ca306b405 |