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.613.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 899b9e8285acbdf151c62e2945963e75a4d5f2c938cceab938bd323374faac10 |
|
MD5 | 22106e4880dc3d76f031503afdfec6eb |
|
BLAKE2b-256 | c24f953e4615d4c56e7c1235f2d275b82a0757c2fd51d1d31d288871e87e6220 |
Close
Hashes for cdk_lambda_layer_curl-2.0.613-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 48d99bfcdaacfc13788fb826d77b9ec003b935a6dc8d4e9ff587d679c397689e |
|
MD5 | c9247c0e86943673e642b14cd3726463 |
|
BLAKE2b-256 | f58b468afb87e4e4f613c7c05e503ea7d6bef07e473ea5a80017b5bfa4824061 |