CloudKitect Log Group component

Default Configuration

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

Default Alarms

None

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

Examples

Default Usage

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

Custom Configuration

new CcLogGroup(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
    • CcLogGroup

Constructors

Constructors

  • Parameters

    Returns CcLogGroup

Generated using TypeDoc