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.812.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 71618574a1ac7c55028489d4d678f77174f3f59a1ad0bd42037ce70dcf8f6619 |
|
MD5 | cd9253f98ab863d1e42760c5ae46f3eb |
|
BLAKE2b-256 | 7077692304ea3cd29edf1c0a9467ab098ef17b5c03d1855fdd95f5e9419007ae |
Close
Hashes for cdk_lambda_layer_curl-1.0.812-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9d097e9bca6d0ac623026fab8d952c9d20167266f17b9511e8f6b62e8472bd11 |
|
MD5 | ae0953bbd61f0704377ecc9d74a01c2d |
|
BLAKE2b-256 | 50067a8c9543e253acbbd572fe26a81145168625bf34ef42f49afcd83d49823f |