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.90.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3fa64a0f45b6a57f30e179168643e0908bde30d5dc88170ccb586a14be258760 |
|
MD5 | 11b69141e9d99d643600a265c44f0c46 |
|
BLAKE2b-256 | d1a2dde935d4c4b244e95e81243f1e57a304ca54b657f1fcfd4ef083ccf0d3c3 |
Close
Hashes for cdk_lambda_layer_curl-2.0.90-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 12dbeddc86cdf31ee5d660ee23f1ef3fd9da6c2863f166c0315e6b1b01c04c14 |
|
MD5 | 9d328a5cba2cd4a9716035cfc7cd4491 |
|
BLAKE2b-256 | 8e500652b058ca814eb3b60e0a9aae46f3da7683eeb6f1f297b27c065cdd73af |