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.360.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f61632a7c1321b94858784e09fcde3f25dbc24ec3cd6462028e4ae34ec1fb573 |
|
MD5 | 52c4c05eaa00950268c1696c9b272e1a |
|
BLAKE2b-256 | 79a6005cee9c4127ac53fd4357ed8d419541f0bf6e271315bc6f2706dee65967 |
Close
Hashes for cdk_lambda_layer_curl-2.0.360-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5ac6f403749fe849d07792f761453b698b5a6a60d4e5191b06dac22ef9c339fd |
|
MD5 | ff31daefacfe429535994c4c354ea3d4 |
|
BLAKE2b-256 | 1a0f47fb39c58870e3169ef006e700c581ee6d4589d3a8f5dd0883b73d837441 |