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.486.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 376c69818ce452fd88ce9ad80483302acf7c9a2fddbbf555da933f06c47dd9be |
|
MD5 | 89ec81dae87079015c7e9e20b905935b |
|
BLAKE2b-256 | cb9d9e4dc7471e0f308c7f178aede6b60ab047a09f0053d0b5dc19644bb5ac29 |
Close
Hashes for cdk_lambda_layer_curl-1.0.486-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 994ea6c4ce39a9399704751b59bd26af1e02ecb8e7c68b496b3c276ba55e93b6 |
|
MD5 | eb1cfb1b7841cab8df73e861606162e4 |
|
BLAKE2b-256 | 29f9ac638a307b268696051231e5efaf042c86910e2996730c98f3e93ba88e87 |