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.498.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8aa2db6a092774cf466fcf775bc3a99e97940e6238806e79267348c8596e4077 |
|
MD5 | df089325606b73d8c3ae032c2dbbe664 |
|
BLAKE2b-256 | 7bfffffa185eb19c77e512bea08dad9b2831598d5840a130bd82850bc6aee6c3 |
Close
Hashes for cdk_lambda_layer_curl-2.0.498-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 295143f55590ce03d27807f706c12e009eb27f4c294a77b1da49cab1caa65d66 |
|
MD5 | 3850e33d6eb4ce003ae6d9101e27d886 |
|
BLAKE2b-256 | 5eb08b221d2dd34e7eeab40339827d8648bf8aef680356be597d6c361d688acf |