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.264.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 318f3687ebcc58f11d7046a5ea60dae7459202614e20cb06bf0979ad563066f1 |
|
MD5 | 8c1e19e58804b867a23e9d712ea6c4e8 |
|
BLAKE2b-256 | 1f633b11de475cf9887997326e11f5781dda19f7abc7d37c8b050a1cdd4e9df8 |
Close
Hashes for cdk_lambda_layer_curl-1.0.264-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 83e40069706ff27317c3703a000e14aeedfeabc87f9d0ec8eec2ca6ad2ea6ed5 |
|
MD5 | 47195757ec463cf1e2b87ab618181898 |
|
BLAKE2b-256 | 3343d19ef01bfe733fb72d6f49e5e64c0017ff3c10dc1f26dbc204a8fff23af1 |