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 Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
Close
Hashes for cdk_lambda_layer_curl-1.0.441-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8299f988bb4f3500cbe61aed98a9c4a8d6c54d33c7dd5345046638cfecd18a6f |
|
MD5 | c34ad8057dd997bfa06138b22896cfab |
|
BLAKE2b-256 | 984a14df89a69a562e453cfbbe87d70ab0627e08fb67762465350207c6915a05 |