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.459.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5ba68e40d329b6206cb774e57009f07ec1e6771c3616dcbab30c352457fa42d9 |
|
MD5 | 04ce6e7fdea2e505459241b40cf05367 |
|
BLAKE2b-256 | 6522d51967cd72589e7a0d189dec948662b43a2400d554bed7f6fcda2ae76928 |
Close
Hashes for cdk_lambda_layer_curl-2.0.459-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 32e3bac8d5e170b95e24d5c634997fea676b85913419c1ca382ccf7b5a3b82b5 |
|
MD5 | 4e6ea6b68efd25371a9089f2383ff16c |
|
BLAKE2b-256 | af6e9326562379edc3bc6b64c1f8e8c33d77b443a0e9e58408968509098d21e8 |