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.165.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 58355b15ef63d4cc1f70511c5e4e6d48e1236c2d52cf3ae6abdce7372244efa0 |
|
MD5 | 65826c772bf37ee30e496f4755ed4f55 |
|
BLAKE2b-256 | 32a7eca25461e5f0882aebcd0eb427178d750c4bbdf3a58b44d46d2c2355424e |
Close
Hashes for cdk_lambda_layer_curl-1.0.165-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d31700ccc0902f31751f721b069aedfb36a73ac2e44a81fb334ed08b50d4b5eb |
|
MD5 | cec3a729d6cdbeb8b9ac1d345e331e8c |
|
BLAKE2b-256 | 7acd06f3bc597b222dbf5e08c38d2711f926a3cbc66a5fa1d50a04fb05b05fc5 |