Well Architected log group

Default Configuration

Retention: One year in Production Removal Policy: Retain in Production

Default Alarms

None

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 WaLogGroup(this, "LogicalId", {});

Custom Configuration

new WaLogGroup(this, "LogicalId", {
retention: 50
});

Compliance

It addresses the following compliance requirements

  1. Log retention and removal policy should be environment dependent
    • Risk Level: Low
    • Compliance: NA
    • Well Architected Pillar: Cost Optimization

Hierarchy

  • LogGroup
    • WaLogGroup

Constructors

Constructors

  • Parameters

    Returns WaLogGroup

Generated using TypeDoc