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.546.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3b8f7795fb2a416d4ff3f3458f6633d21485cf173ac563632a79709e73379968 |
|
MD5 | 023c1bbee085e518f48c1ecfb9f614a6 |
|
BLAKE2b-256 | 1e89aec1ddec4dcbb5f6ee78740eb14d7d1dd3c455343c5778610f8d514dfe54 |
Close
Hashes for cdk_lambda_layer_curl-1.0.546-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5907e5770a1ce70e199be0bed8097bdc73c2d964dd3f7fbe225e471511f71daf |
|
MD5 | 39c2de19bf16e3ee403dfacdfa714f75 |
|
BLAKE2b-256 | ecc3faef49966fd0e996ef6458236b626cd24d8b549829459ae80c2a7ec74a33 |