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.493.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8ef410c8147d78da5eea10a7aba9d82ae0236ff2d54ae7d1935f6219a26bb9fb |
|
MD5 | f34c62f50742014b6cf89c360ad05534 |
|
BLAKE2b-256 | 6c5c61f1ed6451d0d4adccaa7a5a0ab2e6af1698bbcbbb4be188f674dbc46539 |
Close
Hashes for cdk_lambda_layer_curl-1.0.493-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 240370333a052e6acb6162ad34ea4d76c324784942b7096c900022e1e2db02bb |
|
MD5 | 09d72f3565dd308e2c98c937a7b64b9e |
|
BLAKE2b-256 | f1245a839f52665bf0152584bbf22b0e726712679838090a156af0d8bc73135c |