Well Architected Lambda Function,

Default Configuration

Tracing: Enabled Removal Policy: Destroy in Production

Default Alarms

  1. Error Alarm
    • Risk Level: Medium
    • Well Architected Pillar: Performance, Operational Excellence

Note that the default alarm uses the WaAlarm construct, which sets up an alarm action to notify the SNS Topic AlarmEventsTopic by default.

Examples

Default Usage

new WaFunction(this, "LogicalId", {});

Custom Configuration

new WaFunction(this, "LogicalId", {
tracing: Tracing.ACTIVE
});

Compliance

It addresses the following compliance requirements

  1. Enable dead letter queue
    • Risk Level: Low
    • Compliance: NA
    • Well Architected Pillar: Operational Excellence
  2. Enable tracing
    • Risk Level: Medium
    • Compliance: NIST4
    • Well Architected Pillar: Operational Excellence

Hierarchy

  • PythonFunction
    • WaPythonFunction

Constructors

Properties

Methods

Constructors

Properties

alarms: Alarms = ...

All the default alarms configured for the Well Architected Lambda Function. You can add more alarms or delete default alarms from this Alarms object

Methods

  • Returns void

  • Parameters

    Returns undefined | IQueue

Generated using TypeDoc