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.570.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4da8cb785e4144861c80f4b882d8afdc7117f7192b60eaec18354454fa864067 |
|
MD5 | 994eedc9fb21dfd6c0485d283559f799 |
|
BLAKE2b-256 | f4dfb23e078a13d1485fe963a595c0a18fc8297652c6a26a9cdaaba1599a58d8 |
Close
Hashes for cdk_lambda_layer_curl-2.0.570-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | eda7918025e478e0e00657d56b8cea4c88af9f8fcc97935e50a24b57b7d4f7ee |
|
MD5 | 0b930da8c71e7ae79137f915f9d2b78c |
|
BLAKE2b-256 | 2a79cf27476023ad65ccc06d885d8d5d1a3f975e7822fb9b1c3e7424ccca8f4f |