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.140.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 55eed2897bf255a26edb4479d52015f43eb4ed0190cda7a5f669ef33881f58a7 |
|
MD5 | d50329638a9df636b7af05bfe2faeb90 |
|
BLAKE2b-256 | 16060bcf0274f7123697ef7cd3ad8cbaa0cb905d920a38cf41eab5941e38c853 |
Close
Hashes for cdk_lambda_layer_curl-2.0.140-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7dde29c46b0b8f073a2aecad381922bf4a767ac7bedf4d6aee7022a4fffcad61 |
|
MD5 | 774aba7a308ec7e824510a596188bca1 |
|
BLAKE2b-256 | 58e27595b3c4ef8a153e1d7b0cae4200c4de56c9e134bc6b9f4842cd30a483e7 |